v0.1GitHub

Open sourceMIT or Apache-2.0v0.1

Everything that touches a token is public.

The ledger, the server, replication, the SDKs and the command line live in one repository, under MIT or Apache-2.0 at your option.

02Getting it

Get it from crates.io.

The libraries, the server and the worgl command are on crates.io. Nothing is on npm yet, so build the TypeScript package from sdk/typescript.

Rust and TypeScript
# Rust: add the client to a project, or install the command
$ cargo add worgl-client
$ cargo install worgl-cli

# TypeScript: build the package. It needs the wasm32 target
# and wasm-bindgen-cli; sdk/typescript/README.md has the steps.
$ git clone https://github.com/zhangheqi/worgl
$ cd worgl/sdk/typescript && npm ci && npm run build
crates.ioAvailable now
From gitAvailable now
npmNot available yet
03Maturity

Tested on every change.

What the tests hold it toEach links to its test

  1. 01Pay a note twice at once, and one payment wins.crates/worgl-server/tests/http.rs
  2. 02Alter any byte of a note, and it is refused.crates/worgl/tests/properties.rs
  3. 03A payment moves its exact amount, or nothing.crates/worgl-sdk/tests/payments.rs
  4. 04Stop the leader, and another takes over.crates/worgl-server/tests/cluster.rs
TESTED ON EVERY PULL REQUEST · LINUX · MACOS · RUST 1.89 · CIEVERY CHANGE

Security

Report a vulnerability privately through GitHub, not in a public issue.

Contributing

CI runs rustfmt, clippy, the tests on Linux and macOS, the minimum Rust version (1.89), the docs, the lifecycle example, the TypeScript SDK against a real server and the playground deploy on every pull request. Commit messages follow Conventional Commits. CI workflow

  • rustfmt
  • clippy
  • tests on Linux
  • tests on macOS
  • Rust 1.89
  • docs
  • lifecycle example
  • TypeScript SDK
  • playground deploy