Skip to content

Commit

Permalink
Merge pull request #24 from morpho-labs/docs/readme-mnemonic-indexes
Browse files Browse the repository at this point in the history
Add mnemonic-indexes parameter to README
  • Loading branch information
julien-devatom authored May 22, 2023
2 parents e6036f1 + 8c0df6e commit 9cee3cd
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
- Install [Foundry](https://github.com/foundry-rs/foundry).
- Run `make` to initialize the repository.
- Create a `.env` file from the template [`.env.example`](./.env.example) file.
- Set the environment variable `SENDER` to the address used to execute the transaction on the Safe. If you don't execute the tx, you don't need to set it.
- Use the environment variable `SAFE_NONCE` to override a transaction's nonce. Remove it to use the default, latest Safe nonce. Leave it blank to use nonce 0.
- Use the environment variable `FOUNDRY_ETH_RPC_URL` to customize the RPC endpoint used. This is useful to interact with a Safe deployed on another chain than Ethereum mainnet (the default one).

Expand All @@ -25,7 +26,7 @@

## Advanced options

### Wallet support
### Hardware Wallet support

With `make sign` & `make exec`, one can also use any other wallet provider available with `cast`:

Expand All @@ -35,6 +36,9 @@ With `make sign` & `make exec`, one can also use any other wallet provider avail
- `make cmd:keystore` to use a keystore
- `make cmd:"private-key 0x..."` if you really want to save your private key to your shell's history...

You can also append any `cast` parameter:
- `make sign:"ledger --mnemonic 1 --mnemonic-index 1"` or `make exec:"ledger --mnemonics 1 --mnemonic-indexes 1"` to use another account than the default one at index `0`

### Transaction details

```json
Expand Down

0 comments on commit 9cee3cd

Please sign in to comment.