The centralized prover that is used to generate ZK proofs for SealHub
Visit this tutorial for Google Cloud installation
Visit this tutorial for Amazon AWS installation
⚠️ Make sure the machine has at least 8GB of RAM
Run the following cURL or Wget command to download and launch the prover:
bash <(curl -o- https://raw.githubusercontent.com/BigWhaleLabs/seal-hub-prover/main/scripts/install.sh)
bash <(wget -qO- https://raw.githubusercontent.com/BigWhaleLabs/seal-hub-prover/main/scripts/install.sh)
Use --non-interactive
flag to skip the interactive mode and use the default values
bash <(curl -o- https://raw.githubusercontent.com/BigWhaleLabs/seal-hub-prover/main/scripts/install.sh) --non-interactive
bash <(wget -qO- https://raw.githubusercontent.com/BigWhaleLabs/seal-hub-prover/main/scripts/install.sh) --non-interactive
Note the prover URL that will be displayed in the end, this is the URL you will use at SealHub
⚠️ Don't forget to delete the instance after you generated the ZK proof so that you don't get a surprise bill
- Clone this repo:
git clone https://github.com/BigWhaleLabs/seal-hub-prover
- Launch the mongo database locally
- Create
.env
with the environment variables listed below - Run
yarn
in the root folder - Run
yarn download-zk-files
for all ZK files - Run
yarn start
- Clone this repo:
git clone https://github.com/BigWhaleLabs/seal-hub-prover
- Create
.env
with the environment variables listed below - Run
yarn docker-start-development
oryarn docker-start-production
Name | Optional | Description |
---|---|---|
MONGO |
✅ | URL of the mongo database (defaults to mongodb://mongodb:27017 ) |
PORT |
✅ | Port to run server on (defaults to 1337 ) |
DOMAIN |
✅ | The domain for Docker (must point at the VPS) |
Also, please, consider looking at .env.sample