Currently, the JS SDK can only use mainnet if the dapiAddresses client option is used.
Possible Solution
Update to work more like testnet where simply setting the network type is all that's required. Or provide a mainnet seed that could be used instead of hard-coding specific evonode addresses.
Expected Behavior
The
mainnet
network type would be supported.Current Behavior
Currently, the JS SDK can only use mainnet if the
dapiAddresses
client option is used.Possible Solution
Update to work more like testnet where simply setting the network type is all that's required. Or provide a mainnet seed that could be used instead of hard-coding specific evonode addresses.
Alternatives Considered
Additional Context