// Web & Digital Applications•2026•VerifiedPersonal Open Source

XRPL Pocket

Non-Custodial Client-Side XRP Ledger Wallet

// FIGURE 01SYSTEM INTERFACE SPECIMEN
XRPL Pocket system interface
XRPL Pocket // Non-Custodial Client-Side XRP Ledger Wallet

Project at a Glance

  • Problem: Many web crypto wallets rely on custodial backends or opaque browser extensions, making it hard for users and developers to inspect how private keys, local encryption, and direct XRP Ledger (XRPL) node interactions are handled.
  • Deliverables: An open-source, non-custodial client-side XRPL wallet built with Nuxt 4, TypeScript 5.8, Tailwind CSS 4, Pinia 3, and xrpl.js, featuring direct XRPL RPC/WebSocket communication, hardened local vault encryption (PBKDF2-SHA256 310,000 iterations + Web Crypto AES-GCM 256-bit) stored in IndexedDB, Vault Lock/Unlock and password-gated secret reveal, Secret Key (Ed25519 / secp256k1) and Xaman connectors, Create/Import wallet onboarding with built-in Testnet/Devnet Faucet, portfolio dashboard, Send/Receive XRP with QR codes and Destination Tags, Transaction History & Detail views, Trust Lines, USD/IDR currency display, custom RPC/WebSocket networks, dark mode, and automated Vitest + Playwright testing.
  • Core Stack: Nuxt 4, Vue 3, TypeScript, Tailwind CSS 4, Pinia, xrpl.js, Web Crypto API (AES-GCM), IndexedDB, Vitest, Playwright, GitHub Actions CI.
  • Practical Value: Built solo in 2026 as a modern, auditable open-source Web3 application demonstrating strict client-side key custody, layered service architecture, and spec-driven AI-assisted engineering (.agents/).

Project Overview

XRPLPocket is an open-source, non-custodial wallet for the XRP Ledger (XRPL) built on Nuxt 4. Unlike custodial web platforms, XRPLPocket stores zero user credentials on any remote server. All key detection, encryption, signing, and wallet management execute locally inside the browser while communicating directly with XRPL RPC/WebSocket nodes.

The repository (v0.1.0 MVP) pairs a clean layered TypeScript architecture (app/services/, app/stores/, app/composables/, app/components/) with structured specification-driven documentation (.agents/ and .prompts/), automated Vitest unit/service/store/component test suites, Playwright E2E configuration, and GitHub Actions CI/CD pipelines.

Interface Specimens

XRPLPocket Dark Mode Portfolio Dashboard showing Total Balance card, Quick Actions (Send, Receive, Transactions, Trust Lines), Tokens, NFTs, and Wallet Info on XRPL Testnet

Portfolio Dashboard (/): Dark mode portfolio overview connected to XRPL Testnet showing Total Balance card, Quick Actions (Send, Receive, Transactions, Trust Lines), Tokens, NFTs, and Wallet Info (Connection: Secret).

XRPLPocket Receive XRP page displaying scannable QR code, classic r-address, optional Destination Tag input, Copy Address CTA, and transaction verification warning

Receive XRP (/receive): Client-side QR code generator (qrcode.vue), full classic XRPL address display, optional Destination Tag input, one-click Copy Address action, and irreversibility safety warning.

XRPLPocket Settings page displaying Theme selector (Light, Dark, System), Currency toggle (USD, IDR), Network switcher (Mainnet, Testnet, Devnet, Add Custom Network), and Xaman API configuration

Settings (/settings): Theme preference (Light, Dark, System), fiat display currency (USD, IDR), XRPL network switching (Mainnet, Testnet, Devnet, plus custom RPC/WebSocket networks), and Xaman API configuration.

Non-Custodial Layered Architecture

+-------------------------------------------------------------+
|         UI PAGES & SCAFFOLD COMPONENTS (Nuxt 4 + Vue 3)     |
|  Dashboard | Send | Receive (QR) | Transactions | TrustLines|
+------------------------------+------------------------------+
                               |
                               v
+-------------------------------------------------------------+
|        COMPOSABLES & PINIA 3 STORES (Reactive State)        |
|  useWallet | useAccount | useTransaction | useTrustLine     |
|  stores: wallet.ts | network.ts | settings.ts               |
+--------------+-------------------------------+--------------+
               |                               |
               v                               v
+-----------------------------+ +-----------------------------+
|   CONNECTOR & CRYPTO LAYER  | |     XRPL SERVICE LAYER      |
|  - SecretConnector          | |  - xrpl-client.ts (WS/RPC)  |
|    (Ed25519 / secp256k1)    | |  - Account & Balance Sync   |
|  - XamanConnector (API)     | |  - Transaction & History    |
|  - Credential Detector      | |  - Trust Line Operations    |
|  - WebCrypto AES-GCM 256    | |  - Price Feed Service       |
|  - IndexedDB Local Storage  | |                             |
+--------------+--------------+ +--------------+--------------+
               |                               |
               v                               v
      Browser Local Device          Direct XRPL RPC/WebSocket
     (Zero Server Custody)            (Mainnet / Testnet)

Core Implemented Capabilities (MVP v0.1.0)

1. Hardened Non-Custodial Vault & Multi-Connector Support

  • Pluggable Connector Pattern (app/services/connector/): Abstracts wallet signing behind a shared Connector interface supporting both local Secret Key wallets (Ed25519 and secp256k1 with automatic format detection via credential-detector.ts) and external Xaman wallet integration (xaman-connector.ts, configurable directly in Settings).
  • Password-Derived Vault Encryption (app/services/encryption/ & storage/): Derives a non-extractable AES-GCM 256-bit CryptoKey from the user's vault password via Web Crypto PBKDF2-SHA256 (310,000 iterations, 16-byte random salt) with a fresh 12-byte random IV per encryption (v: 1 payload) stored locally in IndexedDB. Includes explicit Vault Lock/Unlock sessions and a password-gated Reveal Secret modal with zero server-side credential storage.
  • Wallet Onboarding & Testnet Tooling (/wallet): Supports both Create New Wallet (Wallet.generate() with mandatory seed backup confirmation) and Import Key flows, plus a built-in Testnet/Devnet Faucet trigger for instant test-account activation.

2. Direct XRPL Ledger Operations

  • Portfolio Dashboard: Displays XRP balance (with USD / IDR fiat conversion), TokenList, NftSummary, WalletInfo, QuickActions, and RecentTransactions fetched directly from XRPL WebSocket/RPC endpoints via xrpl.js.
  • Send, Receive & History: Supports XRP transfers (/send), QR-code receiving (/receive with qrcode.vue and optional Destination Tag support), paginated transaction history (/transactions), and individual ledger transaction inspection (/transactions/[id]).
  • Trust Lines & Custom Networks: Dedicated /trust-lines view for managing XRPL issued-currency trust lines alongside Mainnet / Testnet / Devnet switching, Add Custom Network (custom RPC/WebSocket endpoints), and responsive light/dark/system theming (useTheme.ts) with mobile bottom navigation.

3. Spec-Driven Workflow & Automated Verification

  • Structured Engineering Specs (.agents/): Architecture boundaries, component hierarchy, design system, state management, wallet security rules, and coding conventions are explicitly documented in 10 specification files under .agents/ to keep iterative AI-assisted development disciplined and consistent.
  • Automated Testing & CI (test/ & .github/workflows/): Ships with Vitest suites covering unit logic (credential-detector), core services (account, transaction, wallet-service), Pinia stores (wallet, network, settings), and base UI components (BaseButton, BaseInput, BaseCard, BaseBadge), plus Playwright E2E config and GitHub Actions CI.

Current Status & Roadmap

  • Implemented (v0.1.0 MVP on GitHub): Non-custodial local wallet core, Secret Key + Xaman connectors, portfolio dashboard, Send/Receive XRP, transaction history, Trust Lines, dark mode, and automated Vitest/CI checks.
  • Planned Roadmap: Full NFT operations, XRPL DEX & AMM interfaces, Escrow, Checks, Multi-sign, hardware wallet support, and PWA packaging.