An open API service indexing awesome lists of open source software.

https://github.com/0xsequence/wallet-contracts-v3


https://github.com/0xsequence/wallet-contracts-v3

Last synced: 3 months ago
JSON representation

Awesome Lists containing this project

README

          

Sequence v3 wallet contracts
============================

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

## Development Setup

Install dependencies

```sh
pnpm install
```

Git hooks will be automatically installed.

## Testing

Install the [Sequence v3 SDK](https://github.com/0xsequence/sequence.js) and run a server using the following command:

```sh
cd ../sequence.js
pnpm build:packages
pnpm dev:server
```

Copy the `env.sample` file to `.env` and set the environment variables.

```sh
cp .env.sample .env
# Edit .env
```

Run tests

```sh
forge test
```

Run coverage (ignoring scripts and test files).

```sh
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

```sh
forge script Deploy --rpc-url --broadcast
```

> [!NOTE]
> Deployments use ERC-2470 for counter factual deployments.