A collection of useful addresses on EVM chains for defi development
- Read the CONTRIBUTING doc first
- run
yarn
. This will install the packages and prepare husky pre-commit hook - Add addresses:
- If new platform:
- Add a file for the platform (i.e pancakeswap) under the respective chain in address-book/
- Add the third party contracts in an object there and export the object.
- Add the export to the chain's index.ts file.
- For tokens:
- Add to respective token.ts file, with token symbol as key. Make sure the decimals are correct for the token. Usually you can find this info via the chain's block explorer.
- If new platform:
- Try to commit the change. If it fails, its because the address isn't passing the checksum check. Look at the console output and paste the correct address.
- Once commit goes through, raise a PR
- If the checksum passes, a maintainer will review it and merge it
- Once merged, the package version will be bumped and the package will be published. Run
yarn upgrade
in the consuming repo to consume the new package version.