[A9] - CrossChain Randomness 🏅

To ship sources of secure randomness cross chain using generic message passing across blockchain networks using Axelar Generic message passing We are shipping RANDAO from Ethereum Beacon Chain to Polygon We are shipping VRF from Moonbeam to Polygon

Challenges

Polygon DeFi UX Challenge

Pool 1,000 ETH

I am using multiple networks , polygon , goerli and moonbeam from one UI which uses cross chain messaging without asking the user to load multiple UI's thus improving their UX

Deploy your Dapp on Infura with MetaMask and Truffle Dashboard

Pool 1,000 USDC

I am using infura with metamask to deploy and test my dapp, some testing with remix and truffle for prod deployments

Improve your dApp’s UX with Batching or Gasless Transactions

Ranked 0 USDC

I am improving my dapp's UX by using VRF's from moonbeam while leveraging features from goerli and polygon. This is cross chain batching of multiple information to a single UI without users bouncing around a lot

Deploy a Dapp on an L2 using Infura and Truffle

Pool 1,000 USDC

I have used Infura api's to deploy the dapp to polygon

Most Useful Web3 Tool

Ranked 2,500 ETH

Randomness is very important for on-chain applications, my project creates an easy way access randomness from moonbeam and goerli which uses VRF's and RANDAO which offer better security than oracle networks and they are bridged to polygon using axelar

Web3Wallet UX Challenge

Ranked 5,000 USDC

I am using web3wallet in my project to connect various wallets with interacts with multiple networks , it shows users information about the current network and their balance while allowing them to switch networks manually if required. This integration is very useful for the project

Best Use of Polygon

Ranked 10,000 ETH

Brings RANDAO ( ethereum protocol randomness ) and moonbeam's VRF's ( cryptographically verifiable randomness ) avaliable to dapps on polygon without using an oracle network which makes dapps on polygon provably secure

Use a GMP Protocol to Remotely Call a Contract

Ranked 10,000 USDC

I am using GMP to call moonbeam contracts for shipping VRF which uses the pre-compile to polygon and goreli. This uses Axelar's gmp system

Best Multi-Network Deployment using Infura

Pool 5,000 ETH

Since my project is a cross chain randomness network, i have used infura to deploy smart contracts to multiple networks including polygon , goerli and moonbeam testnets.

Prize for using Axelar GMP for sending Interchain Messages / Tokens

Ranked 25,000 USDC

I am using cross chain contract calls to polygon and moonbeam to export RANDAO and VRF randomness for an on-chain fair lottery which doesn't use any oracle networks , there by improving security and bridging the best features of blockchains using AXELAR.

#BUIDLathon 2023 Infrastructure + Scalability

Pool 15,000 USDC

On-Chain randomness without an Oracle network allows for privacy, security and ultimately fair dapps. In this project, I am bridging two popular randomness systems from ethereum ( RANDAO ) and moonbeam ( VRF, aka verifiable randomness) to polygon. I showcase the use of cryptographically verifiable randomness on polygon using AXELAR as a generic message passing system to ship VRF's cross chain. The demo Lottery dapp uses this randomness to pick winners and this system is provably fair and secure

Project details

Randomness is not native to blockchains, but it is very important for on-chain applications like NFT mints, Cryptographic functions, Lottery etc.
We use RANDO from Ethereum beacon chain and make it available to Polygon using the Axelar generic message passing system. We are also shipping VRF from moonbeam to polygon, so it can be used for on-chain applications on polygon like a fair lottery that cannot be gamed.

This lottery system allows two parties to bet and the VRF randomness decides the winner, the randomness is verifiable and avoids centralised oracles. You can even combine multiple sources of randomness to create entropy for High value applications using this dapp.

  • This is made possible by using AXELAR for message passing between different blockchains, we will be able to extend this to the cosmos network as well as soon as cross chain contract calls are available.

  • Gmp to call contract on moonbeam and polygon

  • Moonbeam VRF precompile is used for randomness

  • Polygon hosts Lottery smart-contracts that users interact with

  • Uses Infura to deploy contracts multi chain

  • Uses web3modal to connect user wallet