/solcraft

Modern, opinionated, gas optimized foundational componentes for EVM smart contract development. Most of the contracts should be upgradable by default.

Primary LanguageSolidity

solcraft

Modern, opinionated, gas optimized foundational componentes for EVM smart contract development. Most of the contracts should be upgradable by default.

Contracts

├── experimental
│   ├── ERC404
│   │   ├── ERC404Mirror.sol
│   │   ├── ERC404.sol
│   │   ├── examples
│   │   │   └── ERC404Mint.sol
│   │   ├── interfaces
│   │   │   ├── IERC404Mirror.sol
│   │   │   └── IERC404.sol
│   │   └── README.md
│   └── ReentrancyGuard.sol
├── tokens
│   └── ERC6909.sol
└── utils
    ├── auth
    │   └── Ownable.sol
    ├── cryptography
    │   └── EIP712.sol
    ├── ECDSA.sol
    ├── FixedPointMathLib.sol
    ├── Initializable.sol
    ├── proxy
    │   ├── LibClone.sol
    │   └── UUPSUpgradeable.sol
    ├── SafeCastLib.sol
    └── SafeTransferLib.sol

Safety

This is experimental software and is provided on an "as is" and "as available" basis.

  • There are implicit invariants these contracts expect to hold.
  • You can easily shoot yourself in the foot if you're not careful.
  • You should thoroughly read each contract you plan to use top to bottom.

We do not give any warranties and will not be liable for any loss incurred through any use of this codebase.

Installation

  • TODO

Notice

With the advancement of the EVM, some of these contracts will become obsolete. And we will update and deprecated them accordingly.

Credits

None of these crates would have been possible without the great work done in:

License

This project is licensed under MIT.