Local Prover
Requires Node.js ^20.x or Docker Engine
Local Prover is a Node.js application that allows Unity games to create Mina o1js proofs locally. Due to the limitations of the Unity runtime, the Local Prover is required to create session proofs for device. Local prover can communicate with the Mina blockchain and DRM Mina Sequencer.
Default Local Prover runs on port 4444
. You can change the port but this will require changes in the DRM Mina Unity Package.
Installation
Docker Installation(Recommended)
- Pull the Docker image from Docker Hub (opens in a new tab). You can pull the latest image by running
docker pull kadirchan/drm-mina-prover:latest
- Run the Docker image by running
docker run -p 4444:4444 kadirchan/drm-mina-prover:latest
- Local Prover will start on port
4444
and ready to accept proofs after compiling the contracts.
Manual Installation
- Clone the repository from GitHub (opens in a new tab).
- Install the dependencies and run by
pnpm install
pnpm start
- Local Prover will start on port
4444
and ready to accept proofs after compiling the contracts.