diff --git a/.changeset/adding_BlastSepolia.md b/.changeset/adding_BlastSepolia.md new file mode 100644 index 000000000..50bbeb249 --- /dev/null +++ b/.changeset/adding_BlastSepolia.md @@ -0,0 +1,7 @@ +--- +"@usedapp/core": patch +--- + +Adding the network blast Sepolia testnet: + +https://blast.io/ \ No newline at end of file diff --git a/packages/core/src/constants/chainId.ts b/packages/core/src/constants/chainId.ts index 78407bca7..ce256ed0b 100644 --- a/packages/core/src/constants/chainId.ts +++ b/packages/core/src/constants/chainId.ts @@ -10,6 +10,7 @@ import { AvalancheTestnet, Aurora, AuroraTestnet, + BlastSepoliaTestnet, BSC, BSCTestnet, Canto, @@ -142,6 +143,7 @@ export const DEFAULT_SUPPORTED_CHAINS = [ MantleTestnet, KromaSepoliaTestnet, KromaMainnet, + BlastSepoliaTestnet, ] export enum ChainId { @@ -215,4 +217,5 @@ export enum ChainId { MantleTestnet = 5001, Kroma = 255, KromaSepolia = 2358, + BlastSepolia = 168587773, } diff --git a/packages/core/src/model/chain/blast.ts b/packages/core/src/model/chain/blast.ts new file mode 100644 index 000000000..d2b4585ab --- /dev/null +++ b/packages/core/src/model/chain/blast.ts @@ -0,0 +1,25 @@ +import { Chain } from '../../constants' +import { getAddressLink, getTransactionLink } from '../../helpers/chainExplorerLink' + +const blastSepoliaTestnetExplorerUrl = 'https://testnet.blastscan.io' + +export const BlastSepoliaTestnet: Chain = { + chainId: 168587773, + chainName: 'Blast Sepolia Testnet', + isTestChain: true, + isLocalChain: false, + multicallAddress: '0xcA11bde05977b3631167028862bE2a173976CA11', + rpcUrl: 'https://sepolia.blast.io', + nativeCurrency: { + name: 'SepoliaETH', + symbol: 'ETH', + decimals: 18, + }, + blockExplorerUrl: blastSepoliaTestnetExplorerUrl, + getExplorerAddressLink: getAddressLink(blastSepoliaTestnetExplorerUrl), + getExplorerTransactionLink: getTransactionLink(blastSepoliaTestnetExplorerUrl), +} + +export default { + BlastSepoliaTestnet, +} diff --git a/packages/core/src/model/chain/index.ts b/packages/core/src/model/chain/index.ts index bc945e614..04c0e5232 100644 --- a/packages/core/src/model/chain/index.ts +++ b/packages/core/src/model/chain/index.ts @@ -3,6 +3,7 @@ export * from './local' export * from './arbitrum' export * from './astar' export * from './avalanche' +export * from './blast' export * from './bsc' export * from './boba' export * from './canto'