Skip to content

#9 Add Full Local Integration Docs, Checks, and Handoff #186

Description

@IbrahimIjai

Primary outcome: A new contributor can run contracts, indexer, and web locally using one documented path with automated checks.

Background

The final integration should not live in someone's terminal history. A contributor should be able to clone the repos, follow the docs, run the commands, and see web UI data sourced from local indexed contract activity.

Implementation checklist

  • Add a top-level integration guide under docs/, for example docs/local-full-stack.md.
  • Document prerequisites: Bun, Docker, Stellar CLI, Rust/Soroban target, and local/testnet key setup.
  • Document how to build contracts.
  • Document how to deploy and bootstrap contracts.
  • Document how to sync manifests into the indexer.
  • Document how to start indexer services.
  • Document how to run the local smoke scenario.
  • Document how to start the web app.
  • Document how to verify GraphQL data.
  • Document how to verify the UI is reading indexed data.
  • Add troubleshooting for missing .deployed/<network>.env.
  • Add troubleshooting for wrong network passphrase.
  • Add troubleshooting for stale market token IDs.
  • Add troubleshooting for SubQuery database readiness.
  • Add troubleshooting for the indexer being behind latest ledger.
  • Add troubleshooting for missing local token balances or approvals.
  • Add CI or local check scripts for indexer codegen/build.
  • Add CI or local check scripts for web typecheck/build.
  • Add CI or local check scripts for manifest sync validation with fixture deployment files.
  • Add CI or local check scripts for mapping unit tests.
  • Add fixture deployment files for tests that do not require live Stellar access.
  • Include a final definition-of-done checklist for the complete local integration.

Acceptance checklist

  • A new contributor can follow the guide and get contracts, indexer, and web app running locally.
  • CI or local scripts catch schema, mapping, and config regressions before review.
  • The final guide includes expected URLs for web, SubQuery GraphQL, Postgres, Horizon/RPC, and Docker services.
  • The final local smoke report can be compared against what appears in the UI.
  • The docs clearly separate local, testnet, and future mainnet behavior.

Verification commands

  • Run bun install.
  • Run bun run --cwd apps/s03-indexer codegen.
  • Run bun run --cwd apps/s03-indexer build.
  • Run bun run --cwd apps/s03-indexer test.
  • Run bun run --cwd apps/web typecheck.
  • Run bun run --cwd apps/web build.

Metadata

Metadata

Assignees

Labels

GrantFox OSSIssue tracked in GrantFox OSSMaybe RewardedIssue may be eligible for a GrantFox rewardOfficial CampaignCampaign: Official CampaignStellar WaveIssues in the Stellar wave program

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions