-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* 🔵 Add Base chain * Update options description * Decrease statements
- Loading branch information
1 parent
b37a1f1
commit 9ed6037
Showing
5 changed files
with
28 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
import { Chain } from './model' | ||
|
||
export const base: Chain = { | ||
chainId: 8453, | ||
chainName: 'Base', | ||
getPublicRpc: () => 'https://mainnet.base.org', | ||
getInfuraRpc: (infuraApiKey) => `https://base-mainnet.infura.io/v3/${infuraApiKey}`, | ||
getAlchemyRpc: (alchemyApiKey) => `https://base-mainnet.g.alchemy.com/v2/${alchemyApiKey}`, | ||
getBlockExplorerContractAddress: (contractAddress) => `https://basescan.org/address/${contractAddress}`, | ||
getEtherscanVerifierApi: () => 'https://api.basescan.org/api', | ||
} | ||
|
||
export const base_sepolia: Chain = { | ||
chainId: 84532, | ||
chainName: 'Base Sepolia', | ||
getPublicRpc: () => 'https://sepolia.base.org', | ||
getInfuraRpc: (infuraApiKey) => `https://base-sepolia.infura.io/v3/${infuraApiKey}`, | ||
getAlchemyRpc: (alchemyApiKey) => `https://base-sepolia.g.alchemy.com/v2/${alchemyApiKey}`, | ||
getBlockExplorerContractAddress: (contractAddress) => `https://sepolia.basescan.org/address/${contractAddress}`, | ||
getEtherscanVerifierApi: () => 'https://api-sepolia.basescan.org/api', | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters