From 99becf206bf8fa58a7947ee9cd479e840fa2dba8 Mon Sep 17 00:00:00 2001 From: Jan-Felix <524089+jfschwarz@users.noreply.github.com> Date: Mon, 16 Dec 2024 16:21:20 +0100 Subject: [PATCH] chore: readme fixes (#15) --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 72388f0..50e44b1 100644 --- a/README.md +++ b/README.md @@ -38,9 +38,9 @@ const state = [] // mutable execution state const result = execute(actions, state, provider) ``` -ser-kit uses two phases, planning and execution. Planning yields a sequence of action (see `ExecutionAction` type). -This indirection allows giving users a sense all steps required for execution before prompting for the first signature. -It also allows customization of indi +ser-kit uses two phases, planning and execution. Planning yields a sequence of actions (see `ExecutionAction` type). +This indirection allows giving users a sense of all steps required for execution before prompting for the first signature. +It also allows customization of individual execution steps, for example for setting the gas price or using a specific transaction nonce. The `execute` function sequentially executes the actions using the given provider. It updates the given state array in place, so that the outcome of the action at index `i` is written at `state[i]`.