Go to file
waalge aca2b9e8d5 wip 2025-03-14 16:45:13 +00:00
app wip 2025-03-14 16:45:13 +00:00
migrations wip 2025-01-21 07:57:48 +00:00
src wip 2025-03-14 16:45:13 +00:00
.envrc first use of sqlx 2025-01-03 12:38:55 +00:00
.gitignore first use of sqlx 2025-01-03 12:38:55 +00:00
.pre-commit-config.yaml first use of sqlx 2025-01-03 12:38:55 +00:00
Cargo.lock wip 2025-03-14 16:45:13 +00:00
Cargo.toml wip 2025-03-14 16:45:13 +00:00
README.md wip 2025-03-14 16:45:13 +00:00
config.toml wip 2025-03-14 16:45:13 +00:00
flake.lock wip 2025-01-21 07:57:48 +00:00
flake.nix wip 2025-01-21 07:57:48 +00:00
rust-toolchain.toml wip 2025-01-21 07:57:48 +00:00

README.md

CL L2 V0

Aims

This is a demo of a CL node that is able to:

  • Manage channels via l1 interface (all l1 txs)
  • Coordinate channels with other nodes (open, register)
  • Send and receive cheques

The repo is a sandbox for the Cardano Lightning's future work. Here we assess available libraries and designs.

Setup

This repo use nix flakes with a shell available. Otherwise ymmv.

Build:

cargo build

Run binary x:

cargo run --bin <x>

Current stack

  • Comms stack : rust-libp2p
  • Persistent storage : sqlx with sqlite

Design

See the design docs.

TODO

  • api
    • global
      • terms
        • simple
      • confer
        • simple
      • watch
      • register
    • channel
      • UNPACK
  • config
    • UNPACK
  • storage
    • ephemeral
      • UNPACK
    • persistent
      • UNPACK
  • l1
    • Mock
      • UNPACK
    • Via "kupmios"