summa-tx / coins

Rust implementations of BIP32/39 and Ledger device comms
Other
90 stars 31 forks source link

map pubkeys to output scripts #6

Closed prestwich closed 4 years ago

prestwich commented 4 years ago

This would accept some public key type, and convert it to a standard P2PKH or P2WPKH ScriptPubkey

prestwich commented 4 years ago

https://github.com/summa-tx/riemann/blob/master/riemann/encoding/addresses.py