ledgerloops / saiga

A strawman implementation of a LedgerLoops agent that handles DLD, Loop Negotiation, and Loop Execution
0 stars 0 forks source link

Interactive demo #4

Closed michielbdejong closed 6 months ago

michielbdejong commented 6 months ago
michielbdejong commented 6 months ago

A webpage where you can add nodes and edit trustlines, and then see what happens.

michielbdejong commented 6 months ago

To keep it simple I can do this in deno CLI first.

michielbdejong commented 6 months ago

I made a start with snapshotting, so that the CLI demo can be interactive. Big advantage would be a super simple stack, without messaging complexity, without display complexity, and without compilation complexity. I need to get rid of the promises object on Friends in ProbeEngine though, because that cannot be snapshotted. Maybe use events?

michielbdejong commented 6 months ago

Ah, good news - it was unused! OK, will see if I can now get the snapshot to carry between src/init.ts and src/run.ts.

michielbdejong commented 6 months ago

OK, the snapshotting works, now it would be cool to have a CLI tool with commands:

michielbdejong commented 6 months ago

Implemented this in https://github.com/ledgerloops/ledgerloops