Testnet · Arbitrum SepoliaOpen Console
Start

Quickstart

Go from pip install to a complete testnet recourse flow in four steps.

PREVIEWThe SDK is in preview; names may change.

1 · Configure the skill

In the Console, create a skill and set its id, cap, shortfall rule, and backing.

Create your first skill
Console → Coverage · cap, terms, and backing

2 · Wrap it

Wrap your function with @rx.covered and pass the skill id. The decorator covers the run before it starts and closes it on return.

from reineira import Reineira
rx = Reineira() # reads REINEIRA_API_KEY
# one decorator; configure the skill in the Console
@rx.covered(skill="invoice.fetch")
def fetch_invoice(vendor_id: str) -> dict:
return run_task(vendor_id)
# sandbox only · force the Failure branch
run = rx.simulate(skill="invoice.fetch", outcome="failure")
print(run.recourse) # → paid · credited

3 · Force a failure

rx.simulate(outcome="failure") triggers the failure branch and pays testnet recourse.

4 · Open it in the Console

Open the run to inspect its timeline, evidence, and credited balance.

Open this run in your Console
Console → Audit / Flows · the live timeline and evidence
← PreviousInstall & test keyNext →The recourse loop
Desktop only

Built for desktop

Reineira Docs is only available for desktop. Open this page on a larger screen to continue.