Please view the third-party content disclaimer here.
Pull Oracle integration
The Pull Oracle fetches proof data from Supra’s gRPC server and passes it to your smart contract via a JavaScript client.Prerequisites
- Node.js installed.
- A deployed smart contract that accepts Supra proof data.
Install dependencies
Clone the Supra repository or download the source, then run:Configure main.js
Set the following parameters before running the client.
gRPC server address:
REST server address:
Pair indexes (example):