compact-core:standard-library
CommunityCryptography, tokens, and time tools for Compact.
Software Engineering#cryptography#smart-contracts#utxo#compact#token-management#time-functions#maybe-either
Authoraaronbassett
Version1.0.0
Installs0
System Documentation
What problem does it solve?
Provide cryptographic primitives and token operations, and time utilities for Compact smart contracts to accelerate secure development without reinventing foundational components.
Core Features & Use Cases
- Cryptographic primitives: persistentHash, persistentCommit, ecAdd, ecMul for cross-contract security and commitments.
- Token and asset workflows: mintToken, send, receive, mergeCoin to manage a UTXO-style token lifecycle.
- Type-safe data handling: Maybe, Either patterns for robust error handling and optional values.
- Time and scheduling: blockTime, blockTimeBefore, blockTimeAfter for deadlines and time-based logic.
Quick Start
Import CompactStandardLibrary and begin using persistentCommit, persistentHash, ecAdd, ecMul, Maybe, Either, mintToken, receive, and blockTime in your circuits.
Dependency Matrix
Required Modules
None requiredComponents
references
💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: compact-core:standard-library Download link: https://github.com/aaronbassett/midnight-knowledgebase/archive/main.zip#compact-core-standard-library Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.