Skip to main content

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

  1. Install Cursor from cursor.sh
  2. Open your Elata project
  3. Create .cursor/rules.md with 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:
Open in Cursor and ask it to add features on top of the scaffold.

SDK Integration Patterns

When asking Cursor to integrate the SDK, reference the specific entry points:
  • rPPG: createRppgSession({ video, backend: "auto", faceMesh: "off" })
  • EEG: initEegWasm() then band_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

Add the Elata SDK docs and protocol docs as documentation sources in Cursor’s settings. This improves code generation quality for SDK-specific patterns.

Next

Builder Overview

What the protocol gives builders

SDK Overview

Biometric SDK packages