Skip to content

Solidity-based libraries for supporting ERC-721 and ERC-1155 smart contracts

License

Notifications You must be signed in to change notification settings

theappstudiollc/contracts-sol

Repository files navigation

CONTRACTS-SOL

Solidity-based libraries for supporting ERC-721 and ERC-1155 smart contracts

Currently the feature-set is kept small to ensure that your contract size remains under the 24kb contract size limit. Also expect that the API may change before the 1.0.0 release.

Available as a scoped package. Add it to package.json:

"@theappstudio/solidity": "0.9.9"

and import it in your solidity file:

import "@theappstudio/solidity/contracts/utils/DecimalStrings.sol";
import "@theappstudio/solidity/contracts/utils/OnChain.sol";
import "@theappstudio/solidity/contracts/utils/Randomization.sol";
import "@theappstudio/solidity/contracts/utils/SVG.sol";