Skip to content

Commit

Permalink
add_RONIN (trustwallet#14319)
Browse files Browse the repository at this point in the history
* add_RONIN

Added Ronin Blockchain and assets.

* Add RONIN as valid token type

* Add ronin explorer support

* Fixes (sanity and consistency, auto)

Co-authored-by: catenocrypt <13562139+catenocrypt@users.noreply.github.com>
Co-authored-by: catenocrypt <catenocrypt@users.noreply.github.com>
  • Loading branch information
3 people authored Oct 12, 2021
1 parent 9a996c5 commit af570af
Show file tree
Hide file tree
Showing 9 changed files with 50 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
{
"name": "Axie Infinity Shard",
"website": "https://axieinfinity.com",
"description": "Axie Infinity Shards are Axie Infinity's governance token.",
"explorer": "https://explorer.roninchain.com/token/ronin:0x97a9107C1793BC407d6F527b77e7fff4D812bece",
"research": "https://research.binance.com/en/projects/axie-infinity",
"type": "RONIN",
"symbol": "AXS",
"decimals": 18,
"status": "active",
"id": "0x97a9107C1793BC407d6F527b77e7fff4D812bece"
}
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
{
"name": "Smooth Love Potion",
"website": "https://axieinfinity.com",
"description": "Smooth Love Potion (SLP) is an ERC-20 token on the Axie Infinity platform that is used to breed new digital pets (Axies).",
"explorer": "https://explorer.roninchain.com/token/ronin:0xa8754b9Fa15fc18BB59458815510E40a12cD2014",
"research": "https://research.binance.com/en/projects/small-love-potion",
"type": "RONIN",
"symbol": "SLP",
"decimals": 0,
"status": "active",
"id": "0xa8754b9Fa15fc18BB59458815510E40a12cD2014"
}
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{
"name": "Ronin Wrapped Ether",
"symbol": "WETH",
"type": "RONIN",
"decimals": 18,
"description": "-",
"website": "https://weth.io/",
"explorer": "https://explorer.roninchain.com/token/ronin:0xc99a6A985eD2Cac1ef41640596C5A5f9F4E19Ef5",
"status": "active",
"id": "0xc99a6A985eD2Cac1ef41640596C5A5f9F4E19Ef5"
}
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
12 changes: 12 additions & 0 deletions blockchains/ronin/info/info.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
{
"name": "Ronin",
"website": "https://skymavis.com",
"description": "Ronin unlocks explosive growth for Blockchain gaming and collectible projects.",
"explorer": "https://explorer.roninchain.com",
"research": "",
"symbol": "RON",
"type": "coin",
"decimals": 18,
"status": "active",
"links": []
}
Binary file added blockchains/ronin/info/logo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 3 additions & 0 deletions script/generic/asset-infos.ts
Original file line number Diff line number Diff line change
Expand Up @@ -223,6 +223,7 @@ export function chainFromAssetType(type: string): string {
case "ARBITRUM": return "arbitrum";
case "FANTOM": return "fantom";
case "TERRA": return "terra";
case "RONIN": return "ronin";
default: return "";
}
}
Expand Down Expand Up @@ -313,6 +314,8 @@ export function explorerUrl(chain: string, contract: string): string {
return `https://ftmscan.com/token/${contract}`
case "terra":
return `https://finder.terra.money/columbus-4/${contract}`
case "ronin":
return `https://explorer.roninchain.com/token/ronin:${contract}`
}
}
return "";
Expand Down

0 comments on commit af570af

Please sign in to comment.