Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
Shaizaamjad opened this issue Aug 1, 2023 · 1 comment
Labels
anchor bug Something isn't working

Comments

@Shaizaamjad
Copy link

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.
3. Getting this error
image

Relevant log output

No response

Contact Details

[email protected]

Anything else?

No response

@Shaizaamjad Shaizaamjad added anchor bug Something isn't working labels Aug 1, 2023
@aaroncox
Copy link
Member

aaroncox commented Aug 1, 2023

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
anchor bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants