Skip to content

Commit a9ee7ae

Browse files
committed
feat: update readme with new Actions concept, removed from State
1 parent 2728414 commit a9ee7ae

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

packages/automation/README.md

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,16 +27,20 @@ yarn add @lit-protocol/automation
2727

2828
A state machine consists of states, and transitions between those states which are triggered based on a collection of Listeners.
2929

30-
### States
30+
### Actions
3131

32-
States represent different phases of your automation. Each state can:
32+
Actions are the different tasks the state machine will do. Each action can:
3333

3434
- Execute code when entered and/or exited
3535
- Configure PKPs and Capacity Credits for the machine
3636
- Run Lit Actions
3737
- Send blockchain transactions
3838
- Run custom code
3939

40+
### States
41+
42+
States represent different states the machine will stand and move between. Each state can have a combination of Actions to perform when entering or exiting itself.
43+
4044
### Transitions
4145

4246
Transitions define how the machine moves between states. They can be triggered automatically or by any combination of:

0 commit comments

Comments
 (0)