# 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 Desktop Wallet in JavaScript tutorial](https://xrpl.org/docs/tutorials/javascript/build-apps/build-a-desktop-wallet-in-javascript). ## 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 ```