|
|
||
|---|---|---|
| app | ||
| migrations | ||
| src | ||
| .envrc | ||
| .gitignore | ||
| .pre-commit-config.yaml | ||
| Cargo.lock | ||
| Cargo.toml | ||
| README.md | ||
| config.toml | ||
| flake.lock | ||
| flake.nix | ||
| rust-toolchain.toml | ||
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
- terms
- channel
- UNPACK
- global
- config
- UNPACK
- storage
- ephemeral
- UNPACK
- persistent
- UNPACK
- ephemeral
- l1
- Mock
- UNPACK
- Via "kupmios"
- Mock