-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: add support for more zksync chains
- Loading branch information
1 parent
b34c0ed
commit 8fa76b5
Showing
11 changed files
with
82 additions
and
11 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
import { Chain } from 'chains'; | ||
|
||
const chain: Chain = { | ||
chainId: 11124, | ||
name: 'Abstract Testnet', | ||
nativeCurrency: { | ||
decimals: 18, | ||
name: 'ETH', | ||
symbol: 'ETH', | ||
}, | ||
rpc: ['https://api.testnet.abs.xyz'], | ||
explorers: [ | ||
{ | ||
name: 'Etherscan', | ||
url: 'https://sepolia.abscan.org', | ||
standard: 'EIP3091', | ||
}, | ||
{ | ||
name: 'Abstract Explorer', | ||
url: 'https://explorer.testnet.abs.xyz', | ||
standard: 'EIP3091', | ||
}, | ||
], | ||
testnet: true, | ||
shortName: 'abstract-testnet', | ||
slug: 'abstract-testnet', | ||
chain: 'abstract-testnet', | ||
}; | ||
|
||
export default chain; |
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,30 @@ | ||
import { Chain } from 'chains'; | ||
|
||
const chain: Chain = { | ||
chainId: 2741, | ||
name: 'Abstract', | ||
nativeCurrency: { | ||
decimals: 18, | ||
name: 'ETH', | ||
symbol: 'ETH', | ||
}, | ||
rpc: ['https://api.mainnet.abs.xyz'], | ||
explorers: [ | ||
{ | ||
name: 'Etherscan', | ||
url: 'https://abscan.org', | ||
standard: 'EIP3091', | ||
}, | ||
{ | ||
name: 'Abstract Explorer', | ||
url: 'https://explorer.mainnet.abs.xyz', | ||
standard: 'EIP3091', | ||
}, | ||
], | ||
shortName: 'abstract', | ||
slug: 'abstract', | ||
chain: '', | ||
testnet: false, | ||
}; | ||
|
||
export default chain; |
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
export const VERSION = '0.8.20'; | ||
export const VERSION = '0.8.21'; | ||
export const PACKAGE = '@openfort/openfort-js'; |