Skip to content

docs(dx-081-084): developer docs and contract reference - #621

Merged
IbrahimIjai merged 1 commit into
SO4-Markets:mainfrom
auraroom:dx-081-084-developer-docs
Aug 25, 2026
Merged

docs(dx-081-084): developer docs and contract reference#621
IbrahimIjai merged 1 commit into
SO4-Markets:mainfrom
auraroom:dx-081-084-developer-docs

Conversation

@auraroom

Copy link
Copy Markdown
Contributor

What

Add comprehensive developer documentation: architecture overview, local setup guide, contract address reference, and ExchangeRouter contract documentation.

Issues Resolved

Closes #593
Closes #594
Closes #595
Closes #596

Changes

#593 - DX-081: Write /developers/architecture

Monorepo map covering apps/web, apps/s03-indexer, packages/contracts, packages/ui, packages/vitest-config. Data flow from Soroban contracts through RPC and indexer to web app. Where state lives: contract storage, indexer database, TanStack Query, Zustand, localStorage. Repository invariants: generated bindings are hand-adapted, dependency declaration, indexer codegen, design token rules.

#594 - DX-082: Write /developers/local-setup

Prerequisites with Node.js ≥20 and Bun 1.3.13. Clone, install with frozen lockfile, and running dev servers. The commit gate checks explained. Failure modes with solutions: undeclared dependencies, stale contract bindings, regeneration breaking build, clean-room verification.

#595 - DX-083: Generate contract address reference page

Generator script reads contracts.json and contract descriptions to emit contracts.generated.mdx. Per contract: name, ID, network, Stellar Expert link, and one-line role. Renders null IDs as "not deployed". Added contract descriptions mapping for all contracts.

#596 - DX-084: Document ExchangeRouter contract

Contract's role as entry point for trading. All public functions: create_order, cancel_order, claim_funding_fees with signatures, parameters with types/units, return values, auth requirements, and error codes. ParamTable component for parameters. Worked example opening a 2x long position on TETH/TUSDC. Note on hand-adapted bindings.

… and exchange-router docs

- DX-081: Write /developers/architecture covering monorepo map, data flow, state locations, and repository invariants
- DX-082: Write /developers/local-setup with prerequisites, clone/install steps, dev server, commit gate, and failure modes
- DX-083: Generate contract address reference page from contracts.json with contract descriptions and ContractAddress component
- DX-084: Document ExchangeRouter contract with role, all public functions, ParamTable component, and worked example

Resolves SO4-Markets#593
Resolves SO4-Markets#594
Resolves SO4-Markets#595
Resolves SO4-Markets#596
@vercel

vercel Bot commented Aug 25, 2026

Copy link
Copy Markdown

@auraroom is attempting to deploy a commit to the Ijai's projects Team on Vercel.

A member of the Team first needs to authorize it.

@drips-wave

drips-wave Bot commented Aug 25, 2026

Copy link
Copy Markdown

@auraroom Great news! 🎉 Based on an automated assessment of this PR, the linked Wave issue(s) no longer count against your application limits.

You can now already apply to more issues while waiting for a review of this PR. Keep up the great work! 🚀

Learn more about application limits

@IbrahimIjai
IbrahimIjai merged commit 97a533e into SO4-Markets:main Aug 25, 2026
3 of 4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

2 participants