Build
Architecture
protocol
Readme

⚠️ Important Notice: V2 in Development

We are currently developing Version 2 (V2) of our smart contract architecture. This new version will significantly enhance the developer experience for building Universal Apps.

Developers can already begin testing the new interface by referring to the V2 Localnet guide (opens in a new tab).

Install dependencies

$ yarn
$ forge soldeer update

Build

$ forge build

Test

$ forge test

Format

$ forge fmt

Gas Snapshots

$ forge snapshot

Anvil

$ anvil

Deploy

$ forge script script/<DeployScript>.s.sol:<DeployScript> --rpc-url <your_rpc_url> --private-key <your_private_key>
More detailed instructions

To view detailed instructions on how to deploy the contracts, please refer to the Deployment Guide.

This guide covers all steps required to deploy the contracts, including environment setup, commands, and best practices.

Cast

$ cast <subcommand>

Help

$ forge --help
$ anvil --help
$ cast --help