useDApp icon indicating copy to clipboard operation
useDApp copied to clipboard

How to change readOnlyChainId programmatically?

Open mint-pz opened this issue 1 year ago • 0 comments

Describe

In the example of Reading without a browser wallet, we set readOnlyChainId to Mainnet.chainId to read the data on Mainnet without activation required. How if I have a button to switch to Goerli? Is there a way to allow setting the readOnlyChainId property programmatically in this case to read the data on Goerli testnet without activation required?

mint-pz avatar Jul 28 '23 07:07 mint-pz