Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
107 commits
Select commit Hold shift + click to select a range
63e3828
tests: up snaps
jxom Apr 5, 2025
082c3d0
feat: sync to latest EIP-5792 spec (#3542)
jxom Apr 5, 2025
991e09b
chore: use calculated version for snapshots
jxom Apr 6, 2025
3c9875b
fix: type
jxom Apr 6, 2025
c8378d2
chore: version package (#3543)
github-actions[bot] Apr 6, 2025
5055c1c
tests: up
jxom Apr 6, 2025
33a01b9
fix(op-stack): `unproven` is contextually a ready-to-prove case (#3545)
bmzig Apr 7, 2025
039b0c3
chore: version package (#3546)
github-actions[bot] Apr 7, 2025
6b2f0e5
docs: up cache
jxom Apr 7, 2025
1364036
chore: up lockfile
jxom Apr 7, 2025
f736d9b
feat: export `withCache`
jxom Apr 8, 2025
ea455a8
src/index.test
jxom Apr 8, 2025
0d335fa
chore: version package (#3547)
github-actions[bot] Apr 8, 2025
3ef19ea
docs: fix wrong chain in initiateWitdrawal.md (#3548)
gndelia Apr 8, 2025
973d88e
fix: resolves #3551
jxom Apr 10, 2025
6a1bce6
chore: version package (#3552)
github-actions[bot] Apr 10, 2025
7487580
feat: add lens mainnet (#3553)
Yutaro-Mori-eng Apr 11, 2025
7860700
doc(types): remarks for block tag and its usage (#3556)
sambacha Apr 13, 2025
001e616
chore: pin foundry nightly
jxom Apr 14, 2025
32bd42f
chore: version package (#3554)
github-actions[bot] Apr 14, 2025
f6f7ead
chore: up snapshot
jxom Apr 14, 2025
9458a19
chore: up fork block number (#3557)
jxom Apr 14, 2025
ba55147
feat: add 5792 errors (#3558)
jxom Apr 14, 2025
160e187
chore: version package (#3559)
github-actions[bot] Apr 14, 2025
e06a46a
feat: Local CCIP-Read Batch Gateway (#3440)
adraffy Apr 14, 2025
0264966
chore: fix types
jxom Apr 14, 2025
4ba1a41
fix: 5792 failure status codes
jxom Apr 14, 2025
8053048
feat: add multicall3 contract to Hoodi chain (#3561)
selfmadexyz Apr 14, 2025
9b9df3d
chore: change order of peaq public RPCs (#3563)
evanaronson Apr 14, 2025
f22fe5a
feat: add tron shasta testnet (#3564)
abs3ntdev Apr 14, 2025
542371c
feat: add Lestnet chain (#3565)
foxtrotravi Apr 14, 2025
151e894
fix: omit salt from erc7739
jxom Apr 14, 2025
96f7b66
docs: add note about using encodeFunctionData to data of estimateGas …
SethTenenbaum Apr 14, 2025
9933219
chore: version package (#3560)
github-actions[bot] Apr 14, 2025
f28503e
fix: newton chain rpc url typo (#3567)
Markeljan Apr 15, 2025
2ad4736
fix: correct RPC URL configuration for Metis chains (#3568)
Markeljan Apr 15, 2025
a9f3316
feat: updated SKALE Network Chains (#3570)
manuelbarbas Apr 15, 2025
b43af33
feat: add core Testnet2 and Legacy Testnet details (#3571)
gr-akshaya Apr 15, 2025
7da8205
chore: changeset
jxom Apr 15, 2025
26815a8
chore: format
jxom Apr 15, 2025
26e4bca
chore: lockfile
jxom Apr 15, 2025
295e4f9
feat: prefer `signTypedData` on owners for `toCoinbaseSmartWallet` (#…
jxom Apr 17, 2025
97391bd
chore: version package (#3572)
github-actions[bot] Apr 17, 2025
8621c73
chore: version package
jxom Apr 17, 2025
ebdf60e
docs: update Optimism contract doc links for accuracy (#3582)
Noisyxl Apr 18, 2025
0098740
fix: dedupe noble (#3588)
v1rtl Apr 20, 2025
bb9398a
feat: add Gunz Mainnet (#3581)
Yutaro-Mori-eng Apr 20, 2025
8fa0e8b
chore: version package (#3589)
github-actions[bot] Apr 21, 2025
db55a14
chore: bump size
jxom Apr 21, 2025
bbe56bf
fix: update EIP-5792 version to latest
jxom Apr 21, 2025
a5cf412
chore: up
jxom Apr 21, 2025
6aa70af
feat(4337): entrypoint 0.8 + 7702 auths (#3580)
jxom Apr 21, 2025
e88edb2
feat: stabilize EIP-5792 (#3592)
jxom Apr 22, 2025
e15fbe7
chore: add exports
jxom Apr 22, 2025
344b5c9
chore: remove redundant changeset
jxom Apr 22, 2025
573e7d7
feat: export ERC-1155 abi (#3531)
RobbyUitbeijerse Apr 22, 2025
42b46c6
chore: version package (#3591)
github-actions[bot] Apr 22, 2025
27ffbfa
chore: up
jxom Apr 22, 2025
5250d3e
chore: up size
jxom Apr 22, 2025
d70c639
docs: up
jxom Apr 23, 2025
59d2c09
docs: up
jxom Apr 23, 2025
9ba6d71
docs: fix docs regarding the `wallet_switchEthereumChain` method. (#3…
0xsanson Apr 26, 2025
4b96010
feat: add MemeCore mainnet and testnet (#3596)
tech-memecore Apr 26, 2025
982e2ca
fix: resolves #3593
jxom Apr 28, 2025
4bbab5f
feat: add Shardeum mainnet (#3599)
Yutaro-Mori-eng Apr 29, 2025
ce10625
chore: version package (#3598)
github-actions[bot] Apr 29, 2025
1c5326f
fix: ENS batch gateway function signatures (#3603)
dgca Apr 30, 2025
83e0e24
revert: "fix: ENS batch gateway function signatures" (#3605)
jxom Apr 30, 2025
198504d
feat: add `type` to `sendTransaction` (#3600)
TateB May 1, 2025
e39d6c1
feat: up Fraxtal and Fraxtal testnet gas token to FRAX (#3607)
Ryan-Adami May 1, 2025
4fb702a
chore: version package (#3604)
github-actions[bot] May 1, 2025
d9ab367
tests: update snapshots
jxom May 2, 2025
6cc31bb
fix: `wallet_getCapabilities` params (#3611)
jxom May 2, 2025
f9bcb6b
chore: version package (#3612)
github-actions[bot] May 2, 2025
804187c
feat: typed eip5792 capabilities (#3615)
jxom May 4, 2025
fb91d95
chore: update plumenetwork.xyz to plume.org (#3620)
eyqs May 5, 2025
73286bc
chore: version package (#3618)
github-actions[bot] May 5, 2025
fcd7a2a
tests: up snapshots
jxom May 5, 2025
4563ed5
feat(experimental): add `connect` + `disconnect` actions (#3619)
jxom May 5, 2025
cede184
feat(experimental): add `addSubAccount` action (#3621)
jxom May 5, 2025
3dced53
fix: exports
jxom May 5, 2025
414cde4
fix: lockfile
jxom May 5, 2025
da3a50f
fix: make watchBlocks with `emitMissed` work from genesis block (#3626)
fubhy May 5, 2025
06614b3
feat: sync erc7895
jxom May 5, 2025
26597dc
chore: version package (#3622)
github-actions[bot] May 5, 2025
9502fe1
docs: up cache
jxom May 5, 2025
6556eed
fix: resolves #3627
jxom May 5, 2025
f05df20
test: up
jxom May 5, 2025
1b92500
docs: up
jxom May 5, 2025
5cf857b
feat: remove celo peculiarities from block structure (#3623)
aaronmgdr May 6, 2025
c8b6a18
feat: add arenaz chain (#3625)
alien-max May 6, 2025
4c3b942
fix: types
jxom May 6, 2025
e50696f
chore: up snaps
jxom May 6, 2025
31cdcda
chore: up disputegameFactory for World Sepolia (#3632)
zainbacchus May 7, 2025
db80ddc
feat: up toHex.md (#3630)
BahadorGh May 7, 2025
1a49c75
feat: support block overrides on simulate/call (#3631)
cruzdanilo May 8, 2025
2f750ec
fix: resolves #3629
jxom May 8, 2025
44c53ad
chore: up size
jxom May 8, 2025
7765de9
docs: up cache
jxom May 8, 2025
c996909
chore: up
jxom May 8, 2025
f3ec11e
chore: changeset
jxom May 8, 2025
9a8c417
chore: up size
jxom May 8, 2025
91520aa
chore: version package (#3628)
github-actions[bot] May 8, 2025
56e42cc
Merge remote-tracking branch 'upstream/main'
waynezircuit May 8, 2025
279150f
chore: check fix
waynezircuit May 8, 2025
925d1d9
ci: dependency fix
waynezircuit May 8, 2025
02dbb95
chore: formatting
waynezircuit May 8, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
3 changes: 3 additions & 0 deletions .changeset/config.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,9 @@
"access": "public",
"baseBranch": "main",
"updateInternalDependencies": "patch",
"snapshot": {
"useCalculatedVersion": true
},
"___experimentalUnsafeOptions_WILL_CHANGE_IN_PATCH": {
"onlyUpdatePeerDependentsWhenOutOfRange": true
},
Expand Down
2 changes: 1 addition & 1 deletion .github/actions/install-dependencies/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ runs:
- name: Set up foundry
uses: foundry-rs/foundry-toolchain@v1
with:
version: nightly
version: nightly-2564718bbbddb59cd07fc3b9ffc775dff548c558

- name: Set up pnpm
uses: wevm/actions/.github/actions/pnpm@main
10 changes: 1 addition & 9 deletions .github/workflows/verify.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,15 +22,7 @@ jobs:
run: pnpm check:repo

- name: Check code
run: pnpm check

- uses: stefanzweifel/git-auto-commit-action@v5
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
commit_message: 'chore: format'
commit_user_name: 'github-actions[bot]'
commit_user_email: 'github-actions[bot]@users.noreply.github.com'
run: pnpm biome check

build:
name: Build
Expand Down
5 changes: 4 additions & 1 deletion .gitmodules
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,7 @@
url = git@github.com:OpenZeppelin/openzeppelin-contracts.git
[submodule "contracts/lib/solady-6c2d0da"]
path = contracts/lib/solady-6c2d0da
url = https://github.com/Vectorized/solady
url = git@github.com:Vectorized/solady.git
[submodule "contracts/lib/account-abstraction-v07"]
path = contracts/lib/account-abstraction-v07
url = git@github.com:eth-infinitism/account-abstraction.git
4 changes: 3 additions & 1 deletion contracts/foundry.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,12 @@
libs = ["lib"]
remappings = [
"@openzeppelin/=lib/openzeppelin/",
"@account-abstraction/=lib/account-abstraction/",
"account-abstraction/=lib/account-abstraction/contracts/",
"account-abstraction-v07/=lib/account-abstraction-v07/contracts/",
"solady/=lib/solady/src/",
"solady-dc09481/=lib/solady-dc09481/src/",
"solady-6c2d0da/=lib/solady-6c2d0da/src/",
"solady-6c2d0da/=lib/solady-6c2d0da/src/"
]
src = "src"
out = "out"
Expand Down
2 changes: 1 addition & 1 deletion contracts/lib/account-abstraction
1 change: 1 addition & 0 deletions contracts/lib/account-abstraction-v07
6 changes: 6 additions & 0 deletions contracts/src/accounts/Simple7702Account_08.sol
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
// SPDX-License-Identifier: Unlicense
pragma solidity ^0.8.28;

import {Simple7702Account} from "account-abstraction/accounts/Simple7702Account.sol";

contract Simple7702AccountV08 is Simple7702Account {}
2 changes: 1 addition & 1 deletion contracts/src/accounts/SoladyAccountFactory_06.sol
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: Unlicense
pragma solidity ^0.8.13;
pragma solidity ^0.8.28;

import {ERC4337Factory} from "solady-dc09481/accounts/ERC4337Factory.sol";

Expand Down
2 changes: 1 addition & 1 deletion contracts/src/accounts/SoladyAccountFactory_07.sol
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: Unlicense
pragma solidity ^0.8.13;
pragma solidity ^0.8.28;

import {ERC4337Factory} from "solady-6c2d0da/accounts/ERC4337Factory.sol";

Expand Down
2 changes: 1 addition & 1 deletion contracts/src/accounts/SoladyAccount_06.sol
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: Unlicense
pragma solidity ^0.8.13;
pragma solidity ^0.8.28;

import {ERC4337} from "solady-dc09481/accounts/ERC4337.sol";

Expand Down
2 changes: 1 addition & 1 deletion contracts/src/accounts/SoladyAccount_07.sol
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: Unlicense
pragma solidity ^0.8.13;
pragma solidity ^0.8.28;

import {ERC4337} from "solady-6c2d0da/accounts/ERC4337.sol";

Expand Down
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
// SPDX-License-Identifier: Unlicense
pragma solidity ^0.8.13;
pragma solidity ^0.8.28;

import {IEntryPoint} from "account-abstraction/interfaces/IEntryPoint.sol";
import {VerifyingPaymaster as VerifyingPaymaster_} from "account-abstraction/samples/VerifyingPaymaster.sol";
import {IEntryPoint} from "account-abstraction-v07/interfaces/IEntryPoint.sol";
import {VerifyingPaymaster as VerifyingPaymaster_} from "account-abstraction-v07/samples/VerifyingPaymaster.sol";

contract VerifyingPaymaster is VerifyingPaymaster_ {
contract VerifyingPaymaster_07 is VerifyingPaymaster_ {
constructor(
IEntryPoint entryPoint,
address verifyingSigner
Expand Down
132 changes: 132 additions & 0 deletions contracts/src/paymasters/VerifyingPaymaster_08.sol
Original file line number Diff line number Diff line change
@@ -0,0 +1,132 @@
// https://github.com/eth-infinitism/account-abstraction-samples/blob/master/contracts/VerifyingPaymaster.sol

// SPDX-License-Identifier: GPL-3.0
pragma solidity ^0.8.28;

import "account-abstraction/core/BasePaymaster.sol";
import "account-abstraction/core/UserOperationLib.sol";
import "account-abstraction/core/Helpers.sol";

import "@openzeppelin/contracts/utils/cryptography/ECDSA.sol";
import "@openzeppelin/contracts/utils/cryptography/MessageHashUtils.sol";

/**
* A sample paymaster that uses external service to decide whether to pay for the UserOp.
* The paymaster trusts an external signer to sign the transaction.
* The calling user must pass the UserOp to that external signer first, which performs
* whatever off-chain verification before signing the UserOp.
* Note that this signature is NOT a replacement for the account-specific signature:
* - the paymaster checks a signature to agree to PAY for GAS.
* - the account checks a signature to prove identity and account ownership.
*/
contract VerifyingPaymaster_08 is BasePaymaster {
using UserOperationLib for PackedUserOperation;

address public immutable verifyingSigner;

uint256 private constant VALID_TIMESTAMP_OFFSET = PAYMASTER_DATA_OFFSET;

uint256 private constant SIGNATURE_OFFSET = VALID_TIMESTAMP_OFFSET + 64;

constructor(
IEntryPoint _entryPoint,
address _verifyingSigner
) BasePaymaster(_entryPoint) {
verifyingSigner = _verifyingSigner;
}

/**
* return the hash we're going to sign off-chain (and validate on-chain)
* this method is called by the off-chain service, to sign the request.
* it is called on-chain from the validatePaymasterUserOp, to validate the signature.
* note that this signature covers all fields of the UserOperation, except the "paymasterAndData",
* which will carry the signature itself.
*/
function getHash(
PackedUserOperation calldata userOp,
uint48 validUntil,
uint48 validAfter
) public view returns (bytes32) {
//can't use userOp.hash(), since it contains also the paymasterAndData itself.
return
keccak256(
abi.encode(
userOp.sender,
userOp.nonce,
keccak256(userOp.initCode),
keccak256(userOp.callData),
userOp.accountGasLimits,
uint256(
bytes32(
userOp
.paymasterAndData[PAYMASTER_VALIDATION_GAS_OFFSET:PAYMASTER_DATA_OFFSET]
)
),
userOp.preVerificationGas,
userOp.gasFees,
block.chainid,
address(this),
validUntil,
validAfter
)
);
}

/**
* verify our external signer signed this request.
* the "paymasterAndData" is expected to be the paymaster and a signature over the entire request params
* paymasterAndData[:20] : address(this)
* paymasterAndData[20:84] : abi.encode(validUntil, validAfter)
* paymasterAndData[84:] : signature
*/
function _validatePaymasterUserOp(
PackedUserOperation calldata userOp,
bytes32 /*userOpHash*/,
uint256 requiredPreFund
)
internal
view
override
returns (bytes memory context, uint256 validationData)
{
(requiredPreFund);

(
uint48 validUntil,
uint48 validAfter,
bytes calldata signature
) = parsePaymasterAndData(userOp.paymasterAndData);
//ECDSA library supports both 64 and 65-byte long signatures.
// we only "require" it here so that the revert reason on invalid signature will be of "VerifyingPaymaster", and not "ECDSA"
require(
signature.length == 64 || signature.length == 65,
"VerifyingPaymaster: invalid signature length in paymasterAndData"
);
bytes32 hash = MessageHashUtils.toEthSignedMessageHash(
getHash(userOp, validUntil, validAfter)
);

//don't revert on signature failure: return SIG_VALIDATION_FAILED
if (verifyingSigner != ECDSA.recover(hash, signature)) {
return ("", _packValidationData(true, validUntil, validAfter));
}

//no need for other on-chain validation: entire UserOp should have been checked
// by the external service prior to signing it.
return ("", _packValidationData(false, validUntil, validAfter));
}

function parsePaymasterAndData(
bytes calldata paymasterAndData
)
public
pure
returns (uint48 validUntil, uint48 validAfter, bytes calldata signature)
{
(validUntil, validAfter) = abi.decode(
paymasterAndData[VALID_TIMESTAMP_OFFSET:],
(uint48, uint48)
);
signature = paymasterAndData[SIGNATURE_OFFSET:];
}
}
2 changes: 1 addition & 1 deletion contracts/src/test/BatchCallDelegation.sol
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: Unlicense
pragma solidity ^0.8.13;
pragma solidity ^0.8.28;

contract BatchCallDelegation {
struct Call {
Expand Down
2 changes: 1 addition & 1 deletion contracts/src/test/ERC20InvalidTransferEvent.sol
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: Unlicense
pragma solidity ^0.8.13;
pragma solidity ^0.8.28;

contract ERC20InvalidTransferEvent {
// Non-conforming `to` parameter (not indexed).
Expand Down
2 changes: 1 addition & 1 deletion contracts/src/test/EnsAvatarTokenUri.sol
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: Unlicense
pragma solidity ^0.8.13;
pragma solidity ^0.8.28;

contract EnsAvatarTokenUri {
function ownerOf(uint256 tokenId) public view returns (address) {
Expand Down
2 changes: 1 addition & 1 deletion contracts/src/test/ErrorsExample.sol
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: Unlicense
pragma solidity ^0.8.13;
pragma solidity ^0.8.28;

contract ErrorsExample {
struct Foo {
Expand Down
2 changes: 1 addition & 1 deletion contracts/src/test/Event.sol
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: Unlicense
pragma solidity ^0.8.13;
pragma solidity ^0.8.28;

contract Event {
event MessageEmitted(address indexed to, uint256 value, bytes data);
Expand Down
2 changes: 1 addition & 1 deletion contracts/src/test/GH434.sol
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: Unlicense
pragma solidity ^0.8.13;
pragma solidity ^0.8.28;

contract GH434 {
function foo() public pure returns (uint256 a, bool b) {
Expand Down
7 changes: 5 additions & 2 deletions contracts/src/test/OffchainLookupExample.sol
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: Unlicense
pragma solidity ^0.8.13;
pragma solidity ^0.8.28;

contract OffchainLookupExample {
error OffchainLookup(
Expand Down Expand Up @@ -30,7 +30,10 @@ contract OffchainLookupExample {
bytes calldata result,
bytes calldata extraData
) external view returns (address) {
(address owner, bytes32 hash, bytes memory sig) = abi.decode(result, (address, bytes32, bytes));
(address owner, bytes32 hash, bytes memory sig) = abi.decode(
result,
(address, bytes32, bytes)
);
address signer = recoverSigner(hash, sig);
require(signer == owner, "invalid signature");
return signer;
Expand Down
2 changes: 1 addition & 1 deletion contracts/src/test/Payable.sol
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: Unlicense
pragma solidity ^0.8.13;
pragma solidity ^0.8.28;

contract Payable {
function pay() public payable {}
Expand Down
2 changes: 1 addition & 1 deletion environments/bun/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { mainnet } from 'viem/chains'

const client = createPublicClient({
chain: mainnet,
transport: http('https://eth.drpc.org'),
transport: http(),
})

const webSocketClient = createPublicClient({
Expand Down
2 changes: 1 addition & 1 deletion environments/next/src/app/client.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ export function Client() {
;(async () => {
const client = createPublicClient({
chain: mainnet,
transport: http('https://eth.drpc.org'),
transport: http(),
})

const webSocketClient = createPublicClient({
Expand Down
2 changes: 1 addition & 1 deletion environments/next/src/app/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import { Client } from './client'
export default async function Home() {
const client = createPublicClient({
chain: mainnet,
transport: http('https://eth.drpc.org'),
transport: http(),
})

const webSocketClient = createPublicClient({
Expand Down
2 changes: 1 addition & 1 deletion environments/node/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ const { mainnet } = require('viem/chains')

const client = createPublicClient({
chain: mainnet,
transport: http('https://eth.drpc.org'),
transport: http(),
})

const webSocketClient = createPublicClient({
Expand Down
2 changes: 1 addition & 1 deletion environments/node/index.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { mainnet } from 'viem/chains'

const client = createPublicClient({
chain: mainnet,
transport: http('https://eth.drpc.org'),
transport: http(),
})

const webSocketClient = createPublicClient({
Expand Down
2 changes: 1 addition & 1 deletion environments/tsc/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { mainnet } from 'viem/chains'
;(async () => {
const client = createPublicClient({
chain: mainnet,
transport: http('https://eth.drpc.org'),
transport: http(),
})

const webSocketClient = createPublicClient({
Expand Down
2 changes: 1 addition & 1 deletion environments/vite/src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { mainnet } from 'viem/chains'

const client = createPublicClient({
chain: mainnet,
transport: http('https://eth.drpc.org'),
transport: http(),
})

const webSocketClient = createPublicClient({
Expand Down
Loading
Loading