solidity-gas-saver
v1.0.0
Published
A Solidity library for gas-efficient smart contract functions.
Readme
Solidity Gas Saver
Overview
Solidity Gas Saver is a set of optimized Solidity contracts and libraries designed to reduce gas costs in Ethereum smart contracts. This project includes optimized mathematical operations, batch execution, and gas-efficient proxies.
Features
- GasSaver Library - Optimized math operations to reduce gas fees.
- BatchExecutor - Allows executing multiple transactions in a single batch.
- GasEfficientMath - Optimized arithmetic operations using unchecked blocks.
- GasOptimizedStorage - Implements gas-efficient storage patterns.
- GasOptimizedTokenTransfer - Reduces gas fees in token transfers.
- GasEfficientProxy - A minimal proxy pattern for gas-efficient contract calls.
Installation
npm installCompile Contracts
npx hardhat compileRun Tests
npx hardhat testDeploying
Edit hardhat.config.js to include your network settings, then run:
npx hardhat run scripts/deploy.js --network goerliLicense
MIT
