{"repo":"Forte11Cuba/nutcpp","free":true,"listed":false,"github":"https://github.com/Forte11Cuba/nutcpp","clone":"git clone https://github.com/Forte11Cuba/nutcpp.git","description":"A C++ library implementing the Cashu protocol","language":"C++","stars":15,"topics":["bitcoin","cashu","cashubtc","ecash","lightning","lightning-network"],"license":"MIT","category":"blockchain-web3","readme_excerpt":"nutcpp A C++17 library implementing the Cashu protocol — privacy-preserving electronic cash built on Bitcoin. What is Cashu? Cashu is an open ecash protocol based on Chaumian blind signatures. A mint issues ecash tokens in exchange for Lightning Network payments. Tokens can be transferred peer-to-peer and redeemed at the mint, with the mint unable to link issuance to redemption. The protocol is defined as a set of numbered specifications called NUTs (Notation, Usage, and Terminology). nutcpp provides a complete client-side implementation: cryptographic primitives, token encoding, HTTP mint communication, wallet operations, spending conditions, and deterministic secret derivation. Quick Start Build Connect to a Mint Mint Tokens via Lightning Encode and Decode Tokens Wallet Helpers nutcpp provides high-level wallet helpers that reduce the 6-step BDHKE protocol to 3 function calls. These are library functions (not demo-only) and have no HTTP coupling — the caller controls all API calls. A deterministic overload accepts pre-derived secrets and blinding factors from NUT-13: Spending Conditions P2PK (Pay-to-Public-Key) — NUT-11 HTLC (Hash Time-Locked Contracts) — NUT-14 Deterministic Secrets — NUT-13 Supports both v0 (BIP-32 path derivation) and v1 (HMAC-SHA256 KDF), dispatched automatically by keyset version. Payment Requests — NUT-18/26 Fee-Aware Proof Selection Error Handling Demo Application nutcpp includes an interactive terminal demo built with FTXUI. It serves as both a func","default_branch":null,"files":null,"tree":[],"storefront":"/r/Forte11Cuba","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/Forte11Cuba/nutcpp/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}