ntryplatform / ntry-backend Goto Github PK
View Code? Open in Web Editor NEWThis repo contains the code for ntry-app
This repo contains the code for ntry-app
Please make a function that receive data and send it to Notary contract after signing with an private key. You can use a simple contract for this scenario. Aim is to sign the transaction and send to blockchain.
User is unable to search contacts
Append address of mapper contract in verification email description so that use know to which address signed message should be sent.
If event listen missed registration event then we have to check explicitly if uuid is verified
Endpoint: /user/search
Search shouldn't return the logged-in user.
Probably only in case of error, but need to confirm and fix this ASAP.
User can have two type of roles in contracts, Seller or Buyer. Modify the endpoint to return separate list for both roles.
handlers.go
like CreateUser(..) so please review all of them and check if request is being handled correctly and securely.{"level":"error","ts":1507329515.833252,"caller":"ntry-backend/handlers.go:484","msg":"[handler ] Can't write contract to the blockchain! cid: 1507329291,","serverID":"76740fcb-01df-4c06-bd85-0773877ba643","stacktrace":"github.com/NTRYPlatform/ntry-backend.SubmitCarContract.func1.1\n\t/home/someone/workspaces/golang/src/github.com/NTRYPlatform/ntry-backend/handlers.go:484\nnet/http.HandlerFunc.ServeHTTP\n\t/usr/local/go/src/net/http/server.go:1726\ngithub.com/NTRYPlatform/ntry-backend.ValidateTokenMiddleware.func1.1\n\t/home/someone/workspaces/golang/src/github.com/NTRYPlatform/ntry-backend/handlers.go:876\nnet/http.HandlerFunc.ServeHTTP\n\t/usr/local/go/src/net/http/server.go:1726\ngithub.com/NTRYPlatform/ntry-backend.Logging.func1.1\n\t/home/someone/workspaces/golang/src/github.com/NTRYPlatform/ntry-backend/handlers.go:49\nnet/http.HandlerFunc.ServeHTTP\n\t/usr/local/go/src/net/http/server.go:1726\ngithub.com/gorilla/mux.(*Router).ServeHTTP\n\t/home/someone/workspaces/golang/src/github.com/gorilla/mux/mux.go:114\nnet/http.serverHandler.ServeHTTP\n\t/usr/local/go/src/net/http/server.go:2202\nnet/http.(*conn).serve\n\t/usr/local/go/src/net/http/server.go:1579"}
Table 1: UserContacts
Table 2: CarContracts
Expected fields:
If user is trying to login without verifying account , server must send unique status code.
Move this to eth package and make pipeline across channels to link web socket so that will send push notifications on every new event from mapper contract.
SubscribeFilterLogs
subscribes successfully even if the address provided doesn't actually have a contract deployed on it. Need to implement a check so it only subscribes successfully when there is a contract on the given address.
profile picture
Country
State
City
Self explanatory.
App is throwing invalid login in error on valid credentials
Implement OK method on every composite type like User
, UserLogin
that will define acceptable parameters for its member.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.