This section for the XChain EVM library provides developers with step-by-step instructions on how to integrate and utilize the library in their projects. Below are the general steps for using the XChain EVM library.


yarn add @xchainjs/xchain-evm

Peer Dependencies

You can visit the xchain-evm package repository to get the updated peer dependencies by looking at the "peerDependencies" object in the "package.json" file.


This package is perfect if you need support for a EVM chain compatible with ethersjs that is not yet supported within Xchain. You may need to override some methods if the chain in question has specific behaviors.

If you do so, don't forget to leave it in PR so that other community members can use your work.

For more information about the API of the package, please click here

Last updated