Skip to content

fix(dapp): replace the mocked VaultFactory with real contract deployment #1091

Description

@0xDeon

Context

apps/dapp/frontend/lib/stellar/vault-factory.ts generates fake vault IDs, contract addresses and transaction hashes with Math.random(), and CreateVaultWizard.tsx:97 calls it. Vault creation in the product is entirely fictional — it returns a plausible-looking contract address that does not exist.

Acceptance criteria

  • Vault creation builds, signs and submits a real transaction against the deployed factory.
  • The returned contract address is read from the transaction result, never generated.
  • Failure surfaces a real error; no fake success path remains.
  • lib/stellar/vault-factory.ts mock implementation is deleted, not left behind a flag.
  • E2E test creates a vault on testnet and reads it back.

Notes

Hard blocker: a user cannot actually create a vault today.


Testnet launch backlog — E3 DApp real transactions.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Stellar WaveIssues in the Stellar wave programfrontendDApp frontend (Next.js)priority:highHigh priority - foundational workseverity:highHigh severity finding

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions