gm gm! This week we are working on Scalable Onchain Interaction Logic (SOIL) Example: How do you manage millions of users minting an NFT at the same time?? Find out 👇🏼👇🏼
🟥Problem: A huge flood of users hit your Web3 dApp at the same time. Say they all want to do the same thing onchain: mint a valuable limited run NFT (Or Defi interaction, could be anything onchain) This creates a huge log jam!
🟩Solution: A hyper efficient queuing system that allows for the maximum number of simultaneous onchain interactions
🟦How: Random number generator + fast offchain @MongoDB syncing
🟦History: Most NFT collections mint out sequentially. Whoever pays the most for gas gets in first. This is unfair and inefficient as users are competing at the blockchain level to get in first.
RAIRprotocol: 100% #opensource queuing logic does the following:
1️⃣On mint our logic checks the offchain list of currently minted tokens - this can happen at the speed of a database (aka scales instantly)
2️⃣From the # of available tokens list , the system hits a random number generator (could be @chainlink VRF) and returns a value
3️⃣ Users then mint a segregated random available NFT concurrently without steeping on eachothers toes. Bonus, random numbers are cool and much less boring than sequential mints.
This means a near infinite number of users can all sign with their @metamask or use @alchemyplatform AA simultaneously, solving the bottleneck for scalable onchain interactions once and for all 🚀
Do you have an idea for a different way to utilize SOIL that isn't for NFTs? Join our @github /rairprotocol and start contributing today
#web3community #dApps