RADIX WikiRADIX Wiki

Introduction

radix-context is a collection of 19 curated reference documents designed for AI coding agents — Claude, Cursor, Windsurf, and similar tools — to understand how to build dApps and Scrypto components on the Radix network. The project follows the agents.md standard, enabling compatible tools to auto-discover and load relevant documentation.

Rather than requiring an AI agent to search scattered docs, radix-context provides pre-structured, deep-reference material that agents can ingest directly. This dramatically improves the quality of AI-generated Scrypto code and Radix transaction manifests.

Installation

One-line install into any project directory:

curl -fsSL https://raw.githubusercontent.com/xstelea/radix-context/main/install.sh | bash

This copies 19 context files into a context/ directory and merges an AGENTS.md index file. Optionally run ./setup.sh to clone 7 companion repositories (Scrypto source, radix-dapp-toolkit, Effect, TanStack Router, and more) into .repos/ for full cross-reference.

Context Files

Radix DLT & Scrypto (9 files)

  • radix-AccessRule — Permission systems and role-based access control in Scrypto
  • radix-Account — Native account blueprint with 30 core methods
  • radix-Gateway — Effect-wrapped Gateway API client with retry logic
  • radix-GatewayRustSdk — Rust HTTP clients for Gateway and Core APIs
  • radix-SborSBOR wire format and schema system
  • radix-SubIntents — Composable partial transactions for governance workflows
  • radix-TransactionManifest — Manifest construction and validation (V1/V2)
  • radix-radix-dapp-toolkit — Wallet integration, ROLA authentication, and signing
  • radix-transactions — Rust transaction building and signing

Effect Library (8 files)

  • effect-Context — Dependency injection with Context.Tag
  • effect-Layer — Composable service blueprints with memoization
  • effect-Pipe — Piping utilities including pipe() and Effect.gen
  • effect-Platform — HTTP, filesystem, terminal, and networking abstractions
  • effect-Queue — Fiber-safe async queues with backpressure
  • effect-Rpc — Type-safe, transport-agnostic RPC
  • effect-Schema — Runtime validation and type-safe transformations
  • effect-atom — Reactive state bridging Effect and React

Framework (2 files)

  • tanstack-Router — Type-safe routing with SSR and file-based routes
  • tanstackStart-ConsultationDapp — Full-stack dApp reference using React 19 and Effect

Companion Repositories

Running ./setup.sh clones 7 shallow repositories into .repos/ for full source-level context: