VibeCode Prompt Guide
Last updated
Was this helpful?
Last updated
Was this helpful?
Download
Create a SEDA wallet on
Request SEDA Testnet tokens from the faucet:
Search for “SEDA” in the Keplr wallet search bar and select “SEDA (TESTNET), then enable “SEDA Testnet” in the “Manage Assets List” menu
Open a new Cursor window and clone the SEDA github:
Review all documentation listed below to build, test, and deploy an Oracle Program to the SEDA Network. Please install any dependencies that are needed to work with this Oracle Program from the SEDA starter kit.
Overview of Building an Oracle Program:
Getting Started: Price Feed:
Testing Your Oracle Program:
Deploying Your Oracle Program:
Fetching Open Data:
Advanced: API-key Gated Data:
SEDA SDK:
I’m building an oracle program on the SEDA Network. This has two steps the execution phase and the tally phase. The example calls a Binance API and returns the price on-chain.
I would like to customize the Oracle Program to call [X] API to return [X] type of data. You can find more information about the API structure in the documentation at [X] website. I have created an API key with this company which can be found here: [insertapikey]
To build and deploy oracle programs and post data requests you can utilize the SEDA SDK
You will need to create a .env file for me with the following info:
We are going to be deploying our oracle program to the SEDA Network “Testnet”
You will also need the SEDA RPC for Testnet found here: https://rpc.testnet.seda.xyz/
You will also need my SEDA Mnemonic seed phrase: [insertseedphrase]
Once your Oracle Program is deployed, you will need ask Cursor to include your Oracle Program ID into the .env file in order to run data requests
Add the Oracle Program to my .env file and get ready to deploy my first data request
Ensure you’re utilizing the SEDA SDK for data request posting and not the CLI. This will greatly simplify your experience.
These are commands Cursor requires you to click "run" as part of the process when vibe coding an oracle program.
Bun run build = Build the Oracle Program
Bun run install = Install dependencies
Bun run deploy = Deploy your program to SEDA
Bun Run post-dr= Activates your program and requests data via SEDA
If you’re a more advanced user and would like to use a Data Proxy, please adjust this prompt and follow the documentation on SEDA docs for .
Visit the to view your Oracle Program and check the results of your Data Requests.