Skip to content

Commit

Permalink
[ASSET-44] Add Core network (#51)
Browse files Browse the repository at this point in the history
* ASSET-44 Add Core network

Signed-off-by: jormal <[email protected]>

* ASSET-44 Add Core assets

Signed-off-by: jormal <[email protected]>

* ASSET-44 Add images

Signed-off-by: jormal <[email protected]>

* ASSET-44 Update assets

Signed-off-by: jormal <[email protected]>

* ASSET-44 Add filter to check contract validation

Signed-off-by: jormal <[email protected]>

---------

Signed-off-by: jormal <[email protected]>
  • Loading branch information
jormal authored Dec 3, 2024
1 parent 59ff6b5 commit 010fdf8
Show file tree
Hide file tree
Showing 35 changed files with 291 additions and 2 deletions.
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
2.0.12
2.1.0
10 changes: 10 additions & 0 deletions assets/btcb-0/info.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,15 @@
{
"contracts": [
{
"address": "0x7A6888c85eDBA8E38F6C7E0485212da602761C08",
"decimals": 18,
"name": "BTCB",
"network": "evm-1116",
"symbol": "BTCB",
"tags": [
"mainnet"
]
},
{
"address": "0xd267F821F1b8344B5A63626c8c824697194A173E",
"decimals": 18,
Expand Down
10 changes: 10 additions & 0 deletions assets/btcusd-0/info.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,15 @@
{
"contracts": [
{
"address": "0xad0c524Ce19ceA03654Dc377da7Bac52C56eDd10",
"decimals": 18,
"name": "Bitcoin USD",
"network": "evm-1116",
"symbol": "BtcUSD",
"tags": [
"mainnet"
]
},
{
"address": "0x6906Ccda405926FC3f04240187dd4fAd5DF6d555",
"decimals": 18,
Expand Down
Binary file added assets/core-0/image-128.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/core-0/image-256.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/core-0/image-32.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/core-0/image-64.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
10 changes: 10 additions & 0 deletions assets/core-0/image.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
56 changes: 56 additions & 0 deletions assets/core-0/info.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,56 @@
{
"contracts": [
{
"address": "0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE",
"decimals": 18,
"name": "Core Blockchain Testnet Native Token",
"network": "evm-1115",
"symbol": "tCORE",
"tags": [
"native-coin",
"testnet"
]
},
{
"address": "0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE",
"decimals": 18,
"name": "Core Blockchain Native Token",
"network": "evm-1116",
"symbol": "CORE",
"tags": [
"mainnet",
"native-coin"
]
},
{
"address": "0xA8079B9F389F0E1e6d2Deb2E434209eC6a52e6c6",
"decimals": 18,
"name": "Unified CORE",
"network": "evm-3068",
"symbol": "CORE",
"tags": [
"mainnet"
]
}
],
"id": "core-0",
"images": {
"png128": true,
"png256": true,
"png32": true,
"png64": true,
"svg": true
},
"name": "Core Blockchain Native Token",
"references": [
{
"id": "coingecko",
"url": "https://www.coingecko.com/en/coins/core"
},
{
"id": "coinmarketcap",
"url": "https://coinmarketcap.com/currencies/core-dao"
}
],
"tags": []
}
Binary file added assets/unknown-core/image-128.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/unknown-core/image-256.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/unknown-core/image-32.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/unknown-core/image-64.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
10 changes: 10 additions & 0 deletions assets/unknown-core/image.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
37 changes: 37 additions & 0 deletions assets/unknown-core/info.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
{
"contracts": [
{
"address": "0xFFfFfFffFFfffFFfFFfFFFFFffFFFffffFfFFFfF",
"decimals": 0,
"name": "Unknown Core Asset",
"network": "evm-1115",
"symbol": "UNKNOWN",
"tags": [
"testnet"
]
},
{
"address": "0xFFfFfFffFFfffFFfFFfFFFFFffFFFffffFfFFFfF",
"decimals": 0,
"name": "Unknown Core Asset",
"network": "evm-1116",
"symbol": "UNKNOWN",
"tags": [
"mainnet"
]
}
],
"id": "unknown-core",
"images": {
"png128": true,
"png256": true,
"png32": true,
"png64": true,
"svg": true
},
"name": "Unknown Core Asset",
"references": [],
"tags": [
"core"
]
}
10 changes: 10 additions & 0 deletions assets/wbtc-0/info.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,16 @@
"testnet"
]
},
{
"address": "0x5832f53d147b3d6Cd4578B9CBD62425C7ea9d0Bd",
"decimals": 8,
"name": "WBTC",
"network": "evm-1116",
"symbol": "WBTC",
"tags": [
"mainnet"
]
},
{
"address": "0x1BFD67037B42Cf73acF2047067bd4F2C47D9BfD6",
"decimals": 8,
Expand Down
8 changes: 8 additions & 0 deletions enums/ids/asset.json
Original file line number Diff line number Diff line change
Expand Up @@ -355,6 +355,10 @@
"description": "Compound Coin",
"value": "comp-0"
},
{
"description": "Core Blockchain Native Token",
"value": "core-0"
},
{
"description": "CorgiAI",
"value": "corgiai-0"
Expand Down Expand Up @@ -1255,6 +1259,10 @@
"description": "Unknown BNB Asset",
"value": "unknown-bnb"
},
{
"description": "Unknown Core Asset",
"value": "unknown-core"
},
{
"description": "Unknown Ethereum Asset",
"value": "unknown-ethereum"
Expand Down
4 changes: 4 additions & 0 deletions enums/ids/network.explorer.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,10 @@
"value": "blockscout",
"description": "Explorer powered by Blockscout"
},
{
"value": "corescan",
"description": "Explorer powered by Core"
},
{
"value": "dexguru",
"description": "Explorer powered by DexGuru"
Expand Down
8 changes: 8 additions & 0 deletions enums/ids/network.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,10 @@
"description": "Klaytn Testnet Baobab",
"value": "evm-1001"
},
{
"description": "Core Blockchain Testnet",
"value": "evm-1115"
},
{
"description": "Ethereum Testnet Sepolia",
"value": "evm-11155111"
Expand All @@ -27,6 +31,10 @@
"description": "OP Sepolia Testnet",
"value": "evm-11155420"
},
{
"description": "Core Blockchain Mainnet",
"value": "evm-1116"
},
{
"description": "Polygon Mainnet",
"value": "evm-137"
Expand Down
4 changes: 4 additions & 0 deletions enums/tags/asset.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,10 @@
"value": "bnb",
"description": "Main network of asset is BNB chain"
},
{
"value": "core",
"description": "Main network of asset is Core"
},
{
"value": "ethereum",
"description": "Main network of asset is Ethereum"
Expand Down
4 changes: 4 additions & 0 deletions enums/tags/network.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,10 @@
"value": "bnb",
"description": "BNB networks"
},
{
"value": "core",
"description": "Core networks"
},
{
"value": "ethereum",
"description": "Ethereum networks"
Expand Down
8 changes: 8 additions & 0 deletions libraries/constants/rpc.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,10 @@
"id": "evm-1001",
"url": "https://public-rpc.thebifrost.io/test/kaia"
},
{
"id": "evm-1115",
"url": null
},
{
"id": "evm-11155111",
"url": "https://public-rpc.thebifrost.io/test/eth"
Expand All @@ -19,6 +23,10 @@
"id": "evm-11155420",
"url": "https://public-rpc.thebifrost.io/test/op"
},
{
"id": "evm-1116",
"url": "https://public-rpc.thebifrost.io/main/core"
},
{
"id": "evm-137",
"url": "https://public-rpc.thebifrost.io/main/polygon"
Expand Down
Binary file added networks/evm-1115/image-128.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added networks/evm-1115/image-256.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added networks/evm-1115/image-32.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added networks/evm-1115/image-64.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
10 changes: 10 additions & 0 deletions networks/evm-1115/image.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
30 changes: 30 additions & 0 deletions networks/evm-1115/info.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
{
"currency": {
"address": "0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE",
"decimals": 18,
"id": "core-0",
"name": "Core Blockchain Testnet Native Token",
"symbol": "tCORE"
},
"engine": "evm",
"explorers": [
{
"id": "corescan",
"url": "https://scan.test.btcs.network/"
}
],
"id": "evm-1115",
"images": {
"png128": true,
"png256": true,
"png32": true,
"png64": true,
"svg": true
},
"name": "Core Blockchain Testnet",
"network": "testnet",
"tags": [
"core"
],
"unknownAssetId": "unknown-core"
}
Binary file added networks/evm-1116/image-128.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added networks/evm-1116/image-256.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added networks/evm-1116/image-32.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added networks/evm-1116/image-64.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
10 changes: 10 additions & 0 deletions networks/evm-1116/image.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
30 changes: 30 additions & 0 deletions networks/evm-1116/info.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
{
"currency": {
"address": "0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE",
"decimals": 18,
"id": "core-0",
"name": "Core Blockchain Native Token",
"symbol": "CORE"
},
"engine": "evm",
"explorers": [
{
"id": "corescan",
"url": "https://scan.coredao.org/"
}
],
"id": "evm-1116",
"images": {
"png128": true,
"png256": true,
"png32": true,
"png64": true,
"svg": true
},
"name": "Core Blockchain Mainnet",
"network": "mainnet",
"tags": [
"core"
],
"unknownAssetId": "unknown-core"
}
Loading

0 comments on commit 010fdf8

Please sign in to comment.