Skip to content

Commit 331dc2d

Browse files
committed
feat: add reference to the open source machine running server
1 parent 026103a commit 331dc2d

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

packages/event-listener/README.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -390,3 +390,11 @@ With some minor modifications, the previous example can be adapted to listen tra
390390
To see the example with the full implementation, check the [Chain Signatures example](https://github.com/LIT-Protocol/chain-signatures).
391391

392392
This opens up a wide range of possibilities, such as cross-chain messaging, token swaps, gas sponsorship, offchain multisigs, and more.
393+
394+
## Long-running machines
395+
396+
Most likely you would want to run the state machines in a long-running process, such as a server. This way, the machine can keep running and listening to events, executing actions, and transitioning between states.
397+
398+
We offer a basic express server that can be used to receive state machines declarative definition and run/stop them when needed.
399+
400+
Check [`LIT-Protocol/automation`](https://github.com/LIT-Protocol/automation) repository and feel free to fork or contribute there.

0 commit comments

Comments
 (0)