Mina RNG is a ZK Oracle used to provide random numbers in a ZkApp.
The app is deployed to mina-rng.45930.xyz. To use in an app, make network requests to the API routes
/api/randomNumber/api/dice
This app will sign requests as B62qpvpwLbLDTLQvA2EVBrX5QXmTQ7yy9442KhCj8R1zAk21LuVKtwd
Once you've created a project and installed dependencies with npm install (or pnpm install or yarn), start a development server:
npm run dev
# or start the server and open the app in a new browser tab
npm run dev -- --openThis app uses playwright tests. First start the server with
npm run devThen run tests with
npx playwright testTo create a production version of your app:
npm run buildYou can preview the production build with npm run preview.
To deploy your app, you may need to install an adapter for your target environment.