diff --git a/src/assets/icons/base.svg b/src/assets/icons/base.svg new file mode 100644 index 00000000..9fc6d5b4 --- /dev/null +++ b/src/assets/icons/base.svg @@ -0,0 +1,4 @@ + + + + diff --git a/src/constants.ts b/src/constants.ts index 7e7e29ff..0fdb341b 100644 --- a/src/constants.ts +++ b/src/constants.ts @@ -18,7 +18,8 @@ import Hedera from "./assets/icons/Hedera.svg"; import Aptos from "./assets/icons/aptos.svg"; import optimism from "./assets/icons/optimism.svg"; import casper from "./assets/icons/casper.svg"; -import Bitgert from "./assets/icons/brise.png" +import Bitgert from "./assets/icons/brise.png"; +import Base from "./assets/icons/base.svg"; export const currency: any = { "4": "BNB", @@ -53,6 +54,7 @@ export const currency: any = { "40": "ETH", "38": "BRISE", "39": "CSPR", + "43": "BASE" }; export const txExplorers: any = { @@ -89,7 +91,8 @@ export const txExplorers: any = { "34": "https://explorer.aptoslabs.com/txn/", "40": "https://optimistic.etherscan.io/tx/", "39": "https://cspr.live/deploy/", - "38": "https://brisescan.com/tx/" + "38": "https://brisescan.com/tx/", + "43": "https://basescan.org/tx/" }; export const addressExplorers: any = { @@ -126,7 +129,8 @@ export const addressExplorers: any = { "34": "https://explorer.aptoslabs.com/account/", "40": "https://optimistic.etherscan.io/address/", "39": "https://cspr.live/address/", - "38": "https://brisescan.com/address/" + "38": "https://brisescan.com/address/", + "43": "https://basescan.org/address/" }; export const collectionExplorers: any = { @@ -143,7 +147,8 @@ export const collectionExplorers: any = { "20": "https://iotexscan.io/address/", "9": "https://tronscan.org/#/contract/", "39": "https://cspr.live/contract-package/", - "38": "https://brisescan.com/address/" + "38": "https://brisescan.com/address/", + "43": "https://basescan.org/address/" }; export const chainNoncetoName: any = { @@ -181,7 +186,8 @@ export const chainNoncetoName: any = { "34": "Aptos", "40": "Optimism", "39": "Casper", - "38": "Bitgert" + "38": "Bitgert", + "43": "Base" }; export const _headers = { @@ -253,7 +259,8 @@ export const chains = [ icon: Dfinity, dec: -8, }, - { id: "bitrise-token", name: "Bitgert", icon: Bitgert } + { id: "bitrise-token", name: "Bitgert", icon: Bitgert }, + { id: "ethereum", name: "Base", icon: Base } ]; export const url = "https://explorer-app.xp.network/"; diff --git a/src/values.js b/src/values.js index 05aa1952..ea94a151 100755 --- a/src/values.js +++ b/src/values.js @@ -36,6 +36,7 @@ import arbitrumTestNet from "./assets/icons/arbitrumTN.svg"; import Aptos from "./assets/icons/aptos.svg"; import brise from "./assets/icons/brise.png"; import casper from "./assets/icons/casper.svg"; +import base from "./assets/icons/base.svg"; export const EVM = "EVM"; export const ELROND = "MultiversX"; @@ -526,4 +527,18 @@ export const chains = [ chainId: 32520, tnChainId: 64668, }, + { + type: "EVM", + key: "Base", + text: "Base", + value: "Base", + nonce: 0x2b, + chainId: 8453, + order: 24, + image: { avatar: true, src: base }, + maintenance: false, + testNet: true, + mainnet: true, + newChain: true, + }, ]; diff --git a/yarn.lock b/yarn.lock index 4cdd3eaf..7f124c6a 100644 --- a/yarn.lock +++ b/yarn.lock @@ -7505,7 +7505,7 @@ neo-async@^2.6.2: "nft-parser@git+https://github.com/xp-network/nft-parser#bleeding-edge": version "0.2.0" - resolved "git+https://github.com/xp-network/nft-parser#8914891531c0eba627047dcb7a4cad77bad0a105" + resolved "git+https://github.com/xp-network/nft-parser#2a684016c8463e454348cce1d1c43e615bd31867" dependencies: "@ethersproject/providers" "^5.7.2" "@moralisweb3/common-evm-utils" "^2.17.0"