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

No org ID provided from AlchemySignerWebClient #278

Open
RAIReth opened this issue Nov 11, 2024 · 0 comments
Open

No org ID provided from AlchemySignerWebClient #278

RAIReth opened this issue Nov 11, 2024 · 0 comments
Assignees
Labels
backend (bug) Something isn't working High Points Estimate Issue will generate a large amount of points. Will likely take days to solve. Multiple devs.

Comments

@RAIReth
Copy link
Collaborator

RAIReth commented Nov 11, 2024

The way our system works we need to support multiple blockchains and be able to switch between them, for this the v3 way of doing the connection with Alchemy was connecting the Web3Auth signer and then connecting to the Modular accounts from account kit

Our ideal implementation would be to replace the Web3Auth signer with the Alchemy signer.

Following the documentation we are trying to use the account-kit/infra instead of the react integration and hooks to connect.

I create the alchemy web signer and try to prepare the popup.

   const signer = new AlchemyWebSigner({
      client: {
        connection: {
          apiKey: chainData.alchemyAppKey
        },
        iframeConfig: {
          iframeContainerId: 'alchemy-signer-iframe-container'
        }
      }
    });
signer.preparePopupOauth();

But I get the error “No org ID provided” from AlchemySignerWebClient

Once that gets resolved I'd plan to authenticate with a light account or modular account, but this block of code never gets to execute because of the error from the websigner.

`signer.authenticate({
      type: 'oauth',
      authProviderId: 'google',
      mode: 'popup'
    });

    const client = createAlchemySmartAccountClient({
      transport: alchemyTransport,
      policyId: chainData.alchemyGasPolicy,
      chain: chainData.viem,
      account: await createLightAccount({
        chain: chainData.viem,
        transport: alchemyTransport,
        signer
      })
    });`
@RAIReth RAIReth added the backend (bug) Something isn't working label Nov 11, 2024
@RAIReth RAIReth self-assigned this Nov 11, 2024
@RAIReth RAIReth added the High Points Estimate Issue will generate a large amount of points. Will likely take days to solve. Multiple devs. label Nov 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backend (bug) Something isn't working High Points Estimate Issue will generate a large amount of points. Will likely take days to solve. Multiple devs.
Projects
Status: Todo
Development

No branches or pull requests

1 participant