·
2112 commits
to main
since this release
Patch Changes
-
#100
6bb8ce4
Thanks @jxom! - Breaking: RenamedrequestAccounts
Wallet Action torequestAddresses
Breaking: Renamed
getAccounts
Wallet Action togetAddresses
-
#100
6bb8ce4
Thanks @jxom! - Added support for Externally Owned Accounts. -
#100
6bb8ce4
Thanks @jxom! - Breaking: Thefrom
argument has been removed from Actions in favour ofaccount
to distinguish between Account types:+ import { getAccount } from 'viem' const [address] = await walletClient.requestAddresses() + const account = getAccount(address) const hash = await walletClient.sendTransaction({ - from: address, + account, to: '0x70997970c51812dc3a010c7d01b50e0d17dc79c8', value: 1000000000000000000n })
Affected actions:
call
estimateGas
sendTransaction
signMessage
estimateContractGas
multicall
readContract
simulateContract
writeContract