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

How can I upload an icon to a specific chain? #1

Open
nanthanwa opened this issue Oct 15, 2024 · 0 comments
Open

How can I upload an icon to a specific chain? #1

nanthanwa opened this issue Oct 15, 2024 · 0 comments

Comments

@nanthanwa
Copy link

I've tried to override the image but it doesn't work

import { jbc, base, baseSepolia } from "@particle-network/connectkit/chains";

const config = createConfig({
  ...,
  chains: [{...jbc, image: '/public/images/chain-jbc.svg'} as Chain, base, baseSepolia],
});

It always fetches the icon from https://static.particle.network/chains/evm/icons/8899.png and returns a 404

this is the icon for chain 8899 (JBC)
chain-jbc

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

No branches or pull requests

1 participant