Skip to content

45930/mina-rng

Repository files navigation

Mina RNG

Mina RNG is a ZK Oracle used to provide random numbers in a ZkApp.

Usage

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

Public Key

This app will sign requests as B62qpvpwLbLDTLQvA2EVBrX5QXmTQ7yy9442KhCj8R1zAk21LuVKtwd

Developing

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 -- --open

Testing

This app uses playwright tests. First start the server with

npm run dev

Then run tests with

npx playwright test

Building

To create a production version of your app:

npm run build

You can preview the production build with npm run preview.

To deploy your app, you may need to install an adapter for your target environment.

About

A random number oracle for use by zkapps on Mina

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published