Sample of an Oracle to show how to send/receive data from a script
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.
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