Skip to content

Implement Contract Invoke Function in Frontend for Soroban Transactions #26

@0xdevcollins

Description

@0xdevcollins

📌 Description

Currently, the frontend is not integrated with the Soroban smart contract for invoking project-related transactions (e.g., create project, vote, fund, release milestone, refund). This issue aims to implement a frontend utility function that allows secure and seamless invocation of the smart contract using Stellar's Soroban SDK.


🎯 Goals

  • Develop a reusable contract invoke function in the frontend.
  • Integrate Soroban SDK for contract interactions.
  • Can handle transactions like create_project, vote_project, fund_project, etc.
  • Ensure error handling & proper transaction signing.
  • Store the transaction hash in PostgreSQL after execution.

💡 Proposed Solution

  1. Create a utility function (invokeSorobanContract.ts) inside lib/.
  2. Use Stellar SDK to sign and submit transactions.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions