hns-address/README.md

37 lines
653 B
Markdown

# hns-address
## Setup
```bash
git clone https://git.woodburn.au/nathanwoodburn/hns-address.git
cd hns-address
npm install hsd
```
## Find an address
Edit `find-address.js` and fill in these fields:
- `ACCOUNT_XPUB`: the account extended public key
- `SEARCH_ADDRESS`: the address to search for
```bash
node find-address.js
```
## Generate addresses
Edit `generate-address.js` and fill in these fields:
- `ACCOUNT_XPUB`: the account extended public key
- `START`: the starting index
- `END`: the ending index
```bash
node generate-address.js
```
Probably best to save the output to a file.
```bash
node generate-address.js > addresses.txt
```