API Reference Dusk v#0.1.0

Copy Markdown View Source

Modules

Cluster over Zenoh (zenohd) and Iroh (iron / P2P QUIC).

Standalone CLI (dusk) and Mix task (mix dusk).

Supervisor for Zenoh and/or Iroh.

Pure-Elixir fallbacks for benches when the NIF is absent.

Phoenix FLAME backend with Zenoh and/or Iroh overlay.

Iroh (iron) endpoint wrapper. Optional iroh_beam.

Zig NIF: Zenoh key-expr match and FNV-1a hash64.

Content-addressed blobs: BLAKE3 identity, XXH3 fast checksum.

S5-style blob CID: 0x5b 0x82 0x1e + BLAKE3-256 + unsigned LEB128 size.

S3 PUT/GET with optional AWS SigV4. BLAKE3 stored as x-amz-meta-blake3.

S5 blob client. Content-addressed with BLAKE3; HTTP to an S5 node.

libcluster strategy: membership over Iroh (iron / P2P QUIC).

libcluster strategy: membership gossip over a Zenoh key.

Brokered Zenoh client. Talks to zenohd, not peer-mesh.

Mix Tasks

Dusk CLI. Same as the dusk escript.

Build a Burrito single-file CLI (ERTS inside). Needs zig + xz.

Install dusk: Burrito single binary if possible, else escript.