futurepaul / address-factory

for when you want a bunch of addresses
5 stars 0 forks source link

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