-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #465 from axelarnetwork/chore/fix-not-recognize-as…
…set-on-fraxtal feat: add fraxtal and blast chain config
- Loading branch information
Showing
14 changed files
with
138 additions
and
13 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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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,28 @@ | ||
import { defineChain } from "viem"; | ||
|
||
import { ChainExtension } from "../interface"; | ||
|
||
export const blast: ChainExtension = defineChain({ | ||
id: 81457, | ||
name: "Blast", | ||
network: "blast", | ||
nativeCurrency: { | ||
decimals: 18, | ||
name: "Ether", | ||
symbol: "ETH", | ||
}, | ||
rpcUrls: { | ||
default: { http: ["https://rpc.blast.io"] }, | ||
public: { http: ["https://rpc.blast.io"] }, | ||
}, | ||
blockExplorers: { | ||
default: { name: "Blastscan", url: "https://blastscan.io" }, | ||
}, | ||
contracts: { | ||
multicall3: { | ||
address: "0xcA11bde05977b3631167028862bE2a173976CA11", | ||
blockCreated: 212929, | ||
}, | ||
}, | ||
networkNameOverride: "blast", | ||
}); |
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,31 @@ | ||
import { defineChain } from "viem"; | ||
|
||
import { ChainExtension } from "../interface"; | ||
|
||
export const fraxtal: ChainExtension = defineChain({ | ||
id: 252, | ||
network: "fraxtal", | ||
name: "Fraxtal", | ||
nativeCurrency: { name: "Frax Ether", symbol: "frxETH", decimals: 18 }, | ||
rpcUrls: { | ||
default: { | ||
http: ["https://rpc.frax.com"], | ||
}, | ||
public: { | ||
http: ["https://rpc.frax.com"], | ||
}, | ||
}, | ||
blockExplorers: { | ||
default: { | ||
name: "fraxscan", | ||
url: "https://fraxscan.com", | ||
apiUrl: "https://api.fraxscan.com/api", | ||
}, | ||
}, | ||
contracts: { | ||
multicall3: { | ||
address: "0xca11bde05977b3631167028862be2a173976ca11", | ||
}, | ||
}, | ||
networkNameOverride: "fraxtal", | ||
}); |
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 |
---|---|---|
@@ -1,8 +1,8 @@ | ||
import { baseGoerli } from "viem/chains"; | ||
import { baseSepolia } from "viem/chains"; | ||
|
||
import { ChainExtension } from "../interface"; | ||
|
||
export const base: ChainExtension = { | ||
...baseGoerli, | ||
...baseSepolia, | ||
networkNameOverride: "base", | ||
}; |
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,29 @@ | ||
import { defineChain } from "viem"; | ||
|
||
import { ChainExtension } from "../interface"; | ||
|
||
export const blast: ChainExtension = defineChain({ | ||
id: 168_587_773, | ||
name: "Blast Sepolia", | ||
network: "blast", | ||
nativeCurrency: { | ||
decimals: 18, | ||
name: "Ether", | ||
symbol: "ETH", | ||
}, | ||
rpcUrls: { | ||
default: { http: ["https://sepolia.blast.io"] }, | ||
public: { http: ["https://sepoliablast.io"] }, | ||
}, | ||
blockExplorers: { | ||
default: { name: "Blastscan", url: "https://testnet.blastscan.io" }, | ||
}, | ||
contracts: { | ||
multicall3: { | ||
address: "0xca11bde05977b3631167028862be2a173976ca11", | ||
blockCreated: 756690, | ||
}, | ||
}, | ||
testnet: true, | ||
networkNameOverride: "blast", | ||
}); |
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,32 @@ | ||
import { defineChain } from "viem"; | ||
|
||
import { ChainExtension } from "../interface"; | ||
|
||
export const fraxtal: ChainExtension = defineChain({ | ||
id: 2522, | ||
network: "fraxtal", | ||
name: "Fraxtal Testnet", | ||
nativeCurrency: { name: "Frax Ether", symbol: "frxETH", decimals: 18 }, | ||
rpcUrls: { | ||
default: { | ||
http: ["https://rpc.testnet.frax.com"], | ||
}, | ||
public: { | ||
http: ["https://rpc.testnet.frax.com"], | ||
}, | ||
}, | ||
blockExplorers: { | ||
default: { | ||
name: "fraxscan testnet", | ||
url: "https://holesky.fraxscan.com", | ||
apiUrl: "https://api-holesky.fraxscan.com/api", | ||
}, | ||
}, | ||
contracts: { | ||
multicall3: { | ||
address: "0xca11bde05977b3631167028862be2a173976ca11", | ||
}, | ||
}, | ||
testnet: true, | ||
networkNameOverride: "fraxtal", | ||
}); |
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
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