Setup the archaeologists that the eaas service will use, along with your desired threshold.
From project root:
cd apps/eaas-api && cp .env.example .env
cp archaeologists.example.json archaeologists.json
nano .env
nano archaeologists.json
, and:
requiredArchaeologists
to the number of archaeologists you want to be present during resurrection (threshold)addresses
to an array of the addresses of your preferred archaeologistscd ../eaas-interface && cp .env.example .env
CHAIN_ID
is the chain that the service will run on.
All env vars are required.
From project root:
docker compose up -d
cd apps/eaas-api
If this is the first time running the API docker container, or if the database has been updated or deleted:
npm run migrate:latest
npm run seed:dev
From interface directory (cd apps/eaas-client
):
npm run start
admin@example.com
admin
.env
file. To switch networks, update CHAIN_ID
and PROVIDER_URL
in the API's .env
file, and then restart the API container.