Last active
May 7, 2018 18:44
-
-
Save prestwich/433734b51578de6d158821759a7f1519 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import riemann | |
from riemann import networks | |
from riemann.script import examples | |
from riemann.encoding import addresses | |
pubkey_0 = '00' * 33 | |
pubkey_1 = '11' * 33 | |
msig = examples.msig_two_two | |
msig = msig.format(pk0=pubkey_0, pk1=pubkey_1) | |
for n in networks.SUPPORTED: | |
riemann.select_network(n) | |
addresses.make_p2sh_address(msig) | |
for n in networks.SUPPORTED: | |
riemann.select_network(n) | |
if riemann.network.BECH32_HRP: | |
addresses.make_p2wsh_address(msig) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment