Some Handshake tools for finding addresses using extended public keys
Go to file
2025-01-27 21:33:14 +11:00
.gitignore feat: Add arguments to make it easier to use these tools 2025-01-27 21:33:14 +11:00
find-address.js feat: Add arguments to make it easier to use these tools 2025-01-27 21:33:14 +11:00
generate-address.js feat: Add arguments to make it easier to use these tools 2025-01-27 21:33:14 +11:00
LICENSE Initial commit 2025-01-26 12:14:22 +11:00
package-lock.json feat: Add arguments to make it easier to use these tools 2025-01-27 21:33:14 +11:00
package.json feat: Add arguments to make it easier to use these tools 2025-01-27 21:33:14 +11:00
README.md feat: Add arguments to make it easier to use these tools 2025-01-27 21:33:14 +11:00

hns-address

Setup

git clone https://git.woodburn.au/nathanwoodburn/hns-address.git
cd hns-address
npm install

Find an address

  • xpub: the account extended public key
  • address: the address to search for
  • start: the starting index (default: 0)
  • end: the ending index (default: 0x7fffffff)
node find-address.js --xpub your-xpub-key --address address-to-search-for

Generate addresses

  • xpub: the account extended public key
  • number: the number of addresses to generate (default: 1000)
  • start: the starting index (default: 0)
  • change: toggle to display change addresses (default: false)

Generate the first 1000 addresses.

node generate-address.js --xpub your-xpub-key --number 1000

Generate addresses from 1000 to 1010 and display change addresses.

node generate-address.js --xpub your-xpub-key --number 10 --start 1000 --change

Probably best to save the output to a file.

node generate-address.js --xpub your-xpub-key > addresses.txt