connect icon indicating copy to clipboard operation
connect copied to clipboard

Where and how to pass the chainID?

Open aorumbayev opened this issue 1 year ago • 1 comments

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?

aorumbayev avatar Apr 12 '23 20:04 aorumbayev

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).

yasincaliskan avatar Oct 31 '23 08:10 yasincaliskan