Agent documentation index: llms.txt. Markdown versions of documentation pages are available by appending .md to the page URL.
Skip to main content

Firelight Vaults

Firelight is a yield-generating protocol built on top of FXRP. It provides ERC-4626 compliant vault that allows users to deposit FXRP and earn yield through the FAssets system.

Firelight vaults operate on a period-based logic, where deposits and withdrawals are processed at specific intervals. Users receive vault shares representing their proportional ownership of the vault's assets.

Coston2 Deployment​

The Firelight vault is deployed on the Coston2 test network at: 0xC90D6847747b85d1fa2E07859869fb9fB72c0361.

Hold FTestXRP in your wallet before running a deposit or mint.

How Firelight Vaults Work​

This diagram shows the flow of operations for a user interacting with a Firelight vault.

The flow of operations for a user interacting with a Firelight vault is as follows:

  • Deposit / Mint: Two ways to get vault shares. Call deposit(assets) to deposit FXRP and receive the corresponding shares, or mint(shares) to specify the shares you want and pay the required FXRP.

  • Withdraw / Redeem: Both create a withdrawal request for the current period. Call withdraw(assets) to request a given amount of assets, or redeem(shares) to burn shares and request the equivalent assets. Shares are burned when you redeem.

  • Claim: After the period ends, call claimWithdraw() to receive your FXRP. Use the Get Vault Status and Claim Withdrawals guides to find and claim completed periods.

What's next