Setup Local Development Environment
Last updated
Last updated
In this section, we setup a local development that offers a local blockchain with Sight Oracle stack deployed
Sight example repository comes with Contract example and the script to automatically setup local environment.
Once the repository is completed, create the .env
file then install the dependencies.
Now, use npm run
command to setup local Sight environment
The process shall run for a few minutes, depending on your network condition.
Once the command finishes, following components are setup:
An evm Blockchain with RPC: http://localhost:18545
Oracle Service
A fhevm integrated Blockchain as backend
A mysql database
Congratulations, now you have Sight Oracle development environment successfully setup. You can find Sight Oracle address from .env
file like this:
Please leave this terminal open, we will continue other operations in another terminal.