Skip to content

Commit

Permalink
feat: add goat network (#3236)
Browse files Browse the repository at this point in the history
* goat

* Update funny-mice-hunt.md

---------

Co-authored-by: abs3ntdev <[email protected]>
Co-authored-by: jxom <[email protected]>
  • Loading branch information
3 people authored Jan 18, 2025
1 parent b90c62a commit 23c9598
Show file tree
Hide file tree
Showing 3 changed files with 32 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .changeset/funny-mice-hunt.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"viem": patch
---

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

export const goat = /*#__PURE__*/ defineChain({
id: 2345,
name: 'GOAT',
nativeCurrency: {
decimals: 18,
name: 'Bitcoin',
symbol: 'BTC',
},
rpcUrls: {
default: { http: ['https://rpc.goat.network'] },
},
blockExplorers: {
default: {
name: 'Goat Explorer',
url: 'https://explorer.goat.network',
},
},
contracts: {
multicall3: {
address: '0xcA11bde05977b3631167028862bE2a173976CA11',
blockCreated: 0,
},
},
})
1 change: 1 addition & 0 deletions src/chains/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -184,6 +184,7 @@ export { glideL1Protocol } from './definitions/glideL1Protocol.js'
export { glideL2Protocol } from './definitions/glideL2Protocol.js'
export { gnosis } from './definitions/gnosis.js'
export { gnosisChiado } from './definitions/gnosisChiado.js'
export { goat } from './definitions/goat.js'
export { gobi } from './definitions/gobi.js'
export { goChain } from './definitions/goChain.js'
export { godwoken } from './definitions/godwoken.js'
Expand Down

0 comments on commit 23c9598

Please sign in to comment.