XRPL Smart Accounts Technical Specification

Last Updated: December 3, 2025 Status: Coming December 2025 (Xaman Integration)

Overview

XRPL Smart Accounts enable XRP Ledger users to trigger smart contract transactions on Flare Network directly from their XRPL wallets using encoded memo instructions. This eliminates the need to manage separate wallets on both chains.

Key Features:

  • Execute Flare transactions from XRPL addresses

  • No need for FLR wallet or gas fees

  • Powered by Flare Data Connector (FDC) for verification

  • Proxy accounts handle Flare-side execution

  • Coming to Xaman wallet in December 2025


How Smart Accounts Work

Architecture

┌─────────────────┐
│  XRPL Wallet    │
│  (User)         │
└────────┬────────┘

         │ 1. Send XRP with encoded memo

┌─────────────────┐
│  XRPL Network   │
│  (Transaction)  │
└────────┬────────┘

         │ 2. FDC verifies transaction

┌─────────────────┐
│ Flare Data      │
│ Connector (FDC) │
└────────┬────────┘

         │ 3. Attestation proof

┌─────────────────┐
│  Proxy Account  │
│  (Flare)        │
└────────┬────────┘

         │ 4. Execute on Flare

┌─────────────────┐
│  FAssets/DeFi   │
│  (Flare Smart   │
│   Contracts)    │
└─────────────────┘

Key Components

  1. XRPL Memo: Encodes Flare transaction instructions (action, destination, parameters)

  2. Flare Data Connector (FDC): Verifies XRPL transaction and extracts memo data

  3. Proxy Account: Flare-side account that executes transactions on behalf of XRPL user

  4. Smart Account Registry: Maps XRPL addresses to Flare proxy accounts


XRPL Memo Format

Standard Memo Structure

XRPL transactions support a Memos field for arbitrary data.

JSON Structure:

Constraints:

  • Total memo size: ≤ 1 KB (serialized binary format)

  • All fields must be hex-encoded

  • At least one of MemoData, MemoType, or MemoFormat must be present

FAssets Bridging Memo Format

For Smart Account FAssets minting:

Current FAssets Minting Memo (Non-Smart Account):

For existing FAssets minting, the memo contains a 32-byte payment reference:

Note: Smart Account memo format will be announced by Flare when feature launches in December 2025.


Encoding & Decoding Memos

Encoding (JavaScript/TypeScript)

Decoding (JavaScript/TypeScript)


Smart Account Security Model

Key Management

XRPL Side:

  • User controls XRPL private key (via Xaman, Ledger, etc.)

  • No additional keys required for Smart Account features

  • Standard XRPL transaction signing

Flare Side:

  • Proxy account managed by Flare protocol

  • User does NOT need to manage Flare private keys

  • Transactions executed via FDC attestation proofs

Trust Model

Trustless Components:

  • FDC cryptographically proves XRPL transactions

  • Proxy accounts cannot act without valid FDC proof

  • Smart contracts enforce memo instruction validation

Trust Assumptions:

  • Flare network consensus (same as any Flare transaction)

  • FDC attestation provider honesty (decentralized set)

  • Smart Account contract code correctness (audited)

Permissions & Authorization

Default Permissions:

  • XRPL address → Proxy account mapping is 1:1 and permanent

  • User can authorize specific actions via memo instructions

  • Contracts can whitelist allowed actions per user

Example Authorization:


Transaction Signing Flow

Smart Account Minting Flow (XRPL → FXRP)

Step 1: User Initiates Transaction (XRPL)

Step 2: FDC Verification

Step 3: Proxy Account Execution (Flare)

Step 4: User Receives FXRP


Error Handling

Common Errors

Error
Cause
Solution

Invalid Memo Format

Memo not properly hex-encoded

Re-encode payload as hex

Memo Size Exceeded

Payload > 1 KB

Reduce payload size

Unsupported Action

Action not recognized by Smart Account

Check supported actions

Destination Invalid

Flare address format incorrect

Validate address before encoding

Insufficient XRP

Payment amount too low

Increase XRP amount

FDC Proof Timeout

Transaction not finalized on XRPL

Wait for 7+ confirmations

Handling Failed Transactions

Scenario 1: XRPL Transaction Fails

  • XRP is not sent

  • No Smart Account action triggered

  • User retries transaction

Scenario 2: FDC Verification Fails

  • XRP may be sent to bridge address

  • Smart Account action is NOT executed

  • Recovery: Contact Flare support or bridge operator

Scenario 3: Proxy Execution Fails

  • XRP sent successfully

  • FDC proof valid

  • Flare-side transaction fails (e.g., contract revert)

  • Recovery: Depends on failure reason; may require manual intervention

Fallback Mechanisms

If Smart Account Unavailable:

  • Fallback to standard FAssets minting flow

  • User mints FXRP via FAssets dApp

  • Use traditional two-step process (reserve collateral + send XRP)

If FDC Offline:

  • Wait for FDC to resume (decentralized, high availability)

  • Worst case: Use manual bridging with agent support


Integration Best Practices

1. Validate Memo Before Sending

2. Wait for XRPL Finality

3. Monitor Flare-Side Execution

4. Provide Clear User Feedback


Supported Actions (December 2025 Launch)

Expected Smart Account Actions:

Action
Description
Parameters

fassets_mint

Mint FXRP on Flare

destination: Flare address

firelight_deposit

Deposit FXRP into Firelight

destination: Flare address, vault: Vault address

transfer_fxrp

Transfer FXRP to another address

recipient: Flare address, amount: Amount

Note: Exact action names and parameters will be published by Flare/Xaman when feature launches.


Future Enhancements

Phase 1 (December 2025)

  • Basic Smart Account memo support

  • FAssets minting via XRPL

  • Xaman wallet integration

Phase 2 (Q1 2026)

  • Multi-action memos (batch operations)

  • DeFi protocol integrations (Firelight, DEXs)

  • Conditional execution (if/then logic)

Phase 3 (Q2 2026+)

  • Cross-chain swaps via memo

  • Automated yield strategies

  • Programmable smart account logic


Official Resources

Documentation

  • Flare Developer Hub: https://dev.flare.network/fassets/overview

  • XRPL Memo Spec: https://xrpl.org/docs/references/protocol/transactions/common-fields

  • FDC Documentation: https://dev.flare.network/fdc/overview

Community Resources

  • XRPL Standards Discussion: https://github.com/XRPLF/XRPL-Standards/discussions/103

  • Xaman Wallet: https://xaman.app

  • Flare Discord: https://discord.com/invite/flarenetwork


Testing Checklist

Before December 2025 Launch

Since Smart Accounts are not yet live, prepare by:

  1. ✅ Implement standard XRPL memo encoding/decoding

  2. ✅ Test with existing FAssets minting (32-byte payment reference)

  3. ✅ Build UI for Smart Account memo creation (ready for launch)

  4. ✅ Set up FDC monitoring infrastructure

  5. ✅ Create fallback to standard minting flow

After Launch

  1. ✅ Test on Coston2 testnet first (if available)

  2. ✅ Test with small amounts on mainnet

  3. ✅ Verify Flare-side execution events

  4. ✅ Test error scenarios (invalid memo, insufficient XRP)

  5. ✅ Monitor gas costs and optimize


Security Considerations

User Safety

  • Never share XRPL private keys (Smart Accounts do not require this)

  • Verify destination addresses before encoding in memo

  • Start with small test amounts when using new features

  • Use reputable wallets (Xaman, Bifrost, Ledger)

Smart Contract Risks

  • Smart Account contracts are audited but not risk-free

  • FDC assumes honest attestation providers (decentralized set mitigates risk)

  • Proxy accounts have limited permissions (cannot drain user funds)

Phishing Protection

Beware of fake Smart Account prompts:

  • Only use official Xaman/Flare integrations

  • Verify XRPL destination addresses

  • Check memo payloads before signing

  • Never send XRP to unknown addresses with encoded memos


Risk Disclosure

⚠️ Important Notice:

Smart Accounts are a new feature launching in December 2025. Consider the following:

  1. Unproven Technology: Limited production history

  2. FDC Dependency: Relies on Flare Data Connector attestations

  3. Irreversible Transactions: XRPL transactions cannot be reversed once finalized

  4. Smart Contract Risk: Proxy execution may fail or have bugs

  5. Memo Encoding Errors: Invalid memos may result in lost XRP

Only use with funds you can afford to lose during early testing.


Next Steps

For Developers

  1. ✅ Study XRPL memo encoding standards

  2. ✅ Implement memo creation/validation functions

  3. ✅ Build UI for Smart Account transactions

  4. ✅ Prepare FDC monitoring infrastructure

  5. ✅ Wait for official Smart Account spec from Flare (December 2025)

For Users

  1. ✅ Keep Xaman wallet updated

  2. ✅ Follow Flare announcements for launch date

  3. ✅ Practice with standard FAssets minting first

  4. ✅ Join community channels for support

Monitor:

  • Flare Twitter: https://twitter.com/FlareNetworks

  • Xaman Twitter: https://twitter.com/XamanWallet

  • Flare Developer Hub: https://dev.flare.network


Conclusion

XRPL Smart Accounts represent a major UX improvement for bridging XRP to Flare's DeFi ecosystem. By eliminating the need for users to manage multiple wallets, Smart Accounts will significantly lower the barrier to entry for XRP holders.

Key Takeaways:

  • Smart Accounts use XRPL memos to encode Flare transaction instructions

  • FDC verifies XRPL transactions and triggers Flare-side execution

  • Users only need their XRPL wallet (e.g., Xaman)

  • Launching in December 2025 with Xaman integration

Stay tuned for official specification updates from Flare and Xaman.

Last updated