Skip to content

Commit

Permalink
feat: add Curtis chain (#2614)
Browse files Browse the repository at this point in the history
* Adds Curtis chain

* Delete package-lock.json

* Update curtis.ts

---------

Co-authored-by: jxom <jakemoxey@gmail.com>
  • Loading branch information
joshuanwankwo and jxom authored Aug 14, 2024
1 parent 458b90c commit 3749838
Show file tree
Hide file tree
Showing 3 changed files with 25 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .changeset/polite-dogs-sip.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"viem": patch
---

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

export const curtis = /*#__PURE__*/ defineChain({
id: 33_111,
name: 'Curtis',
nativeCurrency: { name: 'ApeCoin', symbol: 'APE', decimals: 18 },
rpcUrls: {
default: {
http: ['https://rpc.curtis.apechain.com'],
},
},
blockExplorers: {
default: {
name: 'Curtis Explorer',
url: 'https://explorer.curtis.apechain.com',
},
},
testnet: true,
})
1 change: 1 addition & 0 deletions src/chains/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,7 @@ export { cronos } from './definitions/cronos.js'
export { cronoszkEVMTestnet } from './definitions/cronoszkEVMTestnet.js'
export { cronosTestnet } from './definitions/cronosTestnet.js'
export { crossbell } from './definitions/crossbell.js'
export { curtis } from './definitions/curtis.js'
export { cyber } from './definitions/cyber.js'
export { cyberTestnet } from './definitions/cyberTestnet.js'
export { darwinia } from './definitions/darwinia.js'
Expand Down

0 comments on commit 3749838

Please sign in to comment.