Giter Site home page Giter Site logo

nikitavr / contrak Goto Github PK

View Code? Open in Web Editor NEW
5.0 5.0 0.0 11.84 MB

Contrak helps developer teams track and prove ownership of their smart contracts

Home Page: https://contrak.xyz

JavaScript 1.50% Batchfile 0.09% TypeScript 96.32% CSS 2.09%
developer-tools smart-contract

contrak's People

Contributors

nikitavr avatar umar-ahmed avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

contrak's Issues

For the commit hash linked to a deployment on Contrak, how do we make sure that points to the actual source code that was deployed?

Currently, we don't guarantee that. It's similar to how tools like Sentry work in that we just read the data from Git when the command is run. I am interested in providing more useful guarantees around this though. Just not clear what the ideal implementation is.

Some suggestions from Telegram group:

  1. Put bytecode hash in release tag and push tags to github

Hey one thing that I do is make a release tag on GitHub for the specific deployment commit. You can then point to that release tag as what's been deployed, and if you want to take it further you can hash the byte code and put that in the release tag. Ppl can then verify the bytecode deployed by hashing it and comparing themselves

  1. Use commit hash to clone and compile source code and compare bytecode to what's on-chain for the linked contract address

maybe a tool which does "git checkout deployment commit hash" + compilation + a match of the bytecode against what is deployed on-chain could work

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.