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

Solana RPC requires API token #5

Open
zarifpour opened this issue Nov 13, 2024 · 1 comment · May be fixed by #6
Open

Solana RPC requires API token #5

zarifpour opened this issue Nov 13, 2024 · 1 comment · May be fixed by #6

Comments

@zarifpour
Copy link

inpage.js:2 Failed to get token balances Error: 401 : {"message":"Usage without a token is no longer available. For future use, register and receive a free API token https://app.extrnode.com"}
@zarifpour
Copy link
Author

You can fix this by adding the rpcs to your WormholeConnectConfig with your API token:

  const wormholeConfig: WormholeConnectConfig = {
    network: 'Mainnet',
    chains: ['Ethereum', 'Base', 'Solana'],
    tokens: [...],
    rpcs: {
      Solana: 'https://solana-mainnet.rpc.extrnode.com/YOUR_API_TOKEN',
    },
    ...

@zarifpour zarifpour linked a pull request Nov 13, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant