9 repositorios
Tools for packing data and managing storage slots to minimize gas consumption.
Distinct from Data Storage Optimizers: Distinct from general data optimizers: focuses on contract-specific storage optimization.
Explore 9 awesome GitHub repositories matching data & databases · Storage Optimization Utilities. Refine with filters or upvote what's useful.
OpenZeppelin Contracts is a library of modular, secure, and reusable smart contract components designed for the development of decentralized applications. It provides a foundational framework for building standard-compliant contracts, offering battle-tested implementations for token standards, access control, and common utility patterns. The project distinguishes itself through its comprehensive support for complex architectural patterns, including proxy-based upgradeability, role-based access control, and account abstraction. It enables developers to implement modular logic injection via hoo
Writes data to specific storage slots and packs short strings to reduce gas costs and prevent storage conflicts.
This project serves as a comprehensive technical reference and educational platform for the Ethereum ecosystem. It provides a deep dive into the fundamental architecture of decentralized ledger systems, covering the core mechanisms that enable trustless state transitions, cryptographic security, and network consensus. The documentation distinguishes itself by bridging high-level conceptual frameworks with practical implementation details. It details the lifecycle of smart contract development, from source code compilation and bytecode analysis to deployment and interaction patterns. Furthermo
Pre-declare accessed addresses and storage slots in an access list to reduce the total gas costs required for complex smart contract interactions.
Foundry is an Ethereum smart contract development toolkit and blockchain simulator designed for compiling, testing, and deploying contracts for the Ethereum Virtual Machine. It provides a local environment for simulating blockchain state and forking live networks to execute code without modifying the actual chain. The project features a property-based fuzzing engine to identify edge-case failures in contract logic and a transaction debugger for analyzing detailed execution traces and gas consumption. It enables developers to mirror the state of a remote chain locally to test against real-worl
Measures and compares the computational gas cost of contract executions to identify expensive operations.
Hardhat is a smart contract development framework and EVM tooling suite designed for the full lifecycle of Ethereum and EVM-compatible applications. It serves as a development environment for compiling, testing, and deploying smart contracts, providing a local blockchain simulation and a programmable task runner. The framework is distinguished by its extensive simulation capabilities, including the ability to fork remote network state and manipulate block time or account balances. It features a hook-based plugin system that allows for the extension of core functionality and the creation of cu
Calculates minimum, maximum, average, and median gas costs for individual functions during test runs.
Wasm3 es un intérprete de WebAssembly diseñado para la integración en tiempo de ejecución embebido. Permite la ejecución de lógica binaria portátil en microcontroladores y hardware con recursos limitados, proporcionando soporte para módulos que utilizan la WebAssembly System Interface (WASI) para interactuar con los recursos del sistema. El entorno de ejecución emplea interpretación de bytecode basada en registros y despacho de hilos directos para mapear registros virtuales a registros físicos de la CPU. Incluye una interfaz de llamadas al host para mapear importaciones a funciones de C y utiliza validación estática de módulos para garantizar que el bytecode siga las reglas de la especificación antes de la ejecución. El proyecto proporciona gestión de recursos mediante límites de asignación de memoria lineal y medición de gas a nivel de instrucción para evitar bucles infinitos y el agotamiento del sistema. La observabilidad se maneja mediante rastreo de ejecución, monitoreo de flujo y perfilado de operaciones del intérprete. Para el desarrollo y control de calidad, el entorno de ejecución incluye un REPL interactivo y admite fuzzing guiado por cobertura.
Constrains computational resource usage for modules and halts execution when predefined gas limits are exceeded.
This project is a curated directory and index of resources for Solidity smart contract development. It provides a categorized collection of libraries, development frameworks, security tools, and educational materials used to build and deploy decentralized applications. The repository functions as a comprehensive catalog for the software development lifecycle, featuring a specific index of community-vetted modular building blocks and token standard implementations. It also maintains a dedicated list of security resources, including static analyzers and fuzzers, to assist in auditing and securi
Provides a collection of techniques and tools for reducing gas costs in smart contracts.
Solmate es una colección de bloques de construcción y bibliotecas optimizados para gas para desarrollar contratos inteligentes seguros y eficientes en la cadena de bloques de Solana. Proporciona un conjunto de herramientas estandarizadas que incluyen un framework de control de acceso para gestionar roles de usuario y propiedad, una biblioteca matemática de punto fijo de alta precisión para cálculos decimales y de enteros con signo, y un verificador de pruebas de Merkle para validar la inclusión de datos. El proyecto proporciona implementaciones de tokens seguras para emitir y transferir tokens fungibles y no fungibles. Estas implementaciones incluyen comprobaciones de seguridad para evitar fallos silenciosos durante las transferencias de activos y plantillas eficientes en gas para variantes de bóvedas y activos envueltos. La biblioteca cubre áreas de capacidad más amplias, incluyendo el despliegue determinista de contratos, la gestión de datos en cadena a través de la conversión de tipos y medidas de seguridad de contratos inteligentes como guardias de reentrancia. También utiliza patrones de almacenamiento optimizados para reducir la sobrecarga de ejecución y los costos de actualización de estado.
Offers tools for packing data and managing storage slots to minimize gas consumption during state updates.
Solmate es un framework de programas y librería de contratos inteligentes para Solana que proporciona primitivas de blockchain optimizadas para gas. Sirve como un kit de desarrollo para implementar tokens SPL y sistemas de control de acceso seguro en la blockchain de Solana. El proyecto se centra en reducir el uso de unidades de cómputo y los costos de transacción mediante bloques de construcción eficientes en recursos. Proporciona componentes estandarizados para la lógica de tokens, seguimiento de saldos y primitivas de autorización diseñadas para restringir funciones sensibles de contratos inteligentes. El framework emplea patrones definidos y composición basada en primitivas para estructurar programas. Estas capacidades cubren la gestión de tokens on-chain y la implementación de sistemas de permisos seguros que cumplen con los estándares de la Solana Program Library.
Provides standardized low-cost building blocks for tokens and authorization to lower execution expenses.
ERC721A is an Ethereum smart contract library and implementation of the ERC721 standard for non-fungible tokens. It provides a technical framework for deploying token collections with a primary focus on reducing gas costs during the minting process. The implementation distinguishes itself through a gas-optimized approach to batch minting, allowing multiple tokens to be created in a single transaction. It achieves this by minimizing on-chain storage writes and optimizing how ownership data is mapped and stored on the blockchain. The project covers high-level capabilities for NFT collection de
Utilizes advanced storage packing and slot management to minimize expensive SSTORE operations during minting.