Working tree is now the canonical repo. Off-chain play-money + trustless on-chain (FPMM AMM + CLOB via UMA settlement), AI market factory, creator/social/distribution, mobile shell + push, one-command demo + deploy-kit. Secrets excluded (see ENV-AND-KEYS.md). Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
35 lines
805 B
Markdown
35 lines
805 B
Markdown
# Overview
|
|
|
|
Solady offers highly-optimized Solidity snippets with flexible, easy-to-use APIs.
|
|
|
|
## Installation
|
|
|
|
To install with [**Foundry**](https://github.com/gakonst/foundry):
|
|
|
|
```sh
|
|
forge install vectorized/solady
|
|
```
|
|
|
|
To install with [**Hardhat**](https://github.com/nomiclabs/hardhat) or [**Truffle**](https://github.com/trufflesuite/truffle):
|
|
|
|
```sh
|
|
npm install solady
|
|
```
|
|
|
|
## Principles
|
|
|
|
Formless precision.
|
|
|
|
Disciplined freedom.
|
|
|
|
## Upgradability
|
|
|
|
Most contracts in Solady are compatible with both upgradeable and non-upgradeable (i.e. regular) contracts.
|
|
|
|
Please call any required internal initialization methods accordingly.
|
|
|
|
## EVM Compatibility
|
|
|
|
Some parts of Solady may not be compatible with chains with partial EVM equivalence.
|
|
|
|
Please always check and test for compatibility accordingly. |