github wevm/viem viem@2.46.0

9 hours ago

Minor Changes

  • #4304 b6b50d40fb6bbadc851377b74b2dd4da584958b0 Thanks @jxom! - Breaking (viem/tempo): Renamed nonceKey: 'random' to nonceKey: 'expiring' to align with TIP-1009 terminology.

    TIP-1009 defines "expiring nonces" as time-based replay protection using validBefore timestamps. The name 'expiring' better describes the mechanism than 'random'.

    await sendTransaction(client, {
      account,
    - nonceKey: 'random',
    + nonceKey: 'expiring',
      to: '0x...',
    })

Don't miss a new viem release

NewReleases is sending notifications on new releases.