thirdweb chains
Fork & LICENSE
Forked from github.com/thirdweb-dev/js under Apache-2.0 license.
Customized to support additional chains & RPC formats.
Installation
yarn add @thirdweb-dev/chains
Development
pnpm run codegen
- Pulls and parses chain data from ethereum-lists/chains
- Note: this is a slow process, only run if the list is updated
pnpm run build
Contributing
Adding / Overriding Chain Data
Chain data is automatically pulled in from ethereum-lists/chains on every build.
Overriding Chain Data
Chain data can be overridden by running yarn override-chain
and following the prompts.
Adding A New Chain
In cases where a chain is not listed in the ethereum-lists/chains repo, you can add it manually by running yarn add-chain
and following the prompts.
Prefer adding chains to the ethereum-lists/chains repo instead of manually adding them here.