richardkiss/pycoin

how can i use testnet? can you help me with some example?

valentinc94 opened this issue · 1 comments

how can i use testnet? can you help me with some example?
from pycoin.networks.registry import network_for_netcode 
testnet_network = network_for_netcode("XTN")

Then you can work with it in the same way as you're working with the mainnet.