Skip to content

Commit

Permalink
refactor: update local dev stack and docs (#102)
Browse files Browse the repository at this point in the history
* refactor: Replace yarn with npm

* refactor: Remove lilypad network

* docs: Add note about chain data path
  • Loading branch information
bgins authored May 22, 2024
1 parent 2362cf8 commit 55ff6bd
Show file tree
Hide file tree
Showing 4 changed files with 8,772 additions and 5,204 deletions.
4 changes: 3 additions & 1 deletion LOCAL_DEVELOPMENT.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,9 @@ Order matters because the `solver`, `job creator` and `resource provider` will r

### 1. Blockchain node

This has been implemented in a docker container and two functions are already in place to build and run the container: `./stack chain-docker-build` and `./stack chain-docker-run`. The run command accepts an optional parameter for a local path where to store the blockchain data. This is handy to keep the current state of the blockchain around even after restarts on the container. The first time this commands are executed the blockchain will be in its genesis state, several things need to happen:
This has been implemented in a docker container and two functions are already in place to build and run the container: `./stack chain-docker-build` and `./stack chain-docker-run`. The run command accepts an optional parameter for a local path where to store the blockchain data. This is handy to keep the current state of the blockchain around even after restarts on the container. The path defaults to `/data/chain` which won't work on every system but can be replaced with a directory of your choosing.

The first time these commands are executed the blockchain will be in its genesis state, several things need to happen:

- Fund the admin account, which will be used to deploy the smart contracts and token.
- Compile and deploy the smart contracts.
Expand Down
Loading

0 comments on commit 55ff6bd

Please sign in to comment.