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 energy web chains (ewc & volta)
- Loading branch information
Showing
3 changed files
with
56 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,27 @@ | ||
import { Chain } from './types' | ||
|
||
export const ewc = { | ||
id: 246, | ||
name: 'Energy Web Chain', | ||
network: 'ewc', | ||
nativeCurrency: { name: 'EWT', symbol: 'EWT', decimals: 18 }, | ||
rpcUrls: { | ||
default: { | ||
http: ['https://rpc.energyweb.org/'], | ||
}, | ||
public: { | ||
http: ['https://rpc.energyweb.org/'], | ||
}, | ||
}, | ||
blockExplorers: { | ||
default: { | ||
name: 'Energy Web Chain Explorer', | ||
url: 'https://explorer.energyweb.org', | ||
}, | ||
}, | ||
contracts: { | ||
ensRegistry: { | ||
address: '0x0A6d64413c07E10E890220BBE1c49170080C6Ca0', | ||
}, | ||
}, | ||
} 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
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 volta = { | ||
id: 73799, | ||
name: 'Volta Chain', | ||
network: 'volta', | ||
nativeCurrency: { name: 'VT', symbol: 'VT', decimals: 18 }, | ||
rpcUrls: { | ||
default: { | ||
http: ['https://volta-rpc.energyweb.org/'], | ||
}, | ||
public: { | ||
http: ['https://volta-rpc.energyweb.org/'], | ||
}, | ||
}, | ||
blockExplorers: { | ||
default: { | ||
name: 'Volta Explorer', | ||
url: 'https://volta-explorer.energyweb.org', | ||
}, | ||
}, | ||
contracts: { | ||
ensRegistry: { | ||
address: '0xd7CeF70Ba7efc2035256d828d5287e2D285CD1ac', | ||
}, | ||
}, | ||
} as const satisfies Chain |