Skip to content

How to change readOnlyChainId programmatically? #1130

@mint-pz

Description

@mint-pz

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions