jasonrhaas / smart_contracts

Push Open Source Forward.

Home Page:https://gitcoin.co

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Gitcoin

Gitcoin pushes Open Source Forward. Learn more at https://gitcoin.co

Star and watch this github repository to stay up to date, we're pushing new code several times per week!

Smart Contracts

What

This is the repo that comprises the constellation of smart contracts in the Gitcoin ecosystem.

Specification

Please see https://gitcoin.co/whitepaper for the full specification of these smart contracts.

Dogfooded by Gitcoin Bounties.

Check out the issues board or the Gitcoin Bounty Explorer to see the bounties posted against this repo.

To Run

  1. Clone locally, cd into the repo.
  2. Copy mnemonic.js.dist to mnemonic.js, and replace the mnemonic in this file with a real one. This post covers how to do that
  3. Install dependencies with npm npm install
  4. Install zeppelin-solidity npm install -g zeppelin-solidity
  5. Start testrpc with bash scripts/testrpc.bash
  6. To deploy the contracts locally on testrpc, you can run bash scripts/prepTestRPC.bash.
  7. The Bounty contract will be live on testrpc @ 0x0ed0c2a859e9e576cdff840c51d29b6f8a405bdd.
  8. Run tests with truffle test.

Testrpc Docker service

Run testrpc in docker container docker-compose up -d

Deployed

BountyIndex

GitcoinToken

Legal

''' Copyright (C) 2017 Gitcoin Core

This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as published
by the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU Affero General Public License for more details.

You should have received a copy of the GNU Affero General Public License
along with this program.  If not, see <http://www.gnu.org/licenses/>.

'''

About

Push Open Source Forward.

https://gitcoin.co


Languages

Language:JavaScript 94.6%Language:Shell 4.8%Language:Python 0.6%