npm install
Modify .env
file as needed:
- LWD_URI
- The lightwalletd server URI, omit the
https://
.
- The lightwalletd server URI, omit the
- LOCAL_LWD
- If using a local lightwalletd server, set
LOCAL_LWD="true"
.
- If using a local lightwalletd server, set
- DUMP_FILE
- The filename for dumping the transactions data.
- Fetching blocks
Run
node index.js
and wait for block to be downloaded. When done pressctrl+c
to break. - Dumping transactions information
Run
node dump_database.js
.