project screenshot 1
project screenshot 2
project screenshot 3

P2P Betting

What if you could convert your bet into an NFT: like a Uniswap LP Token. Bob, converts his bet to an NFT on Footy Oracle. Alice, with higher risk appetite can purchase the NFT associated with the bet. Bob may have to sell his bet at a lower value than his original payment.

P2P Betting

Created At

ETHOnline 2021

Winner of

trophy

Chainlink Pool Prize

trophy

Best use of Moralis - 1st Place

Project Description

What if you could convert your bet into an NFT: like a Uniswap LP Token. Bob, converts his bet to an NFT on Footy Oracle. Alice, with higher risk appetite can purchase the NFT associated with the bet. Bob may have to sell his bet at a lower value than his original payment. Advantage to Bob: He may have to sell his bet at a lower value than his original payment. He gets something when the chances of winning are pretty low. Bob has managed to re-coup something from a position where he could have lost all of his bet. Advantage to Alice: Alice, with a higher risk appetite, can purchase the NFT associated with the bet. She purchases the financial position at a lower value and very high potential winnings.

How it's Made

  1. Moralis for smart contract administration.

  2. Smart contract deployed on Polygon for low-gas fees.

  3. Chainlink to bring football match results on-chain.

  4. IPFS to store NFT/Bet metadata.

How it’s built.


UI – Vue JS and Typescript

Smart Contract in Solidity written from scratch.

BetNFT smart contract is a wrapper around ERC721

Moralis is used for smart contract administration

Internally uses MongoDB to track events, accounts etc.

Javascript External Adapter to fetch football match results.

background image mobile

Join the mailing list

Get the latest news and updates