Sequence v3 wallet contracts, with implicit and explicit smart sessions.
Install dependencies
pnpm install
Git hooks will be automatically installed.
Install the Sequence v3 SDK and run a server using the following command:
cd ../sequence.js
pnpm build:packages
pnpm dev:server
Copy the env.sample
file to .env
and set the environment variables.
cp .env.sample .env
# Edit .env
Run tests
forge test
Run coverage (ignoring scripts and test files).
forge coverage --no-match-coverage "(script|test)"
# Or to generate and view in browser
forge coverage --no-match-coverage "(script|test)" --report lcov && genhtml -o report --branch-coverage lcov.info && py -m http.server -d report
Deploy contracts
forge script Deploy --rpc-url <xxx> --broadcast
Note
Deployments use ERC-2470 for counter factual deployments.