From 103762f8b13c27a6e15853fd268ef14427a5c7d9 Mon Sep 17 00:00:00 2001 From: Noah Gardner Date: Fri, 25 Sep 2026 15:38:53 -0400 Subject: [PATCH] docs: ez's ledger library on the hub at v1.2.0 Co-Authored-By: Claude Opus 5.5 (1M context) Claude-Session: https://claude.ai/code/session_01Vp3SCG5bcKMF4fUytZTwPj --- README.md | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/README.md b/README.md index bedbea4..6e6fbad 100644 --- a/README.md +++ b/README.md @@ -48,6 +48,22 @@ nix profile install github:Emerging-Patterns/ez That install provides `ez` and `ezx`. `nix develop` gives a shell with bend, git, openssl and `BEND_LIB` already set. +### The ledger library, from the hub + +ez's ledger library, which reads and writes `ez.toml`, is on the Bend hub. +At v1.2.0 it is `0xb618c7a3b7cc335880c0ff4267b5bd98`, and any Bend program +can import it with nothing but `bend`: + +```bend +import 0xb618c7a3b7cc335880c0ff4267b5bd98/ledger/manifest.bend as Ledger + +def main() -> String: + Ledger.show(Ledger.parse("[package]\nname = \"app\"\nentry = \"main.bend\"\n")) +``` + +`bend` fetches it from the hub on first run. The `ez` command itself is +built from a clone, as above. + ## Quickstart ```bash