@beefyfinance/blockchain-addressbook
v0.59.9
Published
A collection of useful addresses on various chains for defi development
Downloads
4,753
Readme
address-book
A collection of useful addresses on EVM chains for defi development
Contributing
- Read the CONTRIBUTING doc first
- run
pnpm installfrom the repository root. This will install the packages and the lefthook 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:
- Commit the change. If an address isn't EIP-55 checksummed the commit hook rewrites it to the correct form and stages that, so the commit goes through with the address corrected.
- Once commit goes through, raise a PR
- A maintainer will review it and merge it
- Once merged, the package version will be bumped and the package will be published. Install
<package>@latestin the consuming repo to consume the new package version.
