Code Monkey home page Code Monkey logo

ntry-backend's People

Contributors

furusiyya avatar yghazi avatar

Watchers

 avatar  avatar  avatar

ntry-backend's Issues

Transaction sending

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.

Where user will send signed key?

Append address of mapper contract in verification email description so that use know to which address signed message should be sent.

Error on create contract

{"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"}

Database tables for car contract and user contacts

Table 1: UserContacts

Table 2: CarContracts
Expected fields:

  • Buyer (uuid) - Seller (uuid)
  • Year - Make
  • Model - VIN
  • Type of Vehicle - Color of Vehicle
  • Engine Number (optional)
  • Mileage - Purchase Price
  • Down payment - Remaining
  • RemainingPayDate

Reference

Need to implement a check on eth logs subscriber

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.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.