Skip to content

Instantly share code, notes, and snippets.

@nubis
nubis / gist:adf64bde177fdb0cadc53237cf8599f2
Created May 21, 2026 17:34
Money on chain - Price oracle sources usage
# 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
<!-- 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>
#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",