Dapp Guide
Last updated
Last updated
The intention of this document is to guide the user on how to interact with the dapp. For this reason, we assume that the reader has a knowledge of how the decentralized oracle system and its supporters work in general.
A complete understanding of the Oracle-Supporter interaction Setup and run your Oracle on a server.
Know the RSK address (0x...) and internet address of your Oracle (http://:5556).
Install Metamask in your browser.
1.A) Add RSK-Network to Metamask and select that network.
Go to Network's menu, select Custom RPC and config the network with the following values and save:
Network name: RSKTestnet
New RPC URL: https://public-node.testnet.rsk.co
ChainId: 31
Network name: RSK Mainnet
New RPC URL: https://public-node.rsk.co
ChainId: 30
Remember that for the following steps you will need some amount of RBTC to pay for the transactions to be made in the dapp.
1.C) Enter the dapp and connect your metamask account.
1.D) Select the address with which you are connected
To be able to subscribe your Oracle to coin pairs and participate in the rounds, you need to deposit a minimum amount of stake in the system. In order to do that, first you will need to have tokens or get them from the MoC foundation. Then go to the Staking page -> Deposit tab and allow the system to access your MoCToken. After that you can make the Deposit of the tokens.
To register your Oracle, you need to go to the Oracles tab -> Operation section. Then, you will have to enter the Oracle address and the network address. In the same section, you will be able to change the Oracle address, change the network address and remove the Oracle.
In the section of the previous step you will be able to edit or remove your Oracle. If you chose to edit your Oracle, you can change the address and the network address.
In order for your Oracle to participate in the coin pairs' rounds, you will need to subscribe to each coin pair. In the CoinPairs section, you will have to open the coin pair of your choice and click Subscribe.