Skip to content

0xsequence/wallet-contracts-v3

Repository files navigation

Sequence v3 wallet contracts

Sequence v3 wallet contracts, with implicit and explicit smart sessions.

Development Setup

Install dependencies

pnpm install

Git hooks will be automatically installed.

Testing

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.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published