Native NAPI addon for Hathor confidential transaction cryptography.
Provides Pedersen commitments, Bulletproof range proofs, surjection proofs, and ECDH-based shielded output creation/decryption using secp256k1-zkp.
npm install @hathor/ct-crypto-nodePrebuilt binaries are included for:
- macOS ARM64 (Apple Silicon)
- macOS x64 (Intel)
- Linux x64
- Linux ARM64
Requires Rust toolchain:
cargo build --features napi --release- Push a tag to trigger CI builds:
git tag v0.3.0 && git push --tags - Wait for the GitHub Actions
buildworkflow to complete - Download the
npm-packageartifact from the workflow run - Extract and publish:
cd npm-package/
npm publish --access publicMIT