Skip to content

Commit

Permalink
Add Tron (ethereum-lists#5748)
Browse files Browse the repository at this point in the history
* tron

* standard none

* switch from cloudflare to dweb

---------

Co-authored-by: abs3ntdev <[email protected]>
Co-authored-by: ligi <[email protected]>
  • Loading branch information
3 people authored Aug 28, 2024
1 parent 149ffc6 commit 2caa326
Show file tree
Hide file tree
Showing 3 changed files with 36 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/pr_checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
27 changes: 27 additions & 0 deletions _data/chains/eip155-728126428.json
Original file line number Diff line number Diff line change
@@ -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"
}
]
}
8 changes: 8 additions & 0 deletions _data/icons/tron.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
[
{
"url": "ipfs://QmZCR3JnesjwLKRXtW8Vm9sJ4geEnXcAfQsARcv2NVpHSU",
"width": 1024,
"height": 1024,
"format": "png"
}
]

0 comments on commit 2caa326

Please sign in to comment.