Leonicorn Swap is Integrating Chainlink VRF for Fair Randomness in Lucky Draws and Surprise NFT Boxes

3 min readOct 5, 2021

LeonicornSwap is excited to announce that we are integrating Chainlink VRF to access a verifiably tamper-proof source of randomness within our lucky draw games and surprise NFT loot boxes. The end result is a more transparent and provably fair way to select winners and distribute random rewards via on-chain games, all in a manner that is publicly auditable.

We chose Chainlink because it’s the most time-tested oracle infrastructure in production and proven to help secure tens of billions of dollars in on-chain value. Chainlink is also blockchain-agnostic and integrated natively across numerous blockchains — a feature important to the expansion of our AMM platform across Avalanche, Solana, and more in the future.

Chainlink VRF works by combining block data that is still unknown when the request is made with the oracle node’s pre-committed private key to generate both a random number and a cryptographic proof. The Leonicorn smart contract will only accept the random number input if it has a valid cryptographic proof, and the cryptographic proof can only be generated if the VRF process is tamper-proof. This helps provide our users with automated and verifiable proof directly on-chain that Leonicorn Swap lucky draws and surprise NFT box openings are provably fair and were not tampered with by the oracle, outside entities, or the team.

We are also looking at integrating Chainlink Price Feeds for our initial farm offerings (IFOs) in order to accurately and reliably calculate the values of tokens for our users. As we move forward and continue to build out functionality on the Leonicorn Swap platform, we anticipate further integrations with Chainlink’s suite of decentralized services.

“Chainlink VRF was the best and more proven solution to bring fairness and transparency to our NFT loot boxes and lucky draw games,” commented Mofassair Hossain, CEO of Leonicorn Swap. “It was seamless to integrate and offloaded work from our development team.”

About Chainlink

Chainlink is the industry standard for building, accessing, and selling oracle services needed to power hybrid smart contracts on any blockchain. Chainlink oracle networks provide smart contracts with a way to reliably connect to any external API and leverage secure off-chain computations for enabling feature-rich applications. Chainlink currently secures tens of billions of dollars across DeFi, insurance, gaming, and other major industries, and offers global enterprises and leading data providers a universal gateway to all blockchains.

Learn more about Chainlink by visiting chain.link or read the documentation at docs.chain.link. To discuss an integration, reach out to an expert.

About Leonicornswap

Leonicorn Swap is a decentralized exchange (DEX) built and running on the Binance Smart Chain (BSC). The decentralized exchange introduces to the cryptocurrency industry new and advanced features that let our users earn and win tokens. Among the notable features include operating based on the Automated Market Makers (AMM) model and a non-fungible token (NFT) marketplace. This has helped us build one of the most innovative platforms allowing users to trade digital assets and give them complete control over their money and investment decisions. Leonicorn Swap is truly decentralized with blockchain technology leveraging the most user-friendly, efficient, and secure cryptocurrency solutions




LEONICORN SWAP is a advance AMM with deflationary token model