Set up RUB, USDT and USDC accounts automatically #66

Closed
opened 2026-10-23 10:10:24 +00:00 by tech · 1 comment
Owner

Goal

Automatically create RUB, USDT and USDC currency accounts for new customers and existing customers missing them. Remove the empty-wallet support dead end.

Approach

Implement server-owned, idempotent account setup through Sendico's public API, integrated with signup and wallet access to repair missing accounts for existing customers. Preserve existing accounts and balances, subject ownership and frontend layer boundaries. Replace the copy-only PR with this complete flow.

Acceptance criteria

  • New customers receive RUB, USDT and USDC currency accounts automatically.
  • Existing customers receive missing default currency accounts automatically.
  • Repeated/concurrent requests, partial failure and ambiguous responses do not duplicate accounts or reset balances.
  • Only customer-bound ledgers are exposed; no pooled/integration balances are reassigned.
  • The UI no longer directs users to support for currency-account setup and distinguishes loading/setup failure from an empty result.
  • Backend and frontend review workflows, focused regression tests, make test and make lint-backend pass.
  • Implementation, rollout and measurement are documented, committed, pushed and delivered in the updated PR.

Notes

Primary module: wallet. Secondary modules: auth signup, Sendico provider adapter, frontend workspace. Owner tech; SXCHNGE project; frontend/backend labels. Existing branch wallet-66 and PR #68 are expanded to replace the rejected support-copy approach. Use only Sendico public HTTP contracts. No balance funding or real payment execution is requested. Merge is not authorized.

### Goal Automatically create RUB, USDT and USDC currency accounts for new customers and existing customers missing them. Remove the empty-wallet support dead end. ### Approach Implement server-owned, idempotent account setup through Sendico's public API, integrated with signup and wallet access to repair missing accounts for existing customers. Preserve existing accounts and balances, subject ownership and frontend layer boundaries. Replace the copy-only PR with this complete flow. ### Acceptance criteria - [ ] New customers receive RUB, USDT and USDC currency accounts automatically. - [ ] Existing customers receive missing default currency accounts automatically. - [ ] Repeated/concurrent requests, partial failure and ambiguous responses do not duplicate accounts or reset balances. - [ ] Only customer-bound ledgers are exposed; no pooled/integration balances are reassigned. - [ ] The UI no longer directs users to support for currency-account setup and distinguishes loading/setup failure from an empty result. - [ ] Backend and frontend review workflows, focused regression tests, make test and make lint-backend pass. - [ ] Implementation, rollout and measurement are documented, committed, pushed and delivered in the updated PR. ### Notes Primary module: wallet. Secondary modules: auth signup, Sendico provider adapter, frontend workspace. Owner tech; SXCHNGE project; frontend/backend labels. Existing branch wallet-66 and PR #68 are expanded to replace the rejected support-copy approach. Use only Sendico public HTTP contracts. No balance funding or real payment execution is requested. Merge is not authorized.
tech added the frontend label 2026-10-23 10:10:24 +00:00
tech self-assigned this 2026-10-23 10:10:24 +00:00
tech added this to the SXCHNGE project 2026-10-23 10:10:24 +00:00
tech added reference wallet-66 2026-10-23 10:10:48 +00:00
tech changed title from Explain missing currency account setup to Set up RUB, USDT and USDC accounts automatically 2026-10-23 10:16:41 +00:00
tech added the backend label 2026-10-23 10:17:09 +00:00
tech closed this issue 2026-10-23 10:31:58 +00:00
Author
Owner

The earlier copy-only PR #68 was merged while the automatic account flow was being implemented. That copy is superseded by #72, which creates RUB/USDT/USDC accounts during signup and backfills missing defaults on wallet access. The provider prerequisite is tech/sendico#2968. Automatic setup is tracked and validated in #72; the support-copy approach should not be treated as the completed flow.

The earlier copy-only PR #68 was merged while the automatic account flow was being implemented. That copy is superseded by #72, which creates RUB/USDT/USDC accounts during signup and backfills missing defaults on wallet access. The provider prerequisite is tech/sendico#2968. Automatic setup is tracked and validated in #72; the support-copy approach should not be treated as the completed flow.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: tech/sxchnge#66