Dapp Guide

Introduction

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.

Prerequisites

  1. A complete understanding of the Oracle-Supporter interaction Setup and run your Oracle on a server.

  2. Know the RSK address (0x...) and internet address of your Oracle (http://:5556).

  3. Install Metamask in your browser.

1) Login and Setup

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:

Testnet

  • Network name: RSKTestnet

  • New RPC URL: https://public-node.testnet.rsk.co

  • ChainId: 31

Mainnet

  • 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

2) Staking (Allow->Deposit)

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.

3) Registration (Register->Subscribe)

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.

4) Edit your Oracle's configuration

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.

5) Subscribe to and unsubscribe from Coin Pairs

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.

Last updated