Viem 2.40 adds support for `eth_fillTransaction` (if supported by the execution node) for locally signed transactions (local accounts).
Combined with `eth_sendRawTransactionSync`, this decreases the amount of RPC calls to fulfil a transaction from 5+ to only 2.
next version of viem will support synchronous transaction submission and return receipt (instead of hash) – including a fallback if the RPC handler does not support `eth_sendRawTxSync`/sync submission yet
If you're building a new library, and want to bootstrap a project with Wevm-biased defaults (build setup, tsconfig, formatter/linter, vitest, gh actions, changelogs, etc).
Run this command: