how can i use testnet? can you help me with some example?
valentinc94 opened this issue · 1 comments
valentinc94 commented
how can i use testnet? can you help me with some example?
randomlogin commented
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.