Web2.5 Randomness Service Overview
Introduction
The Web2.5 Randomness Service offers a unique and secure way to generate random numbers based on various layers of randomness. This service is particularly useful for applications that require a high degree of randomness and security, such as in gaming or secure transactions.
How It Works
- Backend Call: The process begins with a call to the backend system.
- Secure Wallet Interaction: A safe wallet is used to generate a signature. This signature incorporates specific items saved in the database.
- Layered Randomness: Users can interact with different layers of randomness such as categories, types, levels, tiers, etc.
- Tenant Configuration and Probability: Depending on the tenant's configuration, items are assigned different probabilities. For instance, items in tier 0 might have a 60% chance of appearing, while those in tier 1 have a 30% probability.
- Random Number Generation: Based on these probabilities and configurations, a random number is generated.
Smart Contract Integration
- Seed Generation: The seed generated from this process is then uploaded to a smart contract.
- Verification and Minting: The smart contract verifies the signature and the seed, minting random IDs based on the seed.
Summary
This service provides a highly configurable and secure method for generating randomness, leveraging smart contract technology for verification and ensuring the integrity of the random number generation process.