This repository has been archived by the owner on Sep 6, 2023. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 205
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: add EOS EVM and EOS EVM testnet (#375)
* feat(chains): add eos and eos testnet * export chains * add changeset
- Loading branch information
1 parent
d642e1d
commit 97dbd44
Showing
5 changed files
with
62 additions
and
0 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
"@wagmi/chains": minor | ||
--- | ||
|
||
Added EOS EVM and EOS EVM Testnet chains |
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,26 @@ | ||
import { Chain } from './types' | ||
|
||
export const eos = { | ||
id: 17777, | ||
name: 'EOS EVM', | ||
network: 'eos', | ||
nativeCurrency: { | ||
decimals: 18, | ||
name: 'EOS', | ||
symbol: 'EOS', | ||
}, | ||
rpcUrls: { | ||
default: { http: ['https://api.evm.eosnetwork.com'] }, | ||
public: { http: ['https://api.evm.eosnetwork.com'] }, | ||
}, | ||
blockExplorers: { | ||
etherscan: { | ||
name: 'EOS EVM Explorer', | ||
url: 'https://explorer.evm.eosnetwork.com', | ||
}, | ||
default: { | ||
name: 'EOS EVM Explorer', | ||
url: 'https://explorer.evm.eosnetwork.com', | ||
}, | ||
}, | ||
} as const satisfies 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,27 @@ | ||
import { Chain } from './types' | ||
|
||
export const eosTestnet = { | ||
id: 15557, | ||
name: 'EOS EVM Testnet', | ||
network: 'eos', | ||
nativeCurrency: { | ||
decimals: 18, | ||
name: 'EOS', | ||
symbol: 'EOS', | ||
}, | ||
rpcUrls: { | ||
default: { http: ['https://api.testnet.evm.eosnetwork.com'] }, | ||
public: { http: ['https://api.testnet.evm.eosnetwork.com'] }, | ||
}, | ||
blockExplorers: { | ||
etherscan: { | ||
name: 'EOS EVM Testnet Explorer', | ||
url: 'https://explorer.testnet.evm.eosnetwork.com', | ||
}, | ||
default: { | ||
name: 'EOS EVM Testnet Explorer', | ||
url: 'https://explorer.testnet.evm.eosnetwork.com', | ||
}, | ||
}, | ||
testnet: true, | ||
} as const satisfies 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