Skip to content

Commit

Permalink
Merge pull request #195 from 1Hive/branch_v6.0.3
Browse files Browse the repository at this point in the history
feat: zk testnet tokens
  • Loading branch information
kamikazebr authored Jun 11, 2023
2 parents d7b9caf + 2ced6d6 commit 84fde3c
Show file tree
Hide file tree
Showing 4 changed files with 41 additions and 7 deletions.
1 change: 1 addition & 0 deletions .nvmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
v20.2.0
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@1hive/default-token-list",
"version": "6.0.2",
"version": "6.0.3",
"description": "◦ The Honeyswap default token list",
"main": "build/index.json",
"scripts": {
Expand Down
5 changes: 3 additions & 2 deletions src/buildList.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
const { version } = require("../package.json");
const gnosis = require("./tokens/gnosis.json");
const polygon = require("./tokens/polygon.json");
const zktestnet = require("./tokens/zksynctestnet.json");

module.exports = function buildList() {
const parsed = version.split(".");
Expand All @@ -15,8 +16,8 @@ module.exports = function buildList() {
tags: {},
logoURI:
"https://ipfs.io/ipfs/bafybeihqunal3rxoz7bosmqxqobz2sz4nn62naufxqf2fyq35bepp4pkdy",
keywords: ["honeyswap", "gnosis", "polygon"],
tokens: [...gnosis, ...polygon]
keywords: ["honeyswap", "gnosis", "polygon","zksync"],
tokens: [...gnosis, ...polygon,...zktestnet]
// sort them by symbol for easy readability
.sort((t1, t2) => {
if (t1.chainId === t2.chainId) {
Expand Down
40 changes: 36 additions & 4 deletions src/tokens/zksynctestnet.json
Original file line number Diff line number Diff line change
@@ -1,18 +1,50 @@
[
{
"name": "Wrapped Ether from Ethereum",
"address": "0x6A023CCd1ff6F2045C3309768eAd9E68F978f6e1",
"address": "0x20b28B1e4665FFf290650586ad76E977EAb90c5D",
"symbol": "WETH",
"decimals": 18,
"chainId": 100,
"chainId": 280,
"logoURI": "https://raw.githubusercontent.com/trustwallet/assets/master/blockchains/ethereum/assets/0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2/logo.png"
},
{
"name": "USDC from Ethereum",
"address": "0xDDAfbb505ad214D7b80b1f830fcCc89B60fb7A83",
"address": "0x0faF6df7054946141266420b43783387A78d82A9",
"symbol": "USDC",
"decimals": 6,
"chainId": 100,
"chainId": 280,
"logoURI": "https://raw.githubusercontent.com/trustwallet/assets/master/blockchains/ethereum/assets/0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48/logo.png"
},
{
"name": "Dai Stablecoin",
"address": "0x3e7676937A7E96CFB7616f255b9AD9FF47363D4b",
"symbol": "DAI",
"decimals": 18,
"chainId": 280,
"logoURI": "https://raw.githubusercontent.com/trustwallet/assets/master/blockchains/ethereum/assets/0x6B175474E89094C44Da98b954EedeAC495271d0F/logo.png"
},
{
"name": "Wrapped BTC on ZkSync",
"address": "0x0BfcE1D53451B4a8175DD94e6e029F7d8a701e9c",
"symbol": "WBTC",
"decimals": 8,
"chainId": 280,
"logoURI": "https://raw.githubusercontent.com/1Hive/default-token-list/master/src/assets/ethereum/0x2260fac5e5542a773aa44fbcfedf7c193bc2c599/logo.png"
},
{
"name": "ChainLink Token from Ethereum",
"address": "0x40609141Db628BeEE3BfAB8034Fc2D8278D0Cc78",
"symbol": "LINK",
"decimals": 18,
"chainId": 280,
"logoURI": "https://raw.githubusercontent.com/trustwallet/assets/master/blockchains/ethereum/assets/0x514910771AF9Ca656af840dff83E8264EcF986CA/logo.png"
},
{
"name": "HoneyTest",
"address": "0x1f239b710Bc93274aBa0d21AbfB7F6c6aFb9e77a",
"symbol": "HNYT",
"decimals": 18,
"chainId": 280,
"logoURI": "https://raw.githubusercontent.com/1Hive/default-token-list/master/src/assets/gnosis/0x71850b7E9Ee3f13Ab46d67167341E4bDc905Eef9/logo.png"
}
]

1 comment on commit 84fde3c

@vercel
Copy link

@vercel vercel bot commented on 84fde3c Jun 11, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.