Skip to content

Conversation

@kamalbuilds
Copy link

Fixeed Error: You Must Provide a signTransaction Function #159

Made the below change to the form-pledge component , by which now it signs the transaction , builds the transaction using the TransactionBuilder and then sends the transaction using the server.

 const tx = await abundance.mint({ to: account, amount: amount });
        const signedXdr = await signTransaction(tx.toXDR(), {
          network: 'TESTNET',
          networkPassphrase: tx.raw.networkPassphrase,
        });
        let signed_tx = TransactionBuilder.fromXDR(
          signedXdr,
          tx.raw.networkPassphrase
        );
        const txRes = await server.sendTransaction(signed_tx);

Below screenshots as proof of the working.
Screenshot 2024-07-08 163154
Screenshot 2024-07-08 163204
Screenshot 2024-07-08 163214

@kamalbuilds
Copy link
Author

@Julian-dev28 Can you please start the workflow for this PR ? Thank you :)

@Julian-dev28
Copy link
Contributor

Julian-dev28 commented Jul 17, 2024

Hello. The call seems to execute yet tokens fail to be minted to the minter.
Please see attached video

wallet-ux.mov

@Julian-dev28
Copy link
Contributor

This issue has been fixed by #163

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.

2 participants