Skip to content

Commit

Permalink
Merge branch 'wevm:main' into main
Browse files Browse the repository at this point in the history
  • Loading branch information
ZeframLou authored Jan 6, 2025
2 parents 542335e + 9525ca5 commit 87e3d6d
Show file tree
Hide file tree
Showing 11 changed files with 80 additions and 35 deletions.
5 changes: 0 additions & 5 deletions .changeset/nice-lemons-poke.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/nine-moons-shop.md

This file was deleted.

42 changes: 21 additions & 21 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

10 changes: 10 additions & 0 deletions src/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,15 @@
# viem

## 2.22.2

### Patch Changes

- [#3178](https://github.com/wevm/viem/pull/3178) [`daad891fc6bbd84c8fe0e9320260e729ea2d8136`](https://github.com/wevm/viem/commit/daad891fc6bbd84c8fe0e9320260e729ea2d8136) Thanks [@hello-jdj](https://github.com/hello-jdj)! - Added Rivalz network.

- [#3177](https://github.com/wevm/viem/pull/3177) [`7546dfbec9268b21fe37e35d081f1cf5f88d6acc`](https://github.com/wevm/viem/commit/7546dfbec9268b21fe37e35d081f1cf5f88d6acc) Thanks [@maxandron](https://github.com/maxandron)! - Added opstack config to blast chain

- [`e12d4a0a6b26d182ab97346669c92148c13357e7`](https://github.com/wevm/viem/commit/e12d4a0a6b26d182ab97346669c92148c13357e7) Thanks [@MOZGIII](https://github.com/MOZGIII)! - Added Humanode mainnet and Testnet 5 chains.

## 2.22.1

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion src/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ Check out the following places for more viem-related content:

- [GitHub Sponsors](https://github.com/sponsors/wevm?metadata_campaign=docs_support)
- [Gitcoin Grant](https://wagmi.sh/gitcoin)
- [wevm.eth](https://etherscan.io/enslookup-search?search=wevm.eth)
- [wevm.eth](https://etherscan.io/name-lookup-search?id=wevm.eth)

## Sponsors

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

export const humanode = /*#__PURE__*/ defineChain({
id: 5234,
name: 'Humanode',
nativeCurrency: { name: 'HMND', symbol: 'HMND', decimals: 18 },
rpcUrls: {
default: {
http: ['https://explorer-rpc-http.mainnet.stages.humanode.io'],
webSocket: ['wss://explorer-rpc-ws.mainnet.stages.humanode.io'],
},
},
blockExplorers: {
default: {
name: 'Subscan',
url: 'https://humanode.subscan.io',
},
},
contracts: {
multicall3: {
address: '0xca11bde05977b3631167028862be2a173976ca11',
blockCreated: 4_413_097,
},
},
})
18 changes: 18 additions & 0 deletions src/chains/definitions/humanodeTestnet5.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
import { defineChain } from '../../utils/chain/defineChain.js'

export const humanodeTestnet5 = /*#__PURE__*/ defineChain({
id: 14853,
name: 'Humanode Testnet 5',
nativeCurrency: { name: 'HMND', symbol: 'HMND', decimals: 18 },
rpcUrls: {
default: {
http: ['https://explorer-rpc-http.testnet5.stages.humanode.io'],
webSocket: ['wss://explorer-rpc-ws.testnet5.stages.humanode.io'],
},
},
contracts: {
multicall3: {
address: '0xca11bde05977b3631167028862be2a173976ca11',
},
},
})
2 changes: 2 additions & 0 deletions src/chains/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -199,6 +199,8 @@ export { hela } from './definitions/hela.js'
export { hemiSepolia } from './definitions/hemiSepolia.js'
export { holesky } from './definitions/holesky.js'
export { hpb } from './definitions/hpb.js'
export { humanode } from './definitions/humanode.js'
export { humanodeTestnet5 } from './definitions/humanodeTestnet5.js'
export { hychain } from './definitions/hychain.js'
export { hychainTestnet } from './definitions/hychainTestnet.js'
export { idchain } from './definitions/idchain.js'
Expand Down
2 changes: 1 addition & 1 deletion src/errors/version.ts
Original file line number Diff line number Diff line change
@@ -1 +1 @@
export const version = '2.22.1'
export const version = '2.22.2'
2 changes: 1 addition & 1 deletion src/jsr.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@wevm/viem",
"version": "2.22.1",
"version": "2.22.2",
"exports": {
".": "./index.ts",
"./accounts-abstraction": "./account-abstraction/index.ts",
Expand Down
2 changes: 1 addition & 1 deletion src/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "viem",
"description": "TypeScript Interface for Ethereum",
"version": "2.22.1",
"version": "2.22.2",
"type": "module",
"main": "./_cjs/index.js",
"module": "./_esm/index.js",
Expand Down

0 comments on commit 87e3d6d

Please sign in to comment.