crane-utilities

Community

Crane utilities for Solidity and Diamond

Authorcyotee
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Crane development teams often reinvent utilities for diamond storage, math, cryptography, and data handling. This library provides standardized, battle-tested building blocks to accelerate development and reduce risk.

Core Features & Use Cases

  • Collections in Diamond Storage: AddressSet, Bytes32Set, Bytes4Set, StringSet, UInt256Set for efficient on-chain storage patterns.
  • AMM and math utilities: ConstProdUtils and BetterMath support precise, safe math for liquidity pools and complex computations.
  • Cryptography and hashing: EIP712Repo and BetterEfficientHashLib provide typed data, domain separators, and hashing helpers.
  • Strings, bytes, and address helpers: BetterStrings, BetterBytes, and BetterAddress simplify common operations.
  • Real-world use: build governance, access control, or modular protocol components using standardized crates.

Quick Start

Install Crane utilities and import the relevant modules in your DFPkg to start using AddressSetRepo, ConstProdUtils, and BetterMath for storage and math operations.

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: crane-utilities
Download link: https://github.com/cyotee/cyotee-claude-plugin-crane/archive/main.zip#crane-utilities

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.