https://github.com/gavin-chua/cryptofin-solidity
A collection of Solidity libraries for building secure and gas-efficient smart contracts on Ethereum.
https://github.com/gavin-chua/cryptofin-solidity
ehtererum gas library solidity
Last synced: 10 months ago
JSON representation
A collection of Solidity libraries for building secure and gas-efficient smart contracts on Ethereum.
- Host: GitHub
- URL: https://github.com/gavin-chua/cryptofin-solidity
- Owner: gavin-chua
- License: mit
- Created: 2025-01-04T12:37:47.000Z (over 1 year ago)
- Default Branch: master
- Last Pushed: 2025-01-04T12:38:46.000Z (over 1 year ago)
- Last Synced: 2025-06-01T20:54:37.416Z (about 1 year ago)
- Topics: ehtererum, gas, library, solidity
- Language: Solidity
- Homepage:
- Size: 29.3 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# CryptoFin Solidity
A collection of Solidity libraries, with an initial focus on arrays.
## [Documentation](https://cryptofinlabs.github.io/cryptofin-solidity/)
Documentation is generated from Natspec.
## Quickstart
npm install --save cryptofin-solidity
### Use it in a project
import "cryptofin-solidity/contracts/array-utils/AddressArrayUtils.sol";
contract Contract {
using AddressArrayUtils for address[];
function containsDeadBeef(address[] memory addresses)
returns (bool)
{
return addresses.contains(address(0xdeadbeef));
}
}
## Contributing
If you'd like to contribute, this library is in need of:
- More functionality
- More tests
- [Other open feature requests](https://github.com/cryptofinlabs/cryptofin-solidity/labels/enhancement)
## v0.0.x
This library is still relatively new and may have breaking changes in the future.