Closed camstuart closed 5 years ago
hello, @camstuart You need to specify the network type to testnet:
//----- Init sdk -------------
client, err := sdk.NewDexClient("testnet-dex.binance.org", types.TestNetwork, keyManager)
or you can set global var types.Network = types.TestNetwork
Thank you so much! I need it toooooo!
Hi, I would like to understand test / prod wallet addresses better
I am creating a wallet like so:
And the public address can be obtained with:
But the testnet address is actually:
tbnb1683m5xkxa3p69yagrpdsvkp94xvx6utjf0cs9t
In the Go sdk, how do I derive or obtain the testnet address?