Skip to content

Commit

Permalink
Add default metadata tables
Browse files Browse the repository at this point in the history
  • Loading branch information
dangeross committed Jan 24, 2025
1 parent 396f1c5 commit faff528
Showing 1 changed file with 14 additions and 1 deletion.
15 changes: 14 additions & 1 deletion src/guide/assets.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Handling multiple assets

The Liquid sidechain can also be used to send and receive other assets registered on the Liquid Network. Using the SDK you can send and receive these assets by using a Liquid payment with an additional asset ID. By default the SDK includes the metadata for L-BTC and Tether USD. To include addition asset metadata, see [Adding asset metadata](#adding-asset-metadata).
The Liquid sidechain can also be used to send and receive other assets registered on the Liquid Network. Using the SDK you can send and receive these assets by using a Liquid payment with an additional asset ID. By default the SDK includes the metadata for [L-BTC and Tether USD](#default-asset-metadata). To include addition asset metadata, see [Adding asset metadata](#adding-asset-metadata).

## Adding asset metadata <a class="tag" target="_blank" href="https://breez.github.io/breez-sdk-liquid/breez_sdk_liquid/model/struct.Config.html#structfield.asset_metadata">API docs</a>

Expand Down Expand Up @@ -73,6 +73,19 @@ You can find the asset metadata for other assets in the Mainnet [Liquid Asset Re
</section>
</custom-tabs>

### Default asset metadata
#### Mainnet
| Name | Ticker | Asset ID | Precision |
| --- | --- | --- | --- |
| Bitcoin | BTC | 6f0279e9ed041c3d710a9f57d0c02928416460c4b722ae3457a11eec381c526d | 8 |
| Tether USD | USDt | ce091c998b83c78bb71a632313ba3760f1763d9cfcffae02258ffa9865a37bd2 | 8 |

#### Testnet
| Name | Ticker | Asset ID | Precision |
| --- | --- | --- | --- |
| Testnet Bitcoin | BTC | 144c654344aa716d6f3abcc1ca90e5641e4e2a7f633bc09fe3baf64585819a49 | 8 |
| Testnet Tether USD | USDt | b612eb46313a2cd6ebabd8b7a8eed5696e29898b87a43bff41c94f51acef9d73 | 8 |

## Fetching the asset balances <a class="tag" target="_blank" href="https://breez.github.io/breez-sdk-liquid/breez_sdk_liquid/sdk/struct.LiquidSdk.html#method.get_info">API docs</a>

Once connected, the asset balances can be retreived.
Expand Down

0 comments on commit faff528

Please sign in to comment.