Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 10 additions & 4 deletions docs/Products/VerifiedAssetOracle/routers.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,14 +13,20 @@ Every Proof of Asset oracle ([uScribe](../../Intro/Scribe/uScribe.md)) has an as
## Integrating Proof of Asset Oracles and Their Associated Router

:::important
When integrating a Proof of Asset Oracle, your smart contract address will be whitelisted on the associated Router. **Make sure to integrate the Router address — not the oracle address directly — into your smart contract.**
When integrating a Proof of Asset Oracle, your smart contract address will be whitelisted on the associated Router. **Make sure to integrate the Router address — not the oracle address directly — into your smart contract.**
:::

To read data from a Proof of Asset oracle via its router, call the same read functions you would on a uScribe oracle. No additional configuration is required.
To read data from a Proof of Asset oracle via its router, call the same read functions you would on a uScribe oracle. No additional configuration is required. For more details on available read functions, refer to the [uScribe documentation](../../Intro/Scribe/uScribe.md).

If you are building a new integration, always use the router address rather than the uScribe oracle address directly.
You can get the address of the Router for a given Proof of Asset Oracle via the [Proof of Asset Dashboard](https://chroniclelabs.org/dashboard/proofofassets). You will find the address of the associated `Router Contract` and of the `Consumer Contract` in the `Oracle Contracts` view as seen in the image below:

<div style={{textAlign: 'center'}}>
<img
src="../../img/Products/VAO/router.png"
alt="Router Contract view"
/>
</div>

For more details on available read functions, refer to the [uScribe documentation](../../Intro/Scribe/uScribe.md).

## How Routers Work

Expand Down