Skip to content

Commit

Permalink
chore(blast): added new chain
Browse files Browse the repository at this point in the history
  • Loading branch information
D4mph1r committed Oct 11, 2024
1 parent 1544d70 commit 4f6282b
Show file tree
Hide file tree
Showing 3 changed files with 28 additions and 6 deletions.
Binary file added src/assets/icons/blast.webp
Binary file not shown.
19 changes: 13 additions & 6 deletions src/constants.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ import optimism from "./assets/icons/optimism.svg";
import casper from "./assets/icons/casper.svg";
import Bitgert from "./assets/icons/brise.png";
import Base from "./assets/icons/base.svg";
import Blast from "./assets/icons/blast.webp";

export const currency: any = {
"4": "BNB",
Expand Down Expand Up @@ -54,7 +55,8 @@ export const currency: any = {
"40": "ETH",
"38": "BRISE",
"39": "CSPR",
"43": "BASE"
"43": "BASE",
"45": "BLAST"
};

export const txExplorers: any = {
Expand Down Expand Up @@ -92,7 +94,8 @@ export const txExplorers: any = {
"40": "https://optimistic.etherscan.io/tx/",
"39": "https://cspr.live/deploy/",
"38": "https://brisescan.com/tx/",
"43": "https://basescan.org/tx/"
"43": "https://basescan.org/tx/",
"45": "https://blastscan.io/tx/"
};

export const addressExplorers: any = {
Expand Down Expand Up @@ -130,7 +133,8 @@ export const addressExplorers: any = {
"40": "https://optimistic.etherscan.io/address/",
"39": "https://cspr.live/address/",
"38": "https://brisescan.com/address/",
"43": "https://basescan.org/address/"
"43": "https://basescan.org/address/",
"45": "https://blastscan.io/address/"
};

export const collectionExplorers: any = {
Expand All @@ -148,7 +152,8 @@ export const collectionExplorers: any = {
"9": "https://tronscan.org/#/contract/",
"39": "https://cspr.live/contract-package/",
"38": "https://brisescan.com/address/",
"43": "https://basescan.org/address/"
"43": "https://basescan.org/address/",
"45": "https://blastscan.io/address/"
};

export const chainNoncetoName: any = {
Expand Down Expand Up @@ -187,7 +192,8 @@ export const chainNoncetoName: any = {
"40": "Optimism",
"39": "Casper",
"38": "Bitgert",
"43": "Base"
"43": "Base",
"45": "Blast"
};

export const _headers = {
Expand Down Expand Up @@ -260,7 +266,8 @@ export const chains = [
dec: -8,
},
{ id: "bitrise-token", name: "Bitgert", icon: Bitgert },
{ id: "ethereum", name: "Base", icon: Base }
{ id: "ethereum", name: "Base", icon: Base },
{ id: "ethereum", name: "Blast", icon: Blast }
];

export const url = "https://explorer-app.xp.network/";
Expand Down
15 changes: 15 additions & 0 deletions src/values.js
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ 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";
import blast from "./assets/icons/blast.webp";

export const EVM = "EVM";
export const ELROND = "MultiversX";
Expand Down Expand Up @@ -541,4 +542,18 @@ export const chains = [
mainnet: true,
newChain: true,
},
{
type: "EVM",
key: "Blast",
text: "Blast",
value: "Blast",
nonce: 0x2d,
chainId: 81457,
order: 24,
image: { avatar: true, src: blast },
maintenance: false,
testNet: true,
mainnet: true,
newChain: true,
},
];

0 comments on commit 4f6282b

Please sign in to comment.