Registry / crypto / grin-util

grin-util

JSON →
library5.5.0rscratesunverified

Simple, private and scalable cryptocurrency implementation based on the Mimblewimble chain format.

# Cargo.toml [dependencies] grin_util = "5.5.0"
INSTALL
IMPORT
SIG · GRIN-UTIL
G
grin-util
cryptorustv5.5.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

SecretKey
✓ use grin_util::secp::key::SecretKey;

Generates a new secret key for Grin.

use grin_util::secp::key::SecretKey; fn main() { let _key = SecretKey::new(&mut rand::thread_rng()); }
Debug
Known issues
gotchaRequires secp256k1 feature flag for full functionality
fix
Add `features = ["secp256k1"]` to Cargo.toml dependency.
affects: >=5.0.0
Upgrade
Version history
5.5.0latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
19 hits · last 30 days
node
18
Resources
grin-util — cargo add grin-util · libregistry