This Directory contains a Docker-based setup to run your own Wasp development setup.
Run docker-compose pull to fetch the dependencies.
Create dedicated volumes:
docker volume create --name hornet-nest-db
docker volume create --name wasp-db
Run docker-compose up -d to start the setup.
After startup, you should be able to see the wasp dashboard on: http://localhost/wasp/dashboard/
You can stop execution with docker-compose down.
After docker compose down:
docker volume rm wasp-db hornet-nest-db
You'll need to re-create the volumes to spin the setup up again.
The nodes will then be reachable under these ports:
-
Wasp:
- API: http://localhost:9090
- DASHBOARD: http://localhost/wasp/dashboard
-
Hornet:
- API: http://localhost:14265
- Faucet: http://localhost:8091
- Dashboard: http://localhost:8081 (username: admin, password: admin)
Download the wasp cli from the releases page
To configure a new wasp-cli you can use the following commands:
wasp-cli init
wasp-cli set l1.apiaddress http://localhost:14265
wasp-cli set l1.faucetaddress http://localhost:8091
wasp-cli wasp add 0 http://localhost:9090To create a chain:
wasp-cli request-funds
wasp-cli chain deploy --chain=testchainAfter a chain has been created, the EVM JSON-RPC can be accessed via:
http://localhost:9090/chain/<CHAIN ID (tst1...)>/evm/jsonrpc
ChainID: 1074
If you made changes to the Wasp code and want to use it inside the setup, you can re-build the Wasp image using build_container.sh or build_container.cmd.