Skip to content
This repository has been archived by the owner on Sep 30, 2024. It is now read-only.

Commit

Permalink
Update safe readme
Browse files Browse the repository at this point in the history
  • Loading branch information
JohnGuilding committed Sep 14, 2023
1 parent 2b1c6d1 commit a86e783
Showing 1 changed file with 15 additions and 4 deletions.
19 changes: 15 additions & 4 deletions account-integrations/safe/README.md
Original file line number Diff line number Diff line change
@@ -1,14 +1,20 @@
# Webauthn plugin
# Safe plugins

# Getting Started

1. `cd webauthn`
1. `cd account-integrations/safe`
2. Run `yarn` to install hardhat dependencies
3. Run `forge install` to install foundry dependencies

## Integration test
## Forge tests

To run the integration tests:
```bash
forge test
```

## Hardhat tests

To run the hardhat tests, you'll need to run a node and a bundler as some of them are integration tests:

1. Start a geth node, fund accounts and deploy Safe contracts:

Expand All @@ -24,6 +30,11 @@ cp .env.example .env

3. Start an external bundler (make sure the values in `.env` match up with the bundler and node you're running).

```bash
# If using the eth-infinitism bundler, checkout to this commmit. The latest version of the bundler has started breaking the integration tests. This is a previous commit where the integration tests still pass
git checkout 1b154c9
```

```bash
# If using the eth-infinitism bundler
yarn run bundler
Expand Down

0 comments on commit a86e783

Please sign in to comment.