Replies: 3 comments
-
We can probably simplify it. The |
Beta Was this translation helpful? Give feedback.
0 replies
-
Any update on this ?@jxom ? |
Beta Was this translation helpful? Give feedback.
0 replies
-
IMO chain registry should follow EIP-3085 or close. Ideally this should be sent by the wallet but welp. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Currently the chain type include many field including names, rpcUrls, etc... as mandatory
the chainId should be the only thing mandatory since some provider do not need the rest, and actually I can cast
{id: myChainId} as Chain
succesfuly in the viem api that expect a chain object that I tested (except of course the one to switch network and add network)Is there a rationale why the Chain type include this or can we hope this to be simplified ?
Beta Was this translation helpful? Give feedback.
All reactions