Git Product home page Git Product logo

kudos721contract's Introduction

Kudos Contract

This contract is deployed to the mainnet at 0x2aea4add166ebf38b63d09a75de1a7b94aa24163 and on rinkeby at 0x4077aE95EeC529D924571d00e81ECdE104601AE8

Here is a link to the security audit which was performed by ZKLabs before launch..

Getting started

First you need to install all of the requirements to run truffle and a local testrpc.

  • npm install -g truffle ganache-cli to install Truffle and Ganache-cli.
  • npm install to install npm requirements.

Truffle will use the "development" network by default. This assumes that you are running a testrpc on localhost at port 8545.

Running the tests

  • truffle test --network test

Developing on Gitcoin Web

The source repository (in development) is here -- https://github.com/mbeacom/kudos.

Kudos relies on the blockchain to mint the tokens. After each token is minted, the data in sycn'ed to the database. The Gitcoin docker-compose.yml file runs an instance of the testrpc, which is your local blockchain.

Once the docker-compose environment and testrpc is up, you can deploy the contract code. If you run docker-compose logs -f testrpc while you deploy the contract, you can see the Contract address in the debug output.

  • truffle migrate --reset --build-all to build and deploy the Kudos.sol contract.

Developing on the Test App (Deprecated)

To run the blockchain and app locally:

  • In a separate window, run ganache-cli. It should now be running locally on port 8545.
  • truffle migrate --reset --build-all to build and deploy the Kudos.sol contract.
  • npm run dev to start up the web server. The app should be running locally on port 300.
  • Copy the (0) private key and import it into Meta Mask in your browser. This is the default account that Tokens will be minted to. You should have around ~97 ETH to play with.

See also

kudosbadges Repo

Using the Test App (Deprecated)

kudos721contract's People

Contributors

baumstern avatar jasonrhaas avatar owocki avatar

Watchers

 avatar  avatar

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.