---
title: Get FXRP Asset Manager Address
tags: [intermediate, fassets]
slug: fassets-asset-manager-address-contracts-registry
description: Get FXRP asset manager address from registry
keywords: [fassets, flare-network, fxrp, asset-manager]
sidebar_position: 1
---

import ExploringAdditionalParameters from "./_exploring-additional-parameters.mdx";

## Overview

When building on the Flare Network, it is important to **avoid hardcoding contract addresses**, especially for key components such as the FXRP Asset Manager.
These addresses can change between Flare testnets and mainnet deployments, and relying on fixed values can lead to broken integrations.

Instead, you should dynamically fetch the FXRP Asset Manager address using the [Flare Contract Registry](/network/guides/flare-contracts-registry), the trusted source for obtaining contract addresses on any Flare network.

## Get the FXRP Asset Manager Address

To get the [FAssets asset manager](/fassets/reference/IAssetManager) address, you can use the [Flare Contract Registry](/network/guides/flare-contracts-registry) library.
It is included in the [Flare Periphery Contracts package](https://www.npmjs.com/package/@flarenetwork/flare-periphery-contracts).

The following example demonstrates how to get the FXRP Asset Manager address using the Flare Contract Registry library in a Solidity contract.

```solidity
import { ContractRegistry } from "@flarenetwork/flare-periphery-contracts/coston2/ContractRegistry.sol";
import {IAssetManager} from "@flarenetwork/flare-periphery-contracts/coston2/IAssetManager.sol";

// Get the FXRP Asset Manager address from the Flare contracts registry
IAssetManager assetManager = ContractRegistry.getAssetManagerFXRP();
```

## Summary

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.

You should not hardcode the FXRP Asset Manager address in your smart contracts.

:::tip[What's next]

To continue your FAssets development journey, you can:

- Learn how to [mint FXRP](/fassets/developer-guides/fassets-mint).
- Understand how to [redeem FXRP](/fassets/developer-guides/fassets-redeem).
- Explore [FAssets system settings](/fassets/operational-parameters).

:::
