mirror of
https://github.com/XRPLF/xrpl-dev-portal.git
synced 2025-11-25 06:05:51 +00:00
43 lines
597 B
Markdown
43 lines
597 B
Markdown
# Build a Wallet Sample Code (JavaScript) [WIP]
|
|
|
|
This folder contains sample code for a non-custodial XRP Ledger wallet application in JavaScript. For the full
|
|
documentation, refer to the [Build a Wallet in JavaScript tutorial](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-poll
|
|
```
|
|
|
|
```sh
|
|
npm run async-subscribe
|
|
```
|
|
|
|
```sh
|
|
npm run account
|
|
```
|
|
|
|
```sh
|
|
npm run tx-history
|
|
```
|
|
|
|
```sh
|
|
npm run send-xrp
|
|
```
|
|
|
|
```sh
|
|
npm run domain-verification
|
|
```
|