-
-
Notifications
You must be signed in to change notification settings - Fork 836
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* feat: change klaytn to kaia chain * fix: keep the original chains * Update kaia.ts * Create sour-ads-reflect.md --------- Co-authored-by: jxom <j@wevm.dev>
- Loading branch information
1 parent
6c0a254
commit 8ac740e
Showing
6 changed files
with
104 additions
and
41 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 @@ | ||
--- | ||
"viem": patch | ||
--- | ||
|
||
Added kaia 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,26 @@ | ||
import { defineChain } from '../../utils/chain/defineChain.js' | ||
|
||
export const kaia = /*#__PURE__*/ defineChain({ | ||
id: 8_217, | ||
name: 'Kaia', | ||
nativeCurrency: { | ||
decimals: 18, | ||
name: 'Kaia', | ||
symbol: 'KAIA', | ||
}, | ||
rpcUrls: { | ||
default: { http: ['https://public-en.node.kaia.io'] }, | ||
}, | ||
blockExplorers: { | ||
default: { | ||
name: 'KaiaScope', | ||
url: 'https://kaiascope.com', | ||
}, | ||
}, | ||
contracts: { | ||
multicall3: { | ||
address: '0xcA11bde05977b3631167028862bE2a173976CA11', | ||
blockCreated: 96002415, | ||
}, | ||
}, | ||
}) |
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 '../../utils/chain/defineChain.js' | ||
|
||
export const kairos = /*#__PURE__*/ defineChain({ | ||
id: 1_001, | ||
name: 'Kairos Testnet', | ||
network: 'kairos', | ||
nativeCurrency: { | ||
decimals: 18, | ||
name: 'Kairos KAIA', | ||
symbol: 'KAIA', | ||
}, | ||
rpcUrls: { | ||
default: { http: ['https://public-en-kairos.node.kaia.io'] }, | ||
}, | ||
blockExplorers: { | ||
default: { | ||
name: 'KaiaScope', | ||
url: 'https://kairos.kaiascope.com', | ||
}, | ||
}, | ||
contracts: { | ||
multicall3: { | ||
address: '0xcA11bde05977b3631167028862bE2a173976CA11', | ||
blockCreated: 123390593, | ||
}, | ||
}, | ||
testnet: true, | ||
}) |
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,26 +1,26 @@ | ||
import { defineChain } from '../../utils/chain/defineChain.js' | ||
|
||
export const klaytn = /*#__PURE__*/ defineChain({ | ||
id: 8_217, | ||
name: 'Klaytn', | ||
nativeCurrency: { | ||
decimals: 18, | ||
id: 8_217, | ||
name: 'Klaytn', | ||
symbol: 'KLAY', | ||
}, | ||
rpcUrls: { | ||
default: { http: ['https://public-en-cypress.klaytn.net'] }, | ||
}, | ||
blockExplorers: { | ||
default: { | ||
name: 'KlaytnScope', | ||
url: 'https://scope.klaytn.com', | ||
nativeCurrency: { | ||
decimals: 18, | ||
name: 'Klaytn', | ||
symbol: 'KLAY', | ||
}, | ||
}, | ||
contracts: { | ||
multicall3: { | ||
address: '0xcA11bde05977b3631167028862bE2a173976CA11', | ||
blockCreated: 96002415, | ||
rpcUrls: { | ||
default: { http: ['https://public-en-cypress.klaytn.net'] }, | ||
}, | ||
blockExplorers: { | ||
default: { | ||
name: 'KlaytnScope', | ||
url: 'https://scope.klaytn.com', | ||
}, | ||
}, | ||
contracts: { | ||
multicall3: { | ||
address: '0xcA11bde05977b3631167028862bE2a173976CA11', | ||
blockCreated: 96002415, | ||
}, | ||
}, | ||
}, | ||
}) |
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,28 +1,28 @@ | ||
import { defineChain } from '../../utils/chain/defineChain.js' | ||
|
||
export const klaytnBaobab = /*#__PURE__*/ defineChain({ | ||
id: 1_001, | ||
name: 'Klaytn Baobab Testnet', | ||
network: 'klaytn-baobab', | ||
nativeCurrency: { | ||
decimals: 18, | ||
name: 'Baobab Klaytn', | ||
symbol: 'KLAY', | ||
}, | ||
rpcUrls: { | ||
default: { http: ['https://public-en-baobab.klaytn.net'] }, | ||
}, | ||
blockExplorers: { | ||
default: { | ||
name: 'KlaytnScope', | ||
url: 'https://baobab.klaytnscope.com', | ||
id: 1_001, | ||
name: 'Klaytn Baobab Testnet', | ||
network: 'klaytn-baobab', | ||
nativeCurrency: { | ||
decimals: 18, | ||
name: 'Baobab Klaytn', | ||
symbol: 'KLAY', | ||
}, | ||
}, | ||
contracts: { | ||
multicall3: { | ||
address: '0xcA11bde05977b3631167028862bE2a173976CA11', | ||
blockCreated: 123390593, | ||
rpcUrls: { | ||
default: { http: ['https://public-en-baobab.klaytn.net'] }, | ||
}, | ||
}, | ||
testnet: true, | ||
blockExplorers: { | ||
default: { | ||
name: 'KlaytnScope', | ||
url: 'https://baobab.klaytnscope.com', | ||
}, | ||
}, | ||
contracts: { | ||
multicall3: { | ||
address: '0xcA11bde05977b3631167028862bE2a173976CA11', | ||
blockCreated: 123390593, | ||
}, | ||
}, | ||
testnet: true, | ||
}) |
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