compact-core:standard-library

Community

Cryptography, tokens, and time tools for Compact.

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 required

Components

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.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.