No description
  • Rust 91%
  • Shell 3.9%
  • JavaScript 3.9%
  • Just 1.2%
Find a file
parabit 9caa211cb5
All checks were successful
CI / lint (push) Successful in 5m23s
CI / test-linux (push) Successful in 17m52s
Better types (#4)
Reviewed-on: #4
Reviewed-by: paratoxic <paratoxic@parasite.dev>
2026-05-05 01:09:42 +00:00
.forgejo/workflows Better types (#4) 2026-05-05 01:09:42 +00:00
.github/workflows Primary Functionality (#3) 2026-04-29 22:36:29 +00:00
bin Better types (#4) 2026-05-05 01:09:42 +00:00
public Primary Functionality (#3) 2026-04-29 22:36:29 +00:00
src Better types (#4) 2026-05-05 01:09:42 +00:00
tests Better types (#4) 2026-05-05 01:09:42 +00:00
.gitignore Primary Functionality (#3) 2026-04-29 22:36:29 +00:00
Cargo.lock Better types (#4) 2026-05-05 01:09:42 +00:00
Cargo.toml Better types (#4) 2026-05-05 01:09:42 +00:00
justfile Primary Functionality (#3) 2026-04-29 22:36:29 +00:00
LICENSE initial commit 2026-02-06 12:52:24 -06:00
README.md Primary Functionality (#3) 2026-04-29 22:36:29 +00:00

entangle


entangle builds Bitcoin swap transactions. Given two UTXOs owned by different parties, it produces a PSBT that safely exchanges them — party A signs, then party B signs, and the swap is complete.

Usage

As a library:

use entangle::swap::{build_swap_psbt, SwapRequest};

let psbt = build_swap_psbt(&request)?;

As an API server:

entangle api --bind 0.0.0.0:3000

As a frontend server (with optional embedded API):

entangle server --bind 0.0.0.0:8080 --with-api

Development

Requires Hermit for toolchain management.

just init   # set up environment
just dev    # run the app
just ci     # clippy + format check + tests