-
Notifications
You must be signed in to change notification settings - Fork 377
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
4 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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 | ||
|
@@ -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) | ||
|