diff --git a/blockchains/polygon/allowlist.json b/blockchains/polygon/allowlist.json new file mode 100644 index 000000000..40731c33d --- /dev/null +++ b/blockchains/polygon/allowlist.json @@ -0,0 +1,3 @@ +[ + "0xAdA58DF0F643D959C2A47c9D4d4c1a4deFe3F11C" +] \ No newline at end of file diff --git a/blockchains/polygon/assets/0xAdA58DF0F643D959C2A47c9D4d4c1a4deFe3F11C/info.json b/blockchains/polygon/assets/0xAdA58DF0F643D959C2A47c9D4d4c1a4deFe3F11C/info.json new file mode 100644 index 000000000..84b55c393 --- /dev/null +++ b/blockchains/polygon/assets/0xAdA58DF0F643D959C2A47c9D4d4c1a4deFe3F11C/info.json @@ -0,0 +1,11 @@ +{ + "name": "Crypto.com Coin", + "website": "https://crypto.com/", + "description": "The most profitable and secure platform to entrust your digital assets. Absolutely safe with multi-layer encrypted protection.", + "explorer": "https://polygonscan.com/token/0xAdA58DF0F643D959C2A47c9D4d4c1a4deFe3F11C", + "type": "POLYGON-ERC20", + "symbol": "CRO", + "decimals": 8, + "status": "active", + "id": "0xAdA58DF0F643D959C2A47c9D4d4c1a4deFe3F11C" +} \ No newline at end of file diff --git a/blockchains/polygon/assets/0xAdA58DF0F643D959C2A47c9D4d4c1a4deFe3F11C/logo.png b/blockchains/polygon/assets/0xAdA58DF0F643D959C2A47c9D4d4c1a4deFe3F11C/logo.png new file mode 100644 index 000000000..f3c46a06b Binary files /dev/null and b/blockchains/polygon/assets/0xAdA58DF0F643D959C2A47c9D4d4c1a4deFe3F11C/logo.png differ diff --git a/blockchains/polygon/denylist.json b/blockchains/polygon/denylist.json new file mode 100644 index 000000000..0637a088a --- /dev/null +++ b/blockchains/polygon/denylist.json @@ -0,0 +1 @@ +[] \ No newline at end of file diff --git a/blockchains/polygon/info/info.json b/blockchains/polygon/info/info.json index af253815b..d430af4ca 100644 --- a/blockchains/polygon/info/info.json +++ b/blockchains/polygon/info/info.json @@ -3,7 +3,7 @@ "website": "https://polygon.technology/", "short_description": "Polygon (Matic) strives to solve the scalability and usability issues, while not compromising on decentralization and leveraging the existing developer community and ecosystem", "description": "Polygon (Matic) strives to solve the scalability and usability issues, while not compromising on decentralization and leveraging the existing developer community and ecosystem", - "explorer": "https://explorer.matic.network/", + "explorer": "https://polygonscan.com/", "research": "https://docs.matic.network/", "type": "coin", "symbol": "MATIC", diff --git a/script/generic/asset-infos.ts b/script/generic/asset-infos.ts index 144449740..6fab48926 100644 --- a/script/generic/asset-infos.ts +++ b/script/generic/asset-infos.ts @@ -209,6 +209,7 @@ export function chainFromAssetType(type: string): string { case "XDAI": return "xdai"; case "WAVES": return "waves"; case "POA": return "poa"; + case "POLYGON-ERC20": return "polygon"; default: return ""; } } @@ -285,7 +286,10 @@ export function explorerUrl(chain: string, contract: string): string { case CoinType.name(CoinType.poa).toLowerCase(): case 'poa': return `https://blockscout.com/poa/core/tokens/${contract}`; - } + + case CoinType.name(CoinType.polygon).toLowerCase(): + case 'polygon': + return `https://polygonscan.com/token/${contract}`; } } return ""; } diff --git a/script/generic/blockchains.ts b/script/generic/blockchains.ts index d1daf6d0f..bf2d21c4b 100644 --- a/script/generic/blockchains.ts +++ b/script/generic/blockchains.ts @@ -25,6 +25,7 @@ export const Wanchain = getChainName(CoinType.wanchain); export const Waves = getChainName(CoinType.waves); export const Solana = getChainName(CoinType.solana); export const SmartChain = getChainName(CoinType.smartchain); +export const Polygon = getChainName(CoinType.polygon); export const ethForkChains = [ Ethereum, @@ -35,6 +36,7 @@ export const ethForkChains = [ Wanchain, ThunderCore, SmartChain, + Polygon, ]; export const stakingChains = [ Tezos,