From 9171b832774a665dfd8786910094fb41418c5011 Mon Sep 17 00:00:00 2001 From: AjayiMike Date: Thu, 27 Jul 2023 20:05:30 +0100 Subject: [PATCH] update --- build/nahmii.tokenlist.json | 182 +----------------- package.json | 2 +- src/buildList.js | 6 +- src/tokens/nahmii3_internal_testnet.json | 178 ----------------- ...blic_testnet.json => nahmii3_testnet.json} | 0 5 files changed, 6 insertions(+), 362 deletions(-) delete mode 100644 src/tokens/nahmii3_internal_testnet.json rename src/tokens/{nahmii3_public_testnet.json => nahmii3_testnet.json} (100%) diff --git a/build/nahmii.tokenlist.json b/build/nahmii.tokenlist.json index 1f5c168..023f489 100644 --- a/build/nahmii.tokenlist.json +++ b/build/nahmii.tokenlist.json @@ -1,10 +1,10 @@ { "name": "Nahmii token list", - "timestamp": "2023-07-27T10:20:32.842Z", + "timestamp": "2023-07-27T19:04:16.035Z", "version": { - "major": 0, + "major": 2, "minor": 0, - "patch": 1 + "patch": 0 }, "tags": {}, "logoURI": "https://ipfs.io/ipfs/QmZiMZuShJtZ9pigejjdwHq2iyQTQiaVP4QXGtwt22gkPJ", @@ -310,182 +310,6 @@ "nahmiiBridgeAddress": "0x4200000000000000000000000000000000000010" } }, - { - "chainId": 4064, - "address": "0x6684DA8CFc890b4dBED78D7f1C4ABe7C2cd49488", - "name": "KniightCoin", - "symbol": "KNII", - "decimals": 18, - "logoURI": "https://raw.githubusercontent.com/NiiFi/tokenIcons/dev/0xB68553758df8c253746d3cED96aA1De896F09470/logo.png", - "extensions": { - "nahmiiBridgeAddress": "0x4200000000000000000000000000000000000010" - } - }, - { - "chainId": 4064, - "address": "0xE5685433c26149A75165C2A77e5B3daf5c101C82", - "name": "Nahmii EURO", - "symbol": "NEURO", - "decimals": 6, - "logoURI": "https://raw.githubusercontent.com/NiiFi/tokenIcons/dev/0xB59C984a529490fde6698702342b292840743bb8/logo.png", - "extensions": { - "nahmiiBridgeAddress": "0x4200000000000000000000000000000000000010" - } - }, - { - "chainId": 4064, - "address": "0x513472ADD209Bb9e68C9F9b7666db3F3c615a065", - "name": "Nahmii", - "symbol": "NII", - "decimals": 15, - "logoURI": "https://raw.githubusercontent.com/NiiFi/tokenIcons/dev/0xab151cD390C6b0eB41A4a45E1E372972C3067b1a/logo.png", - "extensions": { - "nahmiiBridgeAddress": "0x4200000000000000000000000000000000000010" - } - }, - { - "chainId": 4064, - "address": "0x370ac30FCD8cbebA58cBDbd6A88e3c079e23d0Fa", - "name": "Nahmii USD", - "symbol": "NUSD", - "decimals": 6, - "logoURI": "https://raw.githubusercontent.com/NiiFi/tokenIcons/dev/0xab151cD390C6b0eB41A4a45E1E372972C3067b1a/logo.png", - "extensions": { - "nahmiiBridgeAddress": "0x4200000000000000000000000000000000000010" - } - }, - { - "address": "0xE80d406a3EC5A67127c76c004Ba091F36B9396A0", - "chainId": 4064, - "name": "TokenAMintable", - "symbol": "TKAM", - "logoURI": "https://ui-avatars.com/api/?name=TKA&background=random&length=4&bold=true", - "decimals": 18, - "extensions": { - "nahmiiBridgeAddress": "0x4200000000000000000000000000000000000010" - } - }, - { - "chainId": 4064, - "address": "0xFC95598C13755acB359e1F57734DD4B1fb8485F1", - "name": "TokenBMintable", - "symbol": "TKBM", - "logoURI": "https://ui-avatars.com/api/?name=TKB&background=random&length=4&bold=true", - "decimals": 18, - "extensions": { - "nahmiiBridgeAddress": "0x4200000000000000000000000000000000000010" - } - }, - { - "chainId": 4064, - "address": "0x2869d3166d30b922Ae3944CDE946Da3791787e90", - "name": "TokenCMintable", - "symbol": "TKCM", - "logoURI": "https://ui-avatars.com/api/?name=TKC&background=random&length=4&bold=true", - "decimals": 18, - "extensions": { - "nahmiiBridgeAddress": "0x4200000000000000000000000000000000000010" - } - }, - { - "chainId": 4064, - "address": "0x1bb31cD973dd87fFa2FE6b91806F0738340AA1Ff", - "name": "TokenDMintable", - "symbol": "TKDM", - "logoURI": "https://ui-avatars.com/api/?name=TKD&background=random&length=4&bold=true", - "decimals": 18, - "extensions": { - "nahmiiBridgeAddress": "0x4200000000000000000000000000000000000010" - } - }, - { - "chainId": 4064, - "address": "0x868700E5eaFf04D17C70Fa82997db8b986D800bb", - "name": "TokenEMintable", - "symbol": "TKEM", - "logoURI": "https://ui-avatars.com/api/?name=TKE&background=random&length=4&bold=true", - "decimals": 18, - "extensions": { - "nahmiiBridgeAddress": "0x4200000000000000000000000000000000000010" - } - }, - { - "chainId": 4064, - "address": "0x1E2f8C73c9bc41621c077CCDc9C3FcE955c68Cd8", - "name": "TokenFMintable", - "symbol": "TKFM", - "logoURI": "https://ui-avatars.com/api/?name=TKF&background=random&length=4&bold=true", - "decimals": 18, - "extensions": { - "nahmiiBridgeAddress": "0x4200000000000000000000000000000000000010" - } - }, - { - "chainId": 4064, - "address": "0x750C1Fd679747Ea6AC7183E98bA9f6CCe89B579B", - "name": "TokenGMintable", - "symbol": "TKGM", - "logoURI": "https://ui-avatars.com/api/?name=TKG&background=random&length=4&bold=true", - "decimals": 18, - "extensions": { - "nahmiiBridgeAddress": "0x4200000000000000000000000000000000000010" - } - }, - { - "chainId": 4064, - "address": "0xb2d912B1fC7b446787ff0A8197417E151575c4e0", - "name": "TokenHMintable", - "symbol": "TKHM", - "logoURI": "https://ui-avatars.com/api/?name=TKH&background=random&length=4&bold=true", - "decimals": 18, - "extensions": { - "nahmiiBridgeAddress": "0x4200000000000000000000000000000000000010" - } - }, - { - "chainId": 4064, - "address": "0x46b521a81eD80006cCD4FcABDbA49274D1B8b443", - "name": "TokenIMintable", - "symbol": "TKIM", - "logoURI": "https://ui-avatars.com/api/?name=TKI&background=random&length=4&bold=true", - "decimals": 18, - "extensions": { - "nahmiiBridgeAddress": "0x4200000000000000000000000000000000000010" - } - }, - { - "chainId": 4064, - "address": "0xb698FD70B079742d44DCfd0B07DE3Ad452f48918", - "name": "TokenJMintable", - "symbol": "TKJM", - "logoURI": "https://ui-avatars.com/api/?name=TKJ&background=random&length=4&bold=true", - "decimals": 18, - "extensions": { - "nahmiiBridgeAddress": "0x4200000000000000000000000000000000000010" - } - }, - { - "chainId": 4064, - "address": "0x5e422b37e3d8a7aeC0338E0593E890f387F6B1F2", - "name": "Troll", - "symbol": "TRL", - "decimals": 18, - "logoURI": "https://raw.githubusercontent.com/NiiFi/tokenIcons/dev/0xB68553758df8c253746d3cED96aA1De896F09470/logo.png", - "extensions": { - "nahmiiBridgeAddress": "0x4200000000000000000000000000000000000010" - } - }, - { - "chainId": 4064, - "address": "0x4200000000000000000000000000000000000006", - "name": "Wrapped Ether", - "symbol": "WETH", - "logoURI": "https://raw.githubusercontent.com/NiiFi/tokenIcons/dev/0xab151cD390C6b0eB41A4a45E1E372972C3067b1a/logo.png", - "decimals": 18, - "extensions": { - "nahmiiBridgeAddress": "0x4200000000000000000000000000000000000010" - } - }, { "chainId": 5551, "address": "0xd031a1682399FaD6683FF3c60De8AB5DD3B3D0A3", diff --git a/package.json b/package.json index 9687a02..2c46520 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@nahmii/token-list", - "version": "1.0.0", + "version": "2.0.0", "description": "Nahmii token list", "main": "build/nahmii-tokenlist.json", "license": "MIT", diff --git a/src/buildList.js b/src/buildList.js index 49efd7d..a34c66f 100644 --- a/src/buildList.js +++ b/src/buildList.js @@ -4,8 +4,7 @@ const ropsten = require("./tokens/ropsten.json"); const goerli = require("./tokens/goerli.json"); const nahmii2 = require("./tokens/nahmii2.json"); const nahmii2_testnet = require("./tokens/nahmii2_testnet.json"); -const nahmii3_public_testnet = require("./tokens/nahmii3_public_testnet.json"); -const nahmii3_internal_testnet = require("./tokens/nahmii3_internal_testnet.json"); +const nahmii3_testnet = require("./tokens/nahmii3_testnet.json"); const { getAddress } = require("@ethersproject/address"); module.exports = function buildList() { @@ -28,8 +27,7 @@ module.exports = function buildList() { ...ropsten, ...nahmii2_testnet, ...goerli, - ...nahmii3_public_testnet, - ...nahmii3_internal_testnet, + ...nahmii3_testnet, ] .map((token) => ({ ...token, address: getAddress(token.address) })) .sort((t1, t2) => { diff --git a/src/tokens/nahmii3_internal_testnet.json b/src/tokens/nahmii3_internal_testnet.json deleted file mode 100644 index be7ed42..0000000 --- a/src/tokens/nahmii3_internal_testnet.json +++ /dev/null @@ -1,178 +0,0 @@ -[ - { - "chainId": 4064, - "address": "0x4200000000000000000000000000000000000006", - "name": "Wrapped Ether", - "symbol": "WETH", - "logoURI": "https://raw.githubusercontent.com/NiiFi/tokenIcons/dev/0xab151cD390C6b0eB41A4a45E1E372972C3067b1a/logo.png", - "decimals": 18, - "extensions": { - "nahmiiBridgeAddress": "0x4200000000000000000000000000000000000010" - } - }, - { - "chainId": 4064, - "address": "0x513472ADD209Bb9e68C9F9b7666db3F3c615a065", - "name": "Nahmii", - "symbol": "NII", - "decimals": 15, - "logoURI": "https://raw.githubusercontent.com/NiiFi/tokenIcons/dev/0xab151cD390C6b0eB41A4a45E1E372972C3067b1a/logo.png", - "extensions": { - "nahmiiBridgeAddress": "0x4200000000000000000000000000000000000010" - } - }, - { - "chainId": 4064, - "address": "0x370ac30FCD8cbebA58cBDbd6A88e3c079e23d0Fa", - "name": "Nahmii USD", - "symbol": "NUSD", - "decimals": 6, - "logoURI": "https://raw.githubusercontent.com/NiiFi/tokenIcons/dev/0xab151cD390C6b0eB41A4a45E1E372972C3067b1a/logo.png", - "extensions": { - "nahmiiBridgeAddress": "0x4200000000000000000000000000000000000010" - } - }, - { - "chainId": 4064, - "address": "0xE5685433c26149A75165C2A77e5B3daf5c101C82", - "name": "Nahmii EURO", - "symbol": "NEURO", - "decimals": 6, - "logoURI": "https://raw.githubusercontent.com/NiiFi/tokenIcons/dev/0xB59C984a529490fde6698702342b292840743bb8/logo.png", - "extensions": { - "nahmiiBridgeAddress": "0x4200000000000000000000000000000000000010" - } - }, - { - "chainId": 4064, - "address": "0x6684DA8CFc890b4dBED78D7f1C4ABe7C2cd49488", - "name": "KniightCoin", - "symbol": "KNII", - "decimals": 18, - "logoURI": "https://raw.githubusercontent.com/NiiFi/tokenIcons/dev/0xB68553758df8c253746d3cED96aA1De896F09470/logo.png", - "extensions": { - "nahmiiBridgeAddress": "0x4200000000000000000000000000000000000010" - } - }, - { - "chainId": 4064, - "address": "0x5e422b37e3d8a7aeC0338E0593E890f387F6B1F2", - "name": "Troll", - "symbol": "TRL", - "decimals": 18, - "logoURI": "https://raw.githubusercontent.com/NiiFi/tokenIcons/dev/0xB68553758df8c253746d3cED96aA1De896F09470/logo.png", - "extensions": { - "nahmiiBridgeAddress": "0x4200000000000000000000000000000000000010" - } - }, - { - "address": "0xE80d406a3EC5A67127c76c004Ba091F36B9396A0", - "chainId": 4064, - "name": "TokenAMintable", - "symbol": "TKAM", - "logoURI": "https://ui-avatars.com/api/?name=TKA&background=random&length=4&bold=true", - "decimals": 18, - "extensions": { - "nahmiiBridgeAddress": "0x4200000000000000000000000000000000000010" - } - }, - { - "chainId": 4064, - "address": "0xFC95598C13755acB359e1F57734DD4B1fb8485F1", - "name": "TokenBMintable", - "symbol": "TKBM", - "logoURI": "https://ui-avatars.com/api/?name=TKB&background=random&length=4&bold=true", - "decimals": 18, - "extensions": { - "nahmiiBridgeAddress": "0x4200000000000000000000000000000000000010" - } - }, - { - "chainId": 4064, - "address": "0x2869d3166d30b922Ae3944CDE946Da3791787e90", - "name": "TokenCMintable", - "symbol": "TKCM", - "logoURI": "https://ui-avatars.com/api/?name=TKC&background=random&length=4&bold=true", - "decimals": 18, - "extensions": { - "nahmiiBridgeAddress": "0x4200000000000000000000000000000000000010" - } - }, - { - "chainId": 4064, - "address": "0x1bb31cD973dd87fFa2FE6b91806F0738340AA1Ff", - "name": "TokenDMintable", - "symbol": "TKDM", - "logoURI": "https://ui-avatars.com/api/?name=TKD&background=random&length=4&bold=true", - "decimals": 18, - "extensions": { - "nahmiiBridgeAddress": "0x4200000000000000000000000000000000000010" - } - }, - { - "chainId": 4064, - "address": "0x868700E5eaFf04D17C70Fa82997db8b986D800bb", - "name": "TokenEMintable", - "symbol": "TKEM", - "logoURI": "https://ui-avatars.com/api/?name=TKE&background=random&length=4&bold=true", - "decimals": 18, - "extensions": { - "nahmiiBridgeAddress": "0x4200000000000000000000000000000000000010" - } - }, - { - "chainId": 4064, - "address": "0x1E2f8C73c9bc41621c077CCDc9C3FcE955c68Cd8", - "name": "TokenFMintable", - "symbol": "TKFM", - "logoURI": "https://ui-avatars.com/api/?name=TKF&background=random&length=4&bold=true", - "decimals": 18, - "extensions": { - "nahmiiBridgeAddress": "0x4200000000000000000000000000000000000010" - } - }, - { - "chainId": 4064, - "address": "0x750C1Fd679747Ea6AC7183E98bA9f6CCe89B579B", - "name": "TokenGMintable", - "symbol": "TKGM", - "logoURI": "https://ui-avatars.com/api/?name=TKG&background=random&length=4&bold=true", - "decimals": 18, - "extensions": { - "nahmiiBridgeAddress": "0x4200000000000000000000000000000000000010" - } - }, - { - "chainId": 4064, - "address": "0xb2d912B1fC7b446787ff0A8197417E151575c4e0", - "name": "TokenHMintable", - "symbol": "TKHM", - "logoURI": "https://ui-avatars.com/api/?name=TKH&background=random&length=4&bold=true", - "decimals": 18, - "extensions": { - "nahmiiBridgeAddress": "0x4200000000000000000000000000000000000010" - } - }, - { - "chainId": 4064, - "address": "0x46b521a81eD80006cCD4FcABDbA49274D1B8b443", - "name": "TokenIMintable", - "symbol": "TKIM", - "logoURI": "https://ui-avatars.com/api/?name=TKI&background=random&length=4&bold=true", - "decimals": 18, - "extensions": { - "nahmiiBridgeAddress": "0x4200000000000000000000000000000000000010" - } - }, - { - "chainId": 4064, - "address": "0xb698FD70B079742d44DCfd0B07DE3Ad452f48918", - "name": "TokenJMintable", - "symbol": "TKJM", - "logoURI": "https://ui-avatars.com/api/?name=TKJ&background=random&length=4&bold=true", - "decimals": 18, - "extensions": { - "nahmiiBridgeAddress": "0x4200000000000000000000000000000000000010" - } - } -] diff --git a/src/tokens/nahmii3_public_testnet.json b/src/tokens/nahmii3_testnet.json similarity index 100% rename from src/tokens/nahmii3_public_testnet.json rename to src/tokens/nahmii3_testnet.json