Sitemap

Introducing NULSRNG

Verifiable Randomness for Web3 DApps

NULS AI
2 min readMay 21, 2025

NULSRNG is an open-source project developed by the global NULS AI community. Based on NULS AI’s unique POC (Proof of Credit) consensus algorithm, it is a secure and verifiable random number generation mechanism designed specifically for blockchain DApps.

Two-Phase RNG Generation via Consensus Nodes

The implementation of NULSRNG is based on a two-phase random seed submission and generation mechanism under the POC consensus. Each consensus node generates a random seed at the time of block production, encrypts it, and includes the ciphertext in the block header. In the next round, the same node reveals the corresponding 256-bit plaintext seed.

This structure allows each seed to be publicly verified based on its encrypted and plaintext forms, ensuring transparency and immutability.

Full Consensus Participation & Anti-Manipulation Design

Because all consensus nodes participate in seed generation, the difficulty of tampering increases significantly. The use of ciphertext and plaintext dual submission ensures seed traceability and resistance to manipulation.

In the block sequence, seeds are linked as follows:

  • seed n ← generated in block n
  • seed n+1 ← in block n+1
  • The final random number is derived via an aggregation algorithm.

Modular Access for Developers

DApps built on NULS AI can directly access NULSRNG through low-level interfaces. Developers can retrieve random seeds and apply their own custom algorithms to generate the desired random sequence.

This approach not only enhances randomness security but also enables flexible and secure usage across different application scenarios — from games to cryptographic protocols.

Highlights

  • 256-bit random seed generation
  • Encrypted + plaintext dual-phase verification
  • Global consensus node participation
  • Modular API support for DApps

NULSRNG empowers developers with on-chain randomness that’s auditable, trustless, and tamper-proof — a critical foundation for next-gen decentralized applications.

Contact Us

Website

Telegram

Discord

Twitter

Reddit

Facebook

GitHub

NULS AI The Global AI Consumer Layer

--

--

NULS AI
NULS AI

Written by NULS AI

NULS Al is a modular blockchain infrastructure that is highly adaptable to Al applications. NULS AI - The Global AI Consumer Layer https://nuls.io

No responses yet