flare-fassets

Documents Flare FAssets minting, redemption, and contract integration flows with TypeScript reference scripts.

Updated Apr 3, 2026
One-click install
npx skills add https://github.com/Ayoub-ouederni/SENTINEL --skill flare-fassets-ayoub-ouederni
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: flare-fassets
Source: https://github.com/Ayoub-ouederni/SENTINEL/tree/main/.claude/skills/flare-fassets-skill
Command: npx skills add https://github.com/Ayoub-ouederni/SENTINEL --skill flare-fassets-ayoub-ouederni

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires ethers, xrpl, and includes scripts (resource) components.

What problem does it solve? Developers integrating Flare FAssets (FXRP, FBTC) must coordinate collateral reservation, XRPL payments, FDC attestations, and AssetManager contract calls across two chains, which is error-prone without structured guidance. ## Core Features & Use Cases - Minting and Redemption Guidance: Step-by-step flows for reserving collateral, sending XRP payments with payment references, generating FDC proofs, and executing minting or redemption. - Runtime Contract Resolution: Resolve AssetManager and FXRP token addresses at runtime via the FlareContractsRegistry instead of hardcoding per-network addresses. - Reference Scripts: Read-only scripts (list agents, get settings, get redemption queue) and dry-run-by-default write scripts (reserve collateral, execute minting, redeem, swap USDT0 to FXRP). - Use Case: A developer building a minting dApp uses the skill to select a healthy low-fee agent, reserve collateral, send the XRPL payment with the correct memo reference, and execute minting with an FDC proof. ## Quick Start Ask the assistant to explain how to mint FXRP on Flare Coston2 testnet and walk through the collateral reservation and FDC proof steps.

Frequently Asked Questions about flare-fassets

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I mint FXRP on Flare from XRP?

Minting FXRP is a four-step flow: reserve collateral with an agent on the AssetManager contract, send XRP on the XRPL with the payment reference in the memo, obtain an FDC payment attestation proof, then call executeMinting with the proof and collateral reservation ID.

How do I get the FXRP token contract address on Flare?

Query the FlareContractsRegistry at 0xaD67FE66660Fb8dFE9d6b1b4240d8650e30F6019 with getContractAddressByName("AssetManagerFXRP"), then call fAsset() on the returned AssetManager. Never hardcode addresses since they differ per network.

How do I redeem FXRP back to XRP?

Approve the AssetManager to spend your FXRP, then call redeem() with the lot count and your XRPL address. The assigned agent pays XRP on the XRPL within the payment window; if it fails, you can claim collateral via redemptionPaymentDefault with an FDC non-payment proof.

Does this skill execute blockchain transactions automatically?

No. The skill is documentation and reference only. Write scripts are dry-run by default and only broadcast when DRY_RUN=false is explicitly set, and all signing occurs in developer-controlled environments.

What is the collateral reservation fee and is it refundable?

The Collateral Reservation Fee (CRF) is paid in native FLR or SGB when reserving collateral for minting. It compensates agents for locked collateral and is not refunded if the minting flow fails or the payment deadline is missed.

Can XRPL users interact with FAssets without owning FLR?

Yes, via Flare Smart Accounts. Users send an XRPL Payment with a fixed-format binary instruction in the memo; an operator obtains an FDC attestation and calls executeTransaction on MasterAccountController to perform FXRP, Firelight, or Upshift actions.