A smart contract offering a simple solution for crowdfunding an off chain idea.
Hi, this is a boilerplate project with a demo app inside it that fetches trough an oracle the exchange rate between the RON and USD, it's made to help you understand how you could bring external data into the blockchain.
Inside you will find a truffle project and a modex.ini file that will help analyze the code that you are writing
Install truffle and the ethereumjs-testrpc:
npm install -g truffle ethereumjs-testrpc
Install the dependencies required:
npm install
Start the test net:
testrpc
Compile the project:
truffle compile
Migrate the oracle:
truffle migrate
Start the oracle:
node oracle.js
Run the client(in this case you would want to start more than one instance)
node client.js
- 0.0.1
- Initial commit
- Fork it (https://github.com/yourname/yourproject/fork)
- Create your feature branch (
git checkout -b feature/fooBar
) - Commit your changes (
git commit -am 'Add some fooBar'
) - Push to the branch (
git push origin feature/fooBar
) - Create a new Pull Request