pycoin icon indicating copy to clipboard operation
pycoin copied to clipboard

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

Open valentinc94 opened this issue 4 years ago • 1 comments

valentinc94 avatar Mar 08 '20 20:03 valentinc94

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.

randomlogin avatar Apr 29 '20 13:04 randomlogin