Skip to content

Commit

Permalink
docs: add instruction to use Bitcoin in local testing (#2102)
Browse files Browse the repository at this point in the history
  • Loading branch information
lumtis authored May 3, 2024
1 parent f254848 commit c7f1650
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions docs/development/LOCAL_TESTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -170,12 +170,17 @@ cast send 0x9fd96203f7b22bCF72d9DCb40ff98302376cE09c --value 42 --rpc-url http:/

`zetae2e` CLI can also be used to interact with the localnet and test specific functionalities with the `run` command. The [local config](../../cmd/zetae2e/config/local.yml) can be used to interact with the network.

For local interactions, the Bitcoin account is not automatically setup. To set it up, the following command can be used:

```bash
zetae2e setup-bitcoin cmd/zetae2e/config/local.yml
```

The balances on the localnet can be checked with the following command:

```bash
zetae2e balances cmd/zetae2e/config/local.yml --skip-btc
zetae2e balances cmd/zetae2e/config/local.yml
```
Note: Bitcoin network is currently not supported for the command.

Example of `run` command:

Expand Down

0 comments on commit c7f1650

Please sign in to comment.