flare-smart-accounts

Community

Enable XRPL users to use Flare without FLR

Authormashharuki
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Flare Smart Accounts remove the requirement for end users to hold FLR by encoding XRPL-side instructions into 32-byte payment references that relayers can verify and execute on Flare, simplifying XRPL-to-Flare interactions and onboarding for non-EVM users.

Core Features & Use Cases

  • Instruction Encoding & Decoding: Precise 32-byte payment reference formats for FXRP, Firelight, Upshift, and custom contract calls.
  • Vault & FAssets Workflows: Support for minting FXRP, depositing to vaults, requesting and claiming withdrawals, and redeeming back to XRP.
  • Custom Instruction Registration: Register arbitrary CustomCall arrays via MasterAccountController, produce the 30-byte call hash, and embed it in XRPL payments for on-chain execution.
  • Developer Tooling: CLI and TypeScript (Viem) guidance for building, encoding, submitting, and decoding instructions in end-to-end workflows.
  • Use Case: Build a relayer that accepts XRPL payments with memo instructions to mint FXRP, deposit into an Upshift vault, and later process a timed claim without requiring users to manage FLR.

Quick Start

Use the skill to encode a 0x01 FXRP transfer payment reference that sends 10 FXRP from wallet-id 0 to 0xf5488132432118596fa13800b68df4c0ff25131d.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: flare-smart-accounts
Download link: https://github.com/mashharuki/flare-sample/archive/main.zip#flare-smart-accounts

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.