greymass / anchor

EOSIO Desktop Wallet and Authenticator
https://greymass.com/anchor/
MIT License
571 stars 220 forks source link

Blockchain not configured This blockchain has not been enabled for use within Anchor. #1350

Open Shaizaamjad opened 1 year ago

Shaizaamjad commented 1 year ago

Description

We are trying an anchor wallet SDK in unity and facing this error when we tried to run sdk of anchor wallet. We change the chain id and testnet URL in RPC but not working. SDK Link: https://liquiidio.gitbook.io/unity-plugin-suite/v/anchorlink/examples/example_a Error:"Blockchain not configured This blockchain has not been enabled for use within Anchor. In order to sign requests with this blockchain, you must first enable the blockchain and setup an account through the main interface." Followed all the Steps for blockchain configuration but getting this error again and again. I also changed chain id and Rpc but it's not working .If anyone know about this error Please let me know. Here's the code where i change Chain id and Rpc into testnet . public async void StartSession() { _link = new AnchorLink(new LinkOptions() { Transport = this.Transport,

            ChainId = "f16b1833c747c43682f4386fca9cbb327929334a762755ebec17f6f23c9b8a12",
            Rpc = "https://api.wax-test.liquidstudios.io",
            ZlibProvider = new NetZlibProvider(),
            Storage = new PlayerPrefsStorage()
        });

        await Login();
    }

Platform

Desktop (Windows)

Steps To Reproduce

1.Using this sdk in unity.https://liquiidio.gitbook.io/unity-plugin-suite/v/anchorlink/examples/example_a. 2.With Wax testnet and getting those errors.

  1. Getting this error image

Relevant log output

No response

Contact Details

shaiza.softtik@gmail.com

Anything else?

No response

aaroncox commented 1 year ago

When this happens, can you click the "Share Request" button in the lower left, and share the contents of that here?

Either the full esr:// link or the link to https://eosio.to, so we can inspect the contents of the request.

I have a feeling the SDK itself is sending the wrong network as the requested blockchain. Anchor itself doesn't have any issues normally selecting which network.