connect
connect copied to clipboard
Where and how to pass the chainID?
Hey folks,
I recall in older version there was a PeraWalletNetwork object that could be passed to connect method to specify chainID.
This has been refactored in latest versions but its not clear based on README on how to pass the parameters.
Could you provide a sample or update the readme with snippet displaying this being passed?
Hey @aorumbayev , you can check out Pera Connect Docs.
You can specify chainId depends on your requirements. You don't specify, it will be 4160
by default and it works on each network (mainnnet, testnet, and betanet).