A weather futures trading platform on the Ethereum blockchain using a Chainlink Oracle (Honeycomb)
-
Sign up to the Honeycomb marketplace to access the job listings
-
Install npm
-
Install truffle globally using:
npm install -g truffle
-
Install the Metamask add-on to your browser and create a wallet. Note down the mnemonics. Fund it with Ropsten ETH and Ropsten LINK.
-
Create an Infura account, get an endpoint URL for the Ropsten testnet and note it down.
-
(Optional) Install Visual Studio Code
-
Clone this repo
-
Install the dependencies:
npm install
- Create the file that you are going to enter your Infura credentials:
cp wallet.json.example wallet.json
-
Open the newly created
wallet.jsonfile and enter the mnemonics and the endpoint URL you have noted down earlier, similar towallet.json.example. -
Deploy the contract (Ropsten LINK will be transferred from your wallet to the contract automatically during deployment)
npm run deploy-ropsten
- Run the test script
npm run test-ropsten