Skip to content

Commit

Permalink
feat: add guruTestnet chain (#2843)
Browse files Browse the repository at this point in the history
* feat: add guruTestnet chain

* Update guruTestnet.ts

* Update guruTestnet.ts

* Update thin-taxis-float.md

---------

Co-authored-by: jxom <[email protected]>
  • Loading branch information
Kharabet and jxom authored Oct 12, 2024
1 parent 5b8090e commit 47c167b
Show file tree
Hide file tree
Showing 3 changed files with 29 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .changeset/thin-taxis-float.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"viem": patch
---

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

export const guruTestnet = /*#__PURE__*/ defineChain({
id: 261,
name: 'Guru Network Testnet',
nativeCurrency: {
name: 'testGURU',
symbol: 'tGURU',
decimals: 18,
},
rpcUrls: {
default: {
http: ['https://rpc.gurunetwork.ai/archive/261'],
},
},
blockExplorers: {
default: {
name: 'Guruscan',
url: 'https://scan.gurunetwork.ai',
},
},
testnet: true,
})
1 change: 1 addition & 0 deletions src/chains/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -151,6 +151,7 @@ export { goerli } from './definitions/goerli.js'
export { gnosis } from './definitions/gnosis.js'
export { gnosisChiado } from './definitions/gnosisChiado.js'
export { gravity } from './definitions/gravity.js'
export { guruTestnet } from './definitions/guruTestnet.js'
export { ham } from './definitions/ham.js'
export { hardhat } from './definitions/hardhat.js'
export { harmonyOne } from './definitions/harmonyOne.js'
Expand Down

0 comments on commit 47c167b

Please sign in to comment.