- Install dependencies:
poetry install
- Copy and populate the
.env
file:cp .env.example .env
You can start the server locally using
poetry run python manage.py runserver
In case certain environment variables are not set, export them to your terminal session beforehand.
docker compose build && docker compose run
This will build the docker image and run the container. It will use the environment variables
defined in the .env
file.
-
Request faucet funding:
curl --location 'http://127.0.0.1:8000/faucet/fund' --form 'address="<YOUR_WALLET_ADDRESS>"'
-
Get faucet stats:
curl --location 'http://127.0.0.1:8000/faucet/stats'