Solidity snippets too edgy to be in Solady.
For a future of EVMs fragmentation, where the latest opcodes are not supported on most L2s for years even after their inception on mainnet.
To install with Foundry:
forge install vectorized/soledge
To install with Hardhat:
npm install soledge
The Solidity smart contracts are located in the src
directory.
utils
├─ LibT — "Transient storage helper"
├─ ReentrancyGuard — "Reentrancy guard mixin"
└─ LibString - "Library for converting numbers into strings and other string operations"