# Build a Desktop Wallet Sample Code (JavaScript) Build a non-custodial XRP Ledger wallet application in JavaScript that runs on the desktop using Electron. For the full documentation, refer to the [Build a Wallet in JavaScript tutorial](https://xrpl.org/build-a-wallet-in-javascript.html). ## TL;DR Setup: ```sh npm install ``` Run any of the scripts (higher numbers are more complete/advanced examples): ```sh npm run hello ``` ```sh npm run async ``` ```sh npm run account ``` ```sh npm run tx-history ``` ```sh npm run send-xrp ``` ```sh npm run domain-verification ```