Typescript SDK
Chain
The thirdweb SDK works with any EVM chain.
All you need to connect a chain is its chain id. RPC connection to the chain is handled for you.
The SDK comes with predefined popular chains like base, polygon, and more exported from the thirdweb/chains entrypoint.
You can also configure chains with custom RPC endpoints, native currency, block explorers, and more.