-
Cleanup Consider clearing the working tree or creating a fresh clone of the repository as it exists at the remote origin.
-
Test the contracts.
- Foundry:
make test
- Hardhat:
npx hardhat test
-
Test a local deployment.
- Export relevant environmental variables:
export RPC_URL="http://0.0.0.0:8545"
- Deploy.
make all-native
- Cleanup.
make clean
- Export relevant environmental vars
export RPC_URL="https://example.com/path/to/endpoint"; export PRIVATE_KEY="0x...";
- Walk through
make all-native
step by step, withoutrun-geth
orinit-accounts
:
make run-geth;
make generate-accounts;
make deploy-weth9;
make deploy-mock;
make deploy-lagrange;
make deploy-verifiers;
make update-config;
make add-quorum;
node util/distributor.js # optional for private testnet
make deposit-stake;
make deploy-register;
make init-committee;
TBD