Write apps/web/docs/api-soroban-client.md documenting lib/soroban.ts and lib/freighter.ts — how the frontend builds/signs/submits Soroban contract invocations via the Freighter wallet, which contract functions it currently calls, and network/RPC configuration.
Acceptance criteria:
- The invocation flow (build transaction → request Freighter signature → submit → await result) is documented step by step
- Every contract function currently invoked from the frontend is listed with which page/component triggers it
- Network configuration (testnet/mainnet RPC endpoints, contract IDs) and how it's set is documented
Write
apps/web/docs/api-soroban-client.mddocumentinglib/soroban.tsandlib/freighter.ts— how the frontend builds/signs/submits Soroban contract invocations via the Freighter wallet, which contract functions it currently calls, and network/RPC configuration.Acceptance criteria: