open-bounty/contracts/README.md

1.2 KiB

OpenBounty Contracts

This directory contains all the underlying smart contracts used by the OpenBounty platform.

  • A script contracts/build.sh is part of this repository and can be used to compile the contracts and copy Java interfaces into src/java/.

In order to run the script the following dependencies have to be met:

solc

Solidity compiler 0.4.15 is required and needs to be in $PATH. Detailed installation instructions for various platforms can be found in the official Solidity documentation.

brew install https://raw.githubusercontent.com/ethereum/homebrew-ethereum/de1da16f7972a899fc8dd1f3f04299eced6f4312/solidity.rb
brew pin solidity

web3j

Web3j 2.3.0 is required and the command line tools need to be in $PATH. Installation instructions for the command line tools can be found in the Web3j Command Line Tools documentation.

brew install https://raw.githubusercontent.com/web3j/homebrew-web3j/881cf369b551a5f2557bd8fb02fa8b7b970256ca/web3j.rb
brew pin web3j