Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/kamalbuilds/api3-wheel

Place Bet and spin off the wheel
https://github.com/kamalbuilds/api3-wheel

Last synced: 3 days ago
JSON representation

Place Bet and spin off the wheel

Awesome Lists containing this project

README

        

# Api3-Wheel

Place Bet and spin off the wheel to Win.

Airnodes are first-party oracles that are directly operated by the API Providers that provide data to any on-chain dApp. The Smart Contracts can request data from the Airnodes without going through any intermediary.

The API3 QRNG service is implemented using the Airnode request–response protocol contract AirnodeRrpV0➚ (by way of RrpRequesterV0.sol➚) to acquire a random number.

Deployed Roullete Contract Address -> https://mumbai.polygonscan.com/address/0x4ddEE71A512758DC26A869dAB36ECd0B33c0a8CC

npx @api3/airnode-admin derive-sponsor-wallet-address \
--airnode-xpub xpub6CuDdF9zdWTRuGybJPuZUGnU4suZowMmgu15bjFZT2o6PUtk4Lo78KGJUGBobz3pPKRaN9sLxzj21CMe6StP3zUsd8tWEJPgZBesYBMY7Wo \
--airnode-address 0x6238772544f029ecaBfDED4300f13A3c4FE84E1D \
--sponsor-address 0x4ddEE71A512758DC26A869dAB36ECd0B33c0a8CC

Sponsor wallet address: 0xf219dbC0d305eAc4C8FaFC2Cfc415b49C3235d76

Topped up with 0.05 MATIC

Airnode V0 addresses could be found here - https://docs.api3.org/reference/airnode/latest/

![image](https://github.com/legendarykamal/Api3-Wheel/assets/95926324/251d9ca1-cc8a-4774-b7cc-d74706005670)