Skip to content

Latest commit

 

History

3 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DeRand OFFCHAIN-VERIFIABLE-RANDOM

Dependencies

  1. install MongoDB
  2. install NodeJs & NPM

Setup and Running

If you already have Node.js and NPM installed, you can setup and run this project with following commands:

$ npm i  
$ cp .env.example .env
$ npm run start

Usage

You should pass the NFT id to the api and it will retrieve a verifiable random number from the MUON network. The API uses the combination of chain id, token address, and NFT id as the pre-seed of the random number. When the random number is fetched, it will be used to specify the metadata of the NFT.

$ curl -l http://localhost:5002/<nftId>

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages