Skip to content

xstelea/radix-context

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Radix dApp Context for AI Agents

Curated deep-reference docs designed for AI coding agents (Claude, Cursor, etc.) to understand how to build dApps and Scrypto components on the Radix network.

20 context files covering Effect, Radix DLT / Scrypto, TanStack Router, and React 19.

Usage

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

Or with an explicit target directory:

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

If you have the repo cloned locally, run ./install.sh <target> instead. Or copy the context/ directory and AGENTS.md manually. AGENTS.md follows the agents.md standard — compatible agents automatically discover it and load relevant context files as needed.

Context files

Effect (8 docs)

Doc Description
effect-Context Dependency injection via Context.Tag, typed service containers, and the R type parameter
effect-Layer Composable, memoized service blueprints — constructors, composition algebra, MemoMap, scope hierarchy
effect-Pipe Standalone pipe() vs method .pipe(), pipeable interface, flow, and Effect.gen
effect-Platform @effect/platform — HTTP client/server, filesystem, terminal, workers, sockets, key-value store
effect-Queue Fiber-safe async bounded queues — backpressure, dropping, sliding strategies, shutdown semantics
effect-Rpc @effect/rpc — type-safe, transport-agnostic RPC: procedures, groups, middleware, streaming
effect-Schema Runtime validation and transformation with full type inference — schemas, combinators, encoding/decoding
effect-atom @effect-atom/atom — reactive state management bridging Effect and React

Radix DLT / Scrypto (10 docs)

Doc Description
radix-AccessRule Access control — AllowAll/DenyAll/Protected, composite requirements, role assignment, SBOR encoding
radix-Account Account native blueprint — state structure, 30 methods, deposit rules, owner badge system
radix-Gateway @radix-effects/gateway — Effect wrapper with tagged errors, 429 retry, pagination, batching
radix-GatewayRustSdk radix-client Rust crate — typed async/blocking HTTP clients for Gateway and Core APIs
radix-ROLA ROLA — challenge-response auth verifying wallet identity via on-ledger owner_keys
radix-Sbor SBOR — wire format, value kinds, schema system, derive macros, depth-limited traversal
radix-SubIntents Subintents / pre-authorizations — composable partial transactions, multisig and governance
radix-TransactionManifest Transaction manifest — V1/V2 instructions, ManifestBuilder, compiler pipeline, static validation
radix-radix-dapp-toolkit @radixdlt/radix-dapp-toolkit — wallet connection, signing, dual transport, RxJS state
radix-transactions radix-transactions Rust crate — building, signing, validating transactions (V1/V2, Signer trait)

TanStack / React (2 docs)

Doc Description
tanstack-Router TanStack Router — type-safe routing, SSR, file-based routes, search param validation, code splitting
tanstackStart-ConsultationDapp Consultation dApp architecture — React 19 + TanStack Start + Effect Atoms + Radix governance

Setup

Clone companion source repos (shallow, into .repos/):

./setup.sh

This clones 7 repositories:

Repo Description
consultation_v2 Radix governance dApp (reference implementation)
radix-dapp-toolkit Official TypeScript SDK for Radix Wallet integration
radix-docs Radix developer documentation
radix-gateway-api-rust Rust Gateway/Core API client (radix-client crate)
radixdlt-scrypto Scrypto smart contract language + engine
effect Effect-TS monorepo — core runtime, schemas, platform, RPC
tanstack-router TanStack Router source

Tech Stack Covered

  • Effect — functional TypeScript: services, layers, schemas, RPC, queues, state
  • Radix DLT — transaction manifests, access rules, accounts, Gateway API, SBOR
  • Scrypto — Radix smart contract language and engine internals
  • TanStack Router / Start — type-safe routing and full-stack SSR
  • React 19 — UI layer for the Consultation reference dApp

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages