-
Notifications
You must be signed in to change notification settings - Fork 164
Open
Labels
enhancementNew feature or requestNew feature or request
Description
I am opening this issue to propose the integration of sim-ln in Polar for automated payment activity generation between running nodes.
The requirements to add sim-ln are:
- Mount a volume containing macaroons and certs for each node
- generate a config file that outlines node access and desired activity (this is done intuitively in the UI)
- Pull the sim-ln image to run the simulation using the generated config and attached docker volume
The first step involves adding activity generation with user-defined payment flows. The simulator can also generate random activity based on the open channels.
I have started development of this feature in this branch and plan to open a draft pull request soon.
Below is the expected flow with screenshots of where development is ATM.
- The image below shows the addition of two buttons to give users the option to choose between the
Network Designer
(default) and theActivity Designer

- When the activity designer button is clicked, you get an activity configuration designer UI (if you don't have existing activities) or a list of previously configured activities. Activities are tied to networks and cannot be used between different networks.

- Here's another view of already activities. The plus icon allows you to duplicate the existing configuration after saving it. You can start the simulation using the start button and it will
- create a docker volume with the saved activities,
- create a simulation config
- pull the sim-ln image (if not downloaded already) and run the simulation using the config

Ideas and criticism are welcome. I hope this excites you as it does me.
okjodom, aassoiants and Fideltodayyokjodom
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request