← Back to home

Oracle

Sample of an Oracle to show how to send/receive data from a script

Screenshots

Oracle screenshot 1
Oracle screenshot 2
Oracle screenshot 3

Problem Statement

This project shows that is possible to have an Oracle running on the FEVM. Since other technologies such as Chainlink are not present on Wallaby and the core idea of this project was to have an Oracle to check and send data to the blockchain, we need to implement a working solution to request data to our server.

Solution

The project has a smart contract and a Javascript process listening to events from the blockchain and sending the response back to the smart contract. The smart contract was built using Hardhat and the Javascript process is running on Node. Just need a couple .env files for private keys

Hackathon

Hack FEVM

2024

Contributors