Skip to content

A collection of Solidity libraries for building secure and gas-efficient smart contracts on Ethereum.

License

Notifications You must be signed in to change notification settings

yosriady/cryptofin-solidity

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CryptoFin Solidity

A collection of Solidity libraries, with an initial focus on arrays.

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:

v0.0.x

This library is still relatively new and may have breaking changes in the future.

About

A collection of Solidity libraries for building secure and gas-efficient smart contracts on Ethereum.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Solidity 83.9%
  • JavaScript 16.1%