Skip to content

Commit

Permalink
feat: add kinto chain (#2757)
Browse files Browse the repository at this point in the history
* feat: add kinto network

* Update the block explorer info

* Update rude-bikes-smash.md

---------

Co-authored-by: Tom Mazare <tom@clica.tech>
Co-authored-by: jxom <j@wevm.dev>
  • Loading branch information
3 people committed Sep 23, 2024
1 parent 53dfa11 commit 60dacc1
Show file tree
Hide file tree
Showing 3 changed files with 24 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .changeset/rude-bikes-smash.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"viem": patch
---

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

export const kinto = /*#__PURE__*/ defineChain({
id: 7887,
name: 'Kinto Mainnet',
network: 'Kinto Mainnet',
nativeCurrency: { name: 'Ether', symbol: 'ETH', decimals: 18 },
rpcUrls: {
default: { http: ['https://rpc.kinto.xyz/http'] },
},
blockExplorers: {
default: {
name: 'Kinto Explorer',
url: 'https://explorer.kinto.xyz',
},
},
testnet: false,
})
1 change: 1 addition & 0 deletions src/chains/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -155,6 +155,7 @@ export { kakarotSepolia } from './definitions/kakarotSepolia.js'
export { kava } from './definitions/kava.js'
export { kavaTestnet } from './definitions/kavaTestnet.js'
export { kcc } from './definitions/kcc.js'
export { kinto } from './definitions/kinto.js'
/** @deprecated Use `kaia` instead. */
export { klaytn } from './definitions/klaytn.js'
/** @deprecated Use `kairos` instead. */
Expand Down

0 comments on commit 60dacc1

Please sign in to comment.