This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Money On Chain Price Sources on Rootstock | |
| This document summarizes the recommended on-chain price sources for Money On Chain users and integrators interested in `DOC` and `BPRO` prices on Rootstock. | |
| All the contracts referenced below are verified on Blockscout. Readers should use the Blockscout links to inspect the verified source code and interact with each contract. | |
| Money On Chain documentation often uses `BTC` and `RBTC` interchangeably at the economic level. On Rootstock, the on-chain collateral asset is `RBTC`. | |
| ## Table of contents |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <!-- Google tag (gtag.js) --> | |
| <script async src="https://www.googletagmanager.com/gtag/js?id=AW-10988369870"></script> | |
| <script> | |
| window.dataLayer = window.dataLayer || []; | |
| function gtag(){dataLayer.push(arguments);} | |
| gtag('js', new Date()); | |
| gtag('config', 'AW-10988369870'); | |
| </script> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #Bitex Sandbox | |
| #HOST_URI = "https://sandbox.bitex.la/" | |
| #TOKEN = "YOUR_TOKEN" #STAGING | |
| #API_PATH = "/api" | |
| def main | |
| puts "Creating and fetching Users. A natural_person and a legal_entity." | |
| natural_person, legal_entity = 2.times.map do | |
| create_and_update("/users", |