Skip to content

futurepaul/address-factory

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

48 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Address Factory

This is a tool to generate a ton of addresses from an xpub. The idea is you generate the addresses in a batch, then put that stack of addresses on a server somewhere for receiving payments. This way your xpub itself doesn't have to be on the server.

To get the xpub I'm using the bip84 from this file which can be exported by a Coldcard:

Advanced > MicroSD Card > Export Wallet > Generic JSON

How to use this

First you need GPG installed and set up. If you're new to GPG this is a nice guide.

Here are the basics:

Generate a Key

gpg --full-generate-key

Get Fingerprint to put in twitter bio

gpg --list-secret-keys --fingerprint

Get Public PGP Key to put on website

gpg --armor --export <key ID>

OR

gpg --armor --output <file> --export <key ID>

Now you can run Address Factory and follow the instructions and everything should work out great.

TODO

  • come up with a better name
  • sign the addresses with gpg
  • write the signed addresses to an sqlite db
  • parse non-coldcard xpubs
  • fix all the obvious usability issues
  • audit the bitcoin code
  • switch to mainnet
  • reduce dependencies
  • deploy a donation page using this

About

for when you want a bunch of addresses

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •  

Languages