We’re excited to announce that CosmicSwap — an innovative yield farm on the BSC — has integrated Chainlink Verifiable Random Function (VRF) on the Binance Smart Chain mainnet.
By integrating Chainlink’s industry-leading decentralized oracle network, we now have access to a tamper-proof and auditable source of randomness needed to run a successful lottery system. The lottery system on CosmicSwap will run as follows. By using the random function, it is generating 4 random numbers for the lottery. These 4 random numbers then decide the winners of the lottery. The lottery tickets have 4 random numbers on them so if all 4 random numbers on the ticket match with the 4 winning random numbers, the user has won the highest price-pot in the lottery. If only 3 or 2 numbers match, the user will still win smaller pots in the lottery. Ultimately this creates a more exciting, transparent, and fraud-proof user experience, as users can rely on a fair and random lottery system on the CosmicSwap platform.
CosmicSwap is a yield farm on the Binance Smart Chain. CosmicSwap is unique as there is a low total supply of tokens (205,000), the development team is public, and has plans for more than just a yield farm. By initially starting a yield farm on the BSC, CosmicSwap has built a great community on social media networks, especially on Twitter and Telegram. CosmicSwap plans to leverage this active community by expanding into other areas such as a lottery system, a wide variety of NFTs, and more.
In order to for CosmicSwap to run a successful lottery system, we need access to a secure random number generator (RNG) that any user could independently audit. However, RNG solutions for smart contracts require several security considerations to prevent manipulation and ensure system integrity. For instance, RNG solutions using on-chain data like block hashes can be exploited by blockchain miners, while off-chain RNG solutions like traditional data providers are opaque an...