Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/kamalbuilds/api3-wheel
- Owner: kamalbuilds
- Created: 2023-06-22T04:42:27.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2023-06-22T11:45:32.000Z (over 1 year ago)
- Last Synced: 2023-07-27T08:41:58.001Z (over 1 year ago)
- Language: JavaScript
- Homepage:
- Size: 3.54 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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: 0xf219dbC0d305eAc4C8FaFC2Cfc415b49C3235d76Topped 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)