Skip to content
This repository was archived by the owner on Aug 25, 2025. It is now read-only.

RandAOLabs/RandAO

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

RandAO Library

Lua Version Teal Version License: MIT Build Status LuaRocks Issues

RandAO is a Teal library designed for requesting Verifiable randomness on AO.

Installation

Install the package via LuaRocks:

luarocks install RandAO

Usage

local RandAO = require("RandAO")

local providers = { "provider1", "provider2", "provider3" }
local request_id = RandAO.request_randomness(providers)
local status = RandAO.check_request_status(request_id)

print("Request ID:", request_id)
print("Status:", status.fulfilled and "Fulfilled" or "Pending", status.result or "No result yet")

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages