Skip to content

Commit

Permalink
feat: add Creator testnet (#3108)
Browse files Browse the repository at this point in the history
* Added creatorTestnet

* feat: Added Creator Testnet Chain

* feat: added creatorTestnet chain

* Update creatorTestnet.ts

* Create old-kiwis-sneeze.md

---------

Co-authored-by: jxom <7336481+jxom@users.noreply.github.com>
  • Loading branch information
defiboyszn and jxom authored Dec 9, 2024
1 parent f8c002f commit fb9d292
Show file tree
Hide file tree
Showing 3 changed files with 31 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .changeset/old-kiwis-sneeze.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"viem": patch
---

Added Creator testnet.
25 changes: 25 additions & 0 deletions src/chains/definitions/creatorTestnet.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
import { defineChain } from '../../utils/chain/defineChain.js'

export const creatorTestnet = defineChain({
id: 66665,
name: 'Creator',
nativeCurrency: {
decimals: 18,
name: 'Ether',
symbol: 'ETH',
},
rpcUrls: {
default: {
http: ['https://rpc.creatorchain.io'],
},
},
blockExplorers: {
default: { name: 'Explorer', url: 'https://explorer.creatorchain.io' },
},
contracts: {
multicall3: {
address: '0xcA11bde05977b3631167028862bE2a173976CA11',
},
},
testnet: true,
})
1 change: 1 addition & 0 deletions src/chains/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,7 @@ export { coreDao } from './definitions/coreDao.js'
export { corn } from './definitions/corn.js'
export { cornTestnet } from './definitions/cornTestnet.js'
export { crab } from './definitions/crab.js'
export { creatorTestnet } from './definitions/creatorTestnet.js'
export { cronos } from './definitions/cronos.js'
export { cronosTestnet } from './definitions/cronosTestnet.js'
export { cronoszkEVM } from './definitions/cronoszkEVM.js'
Expand Down

0 comments on commit fb9d292

Please sign in to comment.