Evidra documentation

Quickstart

Read the frozen Studio Dev deployment first; add wallet writes only from a connected user account.

1. Network

Use GenLayer Studio Dev, chain 61997, and the frozen RPC.

const network = { chainId: 61997, rpcUrl: 'https://studio-dev.genlayer.com/api' };

2. Read a Fact

const response = await fetch('/api/v1/facts/<fact-key>');
const { fact, canonical_resolution, latest_resolution } = await response.json();

3. Write from a wallet

Connect a browser wallet, verify chain 61997, and submit the supported user method directly. The backend never signs for a user.

Contract truth

A finalized wallet transaction still needs a finalized Fact read before the UI says the protocol operation is complete.

Integration note

Persist the transaction ID and reconcile it after reload rather than resubmitting after a timeout.

Next step

Open the application