Colony SDK browser demo - local deployment - make a payment in the MetaColony and check the user's reputation

First make sure that the Colony contracts are deployed locally and the Reputation Oracle is set up.

We'll be using wallet address 0xb77D57F4959eAfA0339424b83FcFaf9c15407461 to connect to the locally deployed MetaColony. This address was used to deploy the MetaColony locally and is the "owner" of it. Any transaction will automatically be signed as we have the private key hardcoded. No connection to MetaMask is needed.

1) Let's connect to the ColonyNetwork first Paste in the address from the `etherrouter-address.json` in the `colonyNetwork` directory

2) Then, we mint some CLNY and fund the MetaColony with it (make it at least 10!)

3) Next, we pay someone for a task in the MetaColony's root team (in the MetaColony's native token CLNY - that's important!)

4) Jump forward in time - Reputation is awarded in cycles. In our case it's set to 1 hour. As we have full control over our local blockchain, Ganache allows us to travel to the future! Fasten your seatbelts, here we

Instructions:

Note: We're using Ganache's evm_increaseTime and evm_mine methods to first increase the block time artificially by one hour and then force a block to mine. This will trigger the local reputation oracle/miner to award the pending reputation. We have to do that twice, if the reputation oracle was just started for the first time.

5) Ask the oracle for the user's reputation

Message