From 2caa326010318ae390d15d575bdbdc3542a6559c Mon Sep 17 00:00:00 2001 From: abs3ntdev <86447830+abs3ntdev@users.noreply.github.com> Date: Wed, 28 Aug 2024 00:43:46 -0700 Subject: [PATCH] Add Tron (#5748) * tron * standard none * switch from cloudflare to dweb --------- Co-authored-by: abs3ntdev Co-authored-by: ligi --- .github/workflows/pr_checks.yml | 2 +- _data/chains/eip155-728126428.json | 27 +++++++++++++++++++++++++++ _data/icons/tron.json | 8 ++++++++ 3 files changed, 36 insertions(+), 1 deletion(-) create mode 100644 _data/chains/eip155-728126428.json create mode 100644 _data/icons/tron.json diff --git a/.github/workflows/pr_checks.yml b/.github/workflows/pr_checks.yml index a95936d70595..35a7174d9ef7 100644 --- a/.github/workflows/pr_checks.yml +++ b/.github/workflows/pr_checks.yml @@ -53,7 +53,7 @@ jobs: else echo "Trying to download the image..." TARGET_FILE=icon - curl -Lo icon "https://cloudflare-ipfs.com/ipfs/$IPFS_HASH" 2>/dev/null + curl -Lo icon "https://dweb.link/ipfs/$IPFS_HASH" 2>/dev/null fi METADATA=$(exiftool $TARGET_FILE -json) diff --git a/_data/chains/eip155-728126428.json b/_data/chains/eip155-728126428.json new file mode 100644 index 000000000000..b9963045ab78 --- /dev/null +++ b/_data/chains/eip155-728126428.json @@ -0,0 +1,27 @@ +{ + "name": "Tron Mainnet", + "chain": "TRON", + "rpc": [ + "https://rpc.ankr.com/tron_jsonrpc", + "https://api.trongrid.io/jsonrpc" + ], + "faucets": [], + "nativeCurrency": { + "name": "Tron", + "symbol": "TRX", + "decimals": 6 + }, + "infoURL": "https://tron.network", + "shortName": "tron", + "chainId": 728126428, + "networkId": 728126428, + "icon": "tron", + "explorers": [ + { + "name": "tronscan", + "url": "https://tronscan.org", + "icon": "tron", + "standard": "none" + } + ] +} diff --git a/_data/icons/tron.json b/_data/icons/tron.json new file mode 100644 index 000000000000..d7687de37543 --- /dev/null +++ b/_data/icons/tron.json @@ -0,0 +1,8 @@ +[ + { + "url": "ipfs://QmZCR3JnesjwLKRXtW8Vm9sJ4geEnXcAfQsARcv2NVpHSU", + "width": 1024, + "height": 1024, + "format": "png" + } +]