Skip to content

ENG-396: Create ETH-USDT receive address during account creation#351

Open
forge0x wants to merge 1 commit into
feature/bridge-integrationfrom
eng-396/usdt-receive-address
Open

ENG-396: Create ETH-USDT receive address during account creation#351
forge0x wants to merge 1 commit into
feature/bridge-integrationfrom
eng-396/usdt-receive-address

Conversation

@forge0x
Copy link
Copy Markdown
Contributor

@forge0x forge0x commented May 12, 2026

Summary

Creates an Ethereum USDT IBEX crypto receive address during Flash account creation, after the ETH-USDT Cash Wallet / IBEX account is created.

This keeps the code on the same IBEX receive-info path that ENG-395 can later expose through GraphQL/mobile.

Changes

  • During account bootstrap, after selecting the ETH-USDT wallet as the default Cash Wallet:
    • fetches the Ethereum USDT receive option from IBEX
    • creates one crypto receive-info for the ETH-USDT wallet
    • stores the returned address on account.bridgeEthereumAddress
  • Account creation fails if required ETH-USDT receive-info creation fails, avoiding a partially provisioned account.
  • Adds focused unit coverage for success and failure behavior.

Out of scope

  • GraphQL/mobile receive-address API — ENG-395
  • Crypto receive webhook alignment — ENG-296
  • Bridge virtual-account behavior — dedicated Bridge VA tickets

Verification

  • RED observed before implementation: new account-creation tests failed because IBEX receive-info creation was not called.
  • PASS: LOGLEVEL=warn ../../node_modules/.bin/jest --config ./test/flash/unit/jest.config.js --bail --verbose test/flash/unit/app/accounts/create-account.spec.ts
  • PASS: git diff --check
  • PASS: ../../node_modules/.bin/tsc --noEmit -p tsconfig.d.json
  • PASS: ../../node_modules/.bin/eslint --no-ignore src/app/accounts/create-account.ts test/flash/unit/app/accounts/create-account.spec.ts
  • NOTE: full ../../node_modules/.bin/tsc --noEmit still fails on inherited baseline legacy/test type errors unrelated to this PR.

Linear: ENG-396

@linear
Copy link
Copy Markdown

linear Bot commented May 12, 2026

ENG-396

@forge0x forge0x force-pushed the eng-396/usdt-receive-address branch from 544243c to e2c7014 Compare May 12, 2026 16:40
@forge0x forge0x force-pushed the eng-396/usdt-receive-address branch from e2c7014 to 3fe93bf Compare May 12, 2026 19:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant