Skip to content

Commit

Permalink
docs: update readme
Browse files Browse the repository at this point in the history
  • Loading branch information
Valazan committed Sep 6, 2024
1 parent f945048 commit 5c4efb8
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,8 @@ To start deploy contract locally you must run a local instance of the Vechain Th
yarn contracts:solo-up
```

This command will also start a local instance of the tools Insight (http://localhost:8080/) and Inspector (http://localhost:8081/).

At this point you can deploy the contracts to the local network by running:

```bash
Expand Down Expand Up @@ -169,18 +171,14 @@ Now you just need to trigger cycles and set amount of rewards per cycle on your

Since the Solo network is a local network with mocked VeBetterDAO contracts you can use the following steps to set up available rewards to distribute to users:

0. Ensure you are using a wallet with imported pre-funded accounts mnemonic into your wallet. Mnemoninc:
0. Ensure you are using a wallet with imported pre-funded accounts mnemonic into your wallet. Mnemonic:

```
denial kitchen pet squirrel other broom bar gas better priority spoil cross
```

1. Copy the `APP_ID` generated by the `contracts:deploy:solo` script and logged in the console.
2. Run `devpal`, a frontend tool to interact with your contracts:

```bash
npx [email protected] http://localhost:8669
```
2. Open the [inspector app](http://localhost:8081/#/contracts), running on localhost, that you can use to interact with your contracts.

3. Open the `Inspector` tab and perform the following actions:
4. Add the B3TR_Mock contract (get the address from the console logs and ABI from the `apps/contracts/artifacts/contracts/mock/B3TR_Mock.sol/B3TR_Mock.json` file)
Expand Down

0 comments on commit 5c4efb8

Please sign in to comment.