Skip to content

Commit b6f5402

Browse files
committed
docs(fassets): add reusable library tip for FXRP Asset Manager address retrieval
1 parent 1998c0f commit b6f5402

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

docs/fassets/developer-guides/1-fassets-get-asset-amanager-address-registry.mdx

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,13 @@ To get the [FAssets asset manager](/fassets/reference/IAssetManager) address, yo
5151

5252
You can find out this sample code in the [Flare starter kit](/network/guides/hardhat-foundry-starter-kit).
5353

54+
:::tip Reusable Library
55+
56+
To reuse this code to get the FXRP Asset Manager address in other smart contracts, you can wrap it in a reusable library.
57+
This is useful if you want to use the FXRP Asset Manager address in multiple smart contracts and avoid repeating the same code.
58+
59+
:::
60+
5461
## Next Steps
5562

5663
In this guide, you learned how to get the FXRP Asset Manager address for the FAssets system by interacting with the `AssetManager` contract using the [`IAssetManager`](/fassets/reference/IAssetManager) interface.

0 commit comments

Comments
 (0)