Official token list of Ubeswap.
To add a token to Ubeswap:
- Fork the repo so that you can push edits to a version of this repo that you have write permissions to. See docs for more details.
- Clone the repo. See docs for more details.
- Enter the repo via
cd default-token-list
. - Install dependencies via
yarn install
. Note: you must be on Node.js 14.x or later to do this. - Add your token's logo to
assets/
(it must be a PNG less than 200px by 200px or an svg). If your token symbol is TEST, your asset must be named TEST.png. - Add your token to
src/<network>.token-list.json
, where<network>
is the name of the network your token is deployed to. - Run
yarn build
to regenerate the main token list. - Submit a pull request. See docs for more details
Recommend the squoosh-cli.
yarn squoosh-cli --output-dir tmp/resized --resize '{width: 200}' --oxipng auto assets/asset_cETH.png
In certain cases such as if the proportions are not square or if automatic resize results in a larger file size than the orginal you will need to resize with another tool or re export from your graphics app.
MIT