List of ERC-20 tokens in the Hemi chains.
Obtain the latest version of the token list from directly from GitHub:
wget https://github.com/hemilabs/token-list/blob/master/src/hemi.tokenlist.jsonOr install it as an NPM package:
npm install @hemilabs/token-listand then use it in your code:
const hemiTokenList = require("@hemilabs/token-list");To add a new token to the list just follow this guide
This repository uses pnpm as the package manager. Enable Corepack to use the pinned version automatically:
corepack enableTo install the dependencies, run:
pnpm installTo run the tests, run:
pnpm testOnce the changes land into master, tag the commit, push it and publish a release.
That will trigger the action to publish the new version of the package in NPM.
git tag --sign --message="" v$(jq --raw-output '.version' <package.json)
git push origin v$(jq --raw-output '.version' <package.json)