FAssets mint and redeem on Flare. Mint FXRP by sending XRP to an agent, redeem FXRP back to XRP on XRPL. Full programmatic pipeline — no dApp needed. Triggers on "/fassets", "mint fxrp", "redeem fxrp", "fassets redeem", "fassets mint".
Full mint and redeem pipeline for FAssets (FXRP) on Flare Network. FAssets are trustless, over-collateralized wrapped tokens backed by real XRP on the XRPL.
MINT: XRP (XRPL) ──→ Reserve collateral (Flare) ──→ Send XRP to agent (XRPL) ──→ FDC verifies ──→ FXRP minted (Flare)
REDEEM: FXRP (Flare) ──→ Burn FXRP (Flare) ──→ Agent sends XRP (XRPL) ──→ XRP received
npm install ethers xrpl
You need:
create-xrpl-wallet.js) with XRP for minting# Show parameters (lot size, fees)
node skills/fassets/scripts/fassets.js info
# List available minting agents
node skills/fassets/scripts/fassets.js agents
# Mint FXRP (full pipeline: reserve → send XRP → wait for mint)
node skills/fassets/scripts/fassets.js mint --lots 1
# Redeem FXRP → XRP
node skills/fassets/scripts/fassets.js redeem --lots 1 --xrpl-address rXXX...
# Check XRPL balance and recent transactions
node skills/fassets/scripts/fassets.js status --xrpl-address rXXX...
# Create XRPL wallet (prerequisite for minting)
node skills/wallet/scripts/create-xrpl-wallet.js --save ~/.secrets/xrpl-wallet.json
| Contract | Address | Purpose |
|----------|---------|---------|
| FXRP Token | 0xAd552A648C74D49E10027AB8a618A3ad4901c5bE | ERC-20 FAsset token (6 decimals) |
| AssetManager | 0x2a3Fe068cD92178554cabcf7c95ADf49B4B0B6A8 | Mint/redeem controller |
| AssetManagerController | 0x097B93eEBe9b76f2611e1E7D9665a9d7Ff5280B3 | System controller |
| Parameter | Value | |-----------|-------| | Lot Size | 10 FXRP (= 10 XRP) | | Decimals | 6 | | Reservation Fee | ~0.15 FLR per lot | | Minting Fee | ~0.1% (paid in XRP, added to lot) | | Redemption Fee | ~0.2% (deducted from XRP received) | | Minting Time | 5-20 minutes (FDC verification) | | Redemption Time | Usually < 5 minutes |
reserveCollateral() on AssetManager with FLR fee
executeMinting() with FDC proof
redeem(lots, xrplAddress, executor) — burns FXRPexecutor parameter can be address(0) — the agent's own executor typically handles it# 1. Create XRPL wallet
node skills/wallet/scripts/create-xrpl-wallet.js --save ~/.secrets/xrpl-wallet.json
# 2. Fund XRPL wallet with XRP (need ≥20 XRP: 10 reserve + 10 to mint)
# 3. Mint 1 lot (10 FXRP)
node skills/fassets/scripts/fassets.js mint --lots 1
# → Reserves collateral, sends XRP, waits for FXRP to arrive
# 4. Use FXRP in DeFi (swap, LP, etc.)
# 5. Redeem back to XRP
node skills/fassets/scripts/fassets.js redeem --lots 1 --xrpl-address rXXX...
# → Burns FXRP, agent sends XRP within minutes
npm install ethers xrpl
Search for places (restaurants, cafes, etc.) via Google Places API proxy on localhost.
Interact with GitHub using the `gh` CLI. Use `gh issue`, `gh pr`, `gh run`, and `gh api` for issues, PRs, CI runs, and advanced queries.
Create or update AgentSkills. Use when designing, structuring, or packaging skills with scripts, references, and assets.
Start voice calls via the OpenClaw voice-call plugin.
Notion API for creating and managing pages, databases, and blocks.
Gemini CLI for one-shot Q&A, summaries, and generation.
Category:developer