[{"data":1,"prerenderedAt":589},["ShallowReactive",2],{"project-xrpl-pocket":3},{"id":4,"title":5,"body":6,"description":268,"extension":572,"meta":573,"navigation":584,"path":585,"seo":586,"stem":587,"__hash__":588},"content\u002Fprojects\u002Fxrpl-pocket.md","XRPLPocket",{"type":7,"value":8,"toc":558},"minimark",[9,14,101,105,118,157,161,168,194,200,213,219,255,259,269,273,278,381,385,465,469,537,541],[10,11,13],"h2",{"id":12},"project-at-a-glance","Project at a Glance",[15,16,17,25,82,91],"ul",{},[18,19,20,24],"li",{},[21,22,23],"strong",{},"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.",[18,26,27,30,31,34,35,38,39,38,42,38,45,48,49,52,53,61,62,65,66,69,70,73,74,77,78,81],{},[21,28,29],{},"Deliverables:"," An open-source, ",[21,32,33],{},"non-custodial client-side XRPL wallet"," built with ",[21,36,37],{},"Nuxt 4",", ",[21,40,41],{},"TypeScript 5.8",[21,43,44],{},"Tailwind CSS 4",[21,46,47],{},"Pinia 3",", and ",[21,50,51],{},"xrpl.js",", featuring direct XRPL RPC\u002FWebSocket communication, hardened local vault encryption (",[21,54,55,56,60],{},"PBKDF2-SHA256 ",[57,58,59],"code",{},"310,000"," iterations + Web Crypto AES-GCM 256-bit",") stored in ",[21,63,64],{},"IndexedDB",", Vault Lock\u002FUnlock and password-gated secret reveal, Secret Key (",[57,67,68],{},"Ed25519"," \u002F ",[57,71,72],{},"secp256k1",") and ",[21,75,76],{},"Xaman"," connectors, Create\u002FImport wallet onboarding with built-in Testnet\u002FDevnet Faucet, portfolio dashboard, Send\u002FReceive XRP with QR codes and Destination Tags, Transaction History & Detail views, Trust Lines, USD\u002FIDR currency display, custom RPC\u002FWebSocket networks, dark mode, and automated ",[21,79,80],{},"Vitest + Playwright"," testing.",[18,83,84,87,88,90],{},[21,85,86],{},"Core Stack:"," Nuxt 4, Vue 3, TypeScript, Tailwind CSS 4, Pinia, ",[57,89,51],{},", Web Crypto API (AES-GCM), IndexedDB, Vitest, Playwright, GitHub Actions CI.",[18,92,93,96,97,100],{},[21,94,95],{},"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 (",[57,98,99],{},".agents\u002F",").",[10,102,104],{"id":103},"project-overview","Project Overview",[106,107,108,110,111,114,115,117],"p",{},[21,109,5],{}," is an open-source, non-custodial wallet for the ",[21,112,113],{},"XRP Ledger (XRPL)"," built on ",[21,116,37],{},". 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\u002FWebSocket nodes.",[106,119,120,121,124,125,38,128,38,131,38,134,137,138,140,141,144,145,148,149,152,153,156],{},"The repository (",[57,122,123],{},"v0.1.0"," MVP) pairs a clean layered TypeScript architecture (",[57,126,127],{},"app\u002Fservices\u002F",[57,129,130],{},"app\u002Fstores\u002F",[57,132,133],{},"app\u002Fcomposables\u002F",[57,135,136],{},"app\u002Fcomponents\u002F",") with structured specification-driven documentation (",[57,139,99],{}," and ",[57,142,143],{},".prompts\u002F","), automated ",[21,146,147],{},"Vitest"," unit\u002Fservice\u002Fstore\u002Fcomponent test suites, ",[21,150,151],{},"Playwright"," E2E configuration, and ",[21,154,155],{},"GitHub Actions"," CI\u002FCD pipelines.",[10,158,160],{"id":159},"interface-specimens","Interface Specimens",[106,162,163],{},[164,165],"img",{"alt":166,"src":167},"XRPLPocket Dark Mode Portfolio Dashboard showing Total Balance card, Quick Actions (Send, Receive, Transactions, Trust Lines), Tokens, NFTs, and Wallet Info on XRPL Testnet","\u002Fimg\u002Fportfolio\u002Fxrpl-pocket-dashboard.png",[106,169,170],{},[171,172,173,174,177,178,38,181,38,184,38,187,190,191,100],"em",{},"Portfolio Dashboard (",[57,175,176],{},"\u002F","): Dark mode portfolio overview connected to XRPL Testnet showing Total Balance card, Quick Actions (",[57,179,180],{},"Send",[57,182,183],{},"Receive",[57,185,186],{},"Transactions",[57,188,189],{},"Trust Lines","), Tokens, NFTs, and Wallet Info (",[57,192,193],{},"Connection: Secret",[106,195,196],{},[164,197],{"alt":198,"src":199},"XRPLPocket Receive XRP page displaying scannable QR code, classic r-address, optional Destination Tag input, Copy Address CTA, and transaction verification warning","\u002Fimg\u002Fportfolio\u002Fxrpl-pocket-receive.png",[106,201,202],{},[171,203,204,205,208,209,212],{},"Receive XRP (",[57,206,207],{},"\u002Freceive","): Client-side QR code generator (",[57,210,211],{},"qrcode.vue","), full classic XRPL address display, optional Destination Tag input, one-click Copy Address action, and irreversibility safety warning.",[106,214,215],{},[164,216],{"alt":217,"src":218},"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","\u002Fimg\u002Fportfolio\u002Fxrpl-pocket-settings.png",[106,220,221],{},[171,222,223,224,227,228,38,231,38,234,237,238,38,241,244,245,38,248,38,251,254],{},"Settings (",[57,225,226],{},"\u002Fsettings","): Theme preference (",[57,229,230],{},"Light",[57,232,233],{},"Dark",[57,235,236],{},"System","), fiat display currency (",[57,239,240],{},"USD",[57,242,243],{},"IDR","), XRPL network switching (",[57,246,247],{},"Mainnet",[57,249,250],{},"Testnet",[57,252,253],{},"Devnet",", plus custom RPC\u002FWebSocket networks), and Xaman API configuration.",[10,256,258],{"id":257},"non-custodial-layered-architecture","Non-Custodial Layered Architecture",[260,261,266],"pre",{"className":262,"code":264,"language":265},[263],"language-text","+-------------------------------------------------------------+\n|         UI PAGES & SCAFFOLD COMPONENTS (Nuxt 4 + Vue 3)     |\n|  Dashboard | Send | Receive (QR) | Transactions | TrustLines|\n+------------------------------+------------------------------+\n                               |\n                               v\n+-------------------------------------------------------------+\n|        COMPOSABLES & PINIA 3 STORES (Reactive State)        |\n|  useWallet | useAccount | useTransaction | useTrustLine     |\n|  stores: wallet.ts | network.ts | settings.ts               |\n+--------------+-------------------------------+--------------+\n               |                               |\n               v                               v\n+-----------------------------+ +-----------------------------+\n|   CONNECTOR & CRYPTO LAYER  | |     XRPL SERVICE LAYER      |\n|  - SecretConnector          | |  - xrpl-client.ts (WS\u002FRPC)  |\n|    (Ed25519 \u002F secp256k1)    | |  - Account & Balance Sync   |\n|  - XamanConnector (API)     | |  - Transaction & History    |\n|  - Credential Detector      | |  - Trust Line Operations    |\n|  - WebCrypto AES-GCM 256    | |  - Price Feed Service       |\n|  - IndexedDB Local Storage  | |                             |\n+--------------+--------------+ +--------------+--------------+\n               |                               |\n               v                               v\n      Browser Local Device          Direct XRPL RPC\u002FWebSocket\n     (Zero Server Custody)            (Mainnet \u002F Testnet)\n","text",[57,267,264],{"__ignoreMap":268},"",[10,270,272],{"id":271},"core-implemented-capabilities-mvp-v010","Core Implemented Capabilities (MVP v0.1.0)",[274,275,277],"h3",{"id":276},"_1-hardened-non-custodial-vault-multi-connector-support","1. Hardened Non-Custodial Vault & Multi-Connector Support",[15,279,280,314,357],{},[18,281,282,289,290,293,294,297,298,140,300,302,303,306,307,309,310,313],{},[21,283,284,285,288],{},"Pluggable Connector Pattern (",[57,286,287],{},"app\u002Fservices\u002Fconnector\u002F","):"," Abstracts wallet signing behind a shared ",[57,291,292],{},"Connector"," interface supporting both local ",[21,295,296],{},"Secret Key wallets"," (",[57,299,68],{},[57,301,72],{}," with automatic format detection via ",[57,304,305],{},"credential-detector.ts",") and external ",[21,308,76],{}," wallet integration (",[57,311,312],{},"xaman-connector.ts",", configurable directly in Settings).",[18,315,316,326,327,330,331,334,335,341,342,345,346,348,349,352,353,356],{},[21,317,318,319,322,323,288],{},"Password-Derived Vault Encryption (",[57,320,321],{},"app\u002Fservices\u002Fencryption\u002F"," & ",[57,324,325],{},"storage\u002F"," Derives a non-extractable ",[21,328,329],{},"AES-GCM 256-bit"," ",[57,332,333],{},"CryptoKey"," from the user's vault password via ",[21,336,337,338,340],{},"Web Crypto PBKDF2-SHA256 (",[57,339,59],{}," iterations, 16-byte random salt)"," with a fresh 12-byte random IV per encryption (",[57,343,344],{},"v: 1"," payload) stored locally in ",[21,347,64],{},". Includes explicit ",[21,350,351],{},"Vault Lock\u002FUnlock"," sessions and a password-gated ",[21,354,355],{},"Reveal Secret"," modal with zero server-side credential storage.",[18,358,359,365,366,297,369,372,373,376,377,380],{},[21,360,361,362,288],{},"Wallet Onboarding & Testnet Tooling (",[57,363,364],{},"\u002Fwallet"," Supports both ",[21,367,368],{},"Create New Wallet",[57,370,371],{},"Wallet.generate()"," with mandatory seed backup confirmation) and ",[21,374,375],{},"Import Key"," flows, plus a built-in ",[21,378,379],{},"Testnet\u002FDevnet Faucet"," trigger for instant test-account activation.",[274,382,384],{"id":383},"_2-direct-xrpl-ledger-operations","2. Direct XRPL Ledger Operations",[15,386,387,416,443],{},[18,388,389,392,393,396,397,38,400,38,403,38,406,48,409,412,413,415],{},[21,390,391],{},"Portfolio Dashboard:"," Displays XRP balance (with ",[21,394,395],{},"USD \u002F IDR"," fiat conversion), ",[57,398,399],{},"TokenList",[57,401,402],{},"NftSummary",[57,404,405],{},"WalletInfo",[57,407,408],{},"QuickActions",[57,410,411],{},"RecentTransactions"," fetched directly from XRPL WebSocket\u002FRPC endpoints via ",[57,414,51],{},".",[18,417,418,421,422,425,426,428,429,431,432,435,436,439,440,100],{},[21,419,420],{},"Send, Receive & History:"," Supports XRP transfers (",[57,423,424],{},"\u002Fsend","), QR-code receiving (",[57,427,207],{}," with ",[57,430,211],{}," and optional ",[21,433,434],{},"Destination Tag"," support), paginated transaction history (",[57,437,438],{},"\u002Ftransactions","), and individual ledger transaction inspection (",[57,441,442],{},"\u002Ftransactions\u002F[id]",[18,444,445,448,449,452,453,456,457,460,461,464],{},[21,446,447],{},"Trust Lines & Custom Networks:"," Dedicated ",[57,450,451],{},"\u002Ftrust-lines"," view for managing XRPL issued-currency trust lines alongside ",[21,454,455],{},"Mainnet \u002F Testnet \u002F Devnet"," switching, ",[21,458,459],{},"Add Custom Network"," (custom RPC\u002FWebSocket endpoints), and responsive light\u002Fdark\u002Fsystem theming (",[57,462,463],{},"useTheme.ts",") with mobile bottom navigation.",[274,466,468],{"id":467},"_3-spec-driven-workflow-automated-verification","3. Spec-Driven Workflow & Automated Verification",[15,470,471,482],{},[18,472,473,478,479,481],{},[21,474,475,476,288],{},"Structured Engineering Specs (",[57,477,99],{}," Architecture boundaries, component hierarchy, design system, state management, wallet security rules, and coding conventions are explicitly documented in 10 specification files under ",[57,480,99],{}," to keep iterative AI-assisted development disciplined and consistent.",[18,483,484,493,494,496,497,500,501,38,504,38,507,510,511,38,514,38,517,520,521,38,524,38,527,38,530,533,534,536],{},[21,485,486,487,322,490,288],{},"Automated Testing & CI (",[57,488,489],{},"test\u002F",[57,491,492],{},".github\u002Fworkflows\u002F"," Ships with ",[21,495,147],{}," suites covering unit logic (",[57,498,499],{},"credential-detector","), core services (",[57,502,503],{},"account",[57,505,506],{},"transaction",[57,508,509],{},"wallet-service","), Pinia stores (",[57,512,513],{},"wallet",[57,515,516],{},"network",[57,518,519],{},"settings","), and base UI components (",[57,522,523],{},"BaseButton",[57,525,526],{},"BaseInput",[57,528,529],{},"BaseCard",[57,531,532],{},"BaseBadge","), plus ",[21,535,151],{}," E2E config and GitHub Actions CI.",[10,538,540],{"id":539},"current-status-roadmap","Current Status & Roadmap",[15,542,543,552],{},[18,544,545,551],{},[21,546,547,548,550],{},"Implemented (",[57,549,123],{}," MVP on GitHub):"," Non-custodial local wallet core, Secret Key + Xaman connectors, portfolio dashboard, Send\u002FReceive XRP, transaction history, Trust Lines, dark mode, and automated Vitest\u002FCI checks.",[18,553,554,557],{},[21,555,556],{},"Planned Roadmap:"," Full NFT operations, XRPL DEX & AMM interfaces, Escrow, Checks, Multi-sign, hardware wallet support, and PWA packaging.",{"title":268,"searchDepth":559,"depth":559,"links":560},2,[561,562,563,564,565,571],{"id":12,"depth":559,"text":13},{"id":103,"depth":559,"text":104},{"id":159,"depth":559,"text":160},{"id":257,"depth":559,"text":258},{"id":271,"depth":559,"text":272,"children":566},[567,569,570],{"id":276,"depth":568,"text":277},3,{"id":383,"depth":568,"text":384},{"id":467,"depth":568,"text":468},{"id":539,"depth":559,"text":540},"md",{"subtitle":574,"slug":575,"client":576,"year":577,"role":578,"category":579,"technologies":580},"Non-Custodial Client-Side XRP Ledger Wallet","xrpl-pocket","Personal Open Source (MVP v0.1.0)",2026,"Solo Developer","Web & Digital Applications",[37,581,582,44,583,51,64,147],"Vue 3","TypeScript","Pinia",true,"\u002Fprojects\u002Fxrpl-pocket",{"title":5,"description":268},"projects\u002Fxrpl-pocket","jRV_PLgZdZQ8SPxZ2IhamMnsBk-QQt0LH5LMFkwDD7Q",1796006983697]