Overview
Cursor’s AI features can accelerate Elata app development. This guide covers project rules setup and key workflows for building with the protocol and SDK.Setup
- Install Cursor from cursor.sh
- Open your Elata project
- Create
.cursor/rules.mdwith the template below
Cursor Rules Template
Create.cursor/rules.md in your project root:
Key Workflows
Scaffold and Extend
Start with a scaffold, then use Cursor to extend:SDK Integration Patterns
When asking Cursor to integrate the SDK, reference the specific entry points:- rPPG:
createRppgSession({ video, backend: "auto", faceMesh: "off" }) - EEG:
initEegWasm()thenband_powers(samples, sampleRate) - BLE:
new BleTransport({ deviceOptions: { athenaDecoderFactory } })
Contract Interaction
Ask Cursor to generate contract interaction code by providing the contract name and method:- Read bonding curve state:
AppBondingCurve.getReserves() - Check app status:
AppRegistry.getApp(appId) - Join tournament:
Tournament.join(entryFee)
Tips
Next
Builder Overview
What the protocol gives builders
SDK Overview
Biometric SDK packages