For a detailed explanation of how the protocol works, see the documentation.
Documentation per each contract:
- The
forgecommand-line tool - The
yarnpackage manager (optional) - An Ethereum mainnet RPC endpoint
-
Add the
ETH_RPCenvironment variable to the.envfile in the repository root. -
Run the following command:
yarn testOr run the
forgecommand directly (seepackage.json):forge test --fork-url $ETH_RPC ...
The license for every contract is the Business Source License 1.1 (BUSL-1.1). See the LICENSE file.