Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Serialize and Send Transaction Not Working For Custom Programs #213

Open
AyberkDe opened this issue Nov 1, 2022 · 1 comment
Open

Serialize and Send Transaction Not Working For Custom Programs #213

AyberkDe opened this issue Nov 1, 2022 · 1 comment

Comments

@AyberkDe
Copy link

AyberkDe commented Nov 1, 2022

Describe the bug
I'm currently using MW to create unsigned transactions, return to frontend, serialize and sign. After signing and sending the transaction I'm getting "Signature Verification Failed" error from the chain.

I'm using serialize function with requiredAllSignatures and verifySignatures parameters as true and getting no error. However, when sending on-chain this error occurs. When I checked the serialized data created for same transaction on web3.js and Solana.Swift library there were some differences in UInt8 array.

To Reproduce
Steps to reproduce the behavior:

  1. https://api.magiceden.dev or https://docs.hyperspace.xyz/hype/developer-guide/ can be used to create the NFT transactions.
  2. Create the transaction object from the retrieved tx.
  3. Partial sign, serialize and send the transaction on chain.
  4. See error

Expected behavior
Transaction should go through and be successful on chain.

Screenshots
Screen Shot 2022-11-02 at 01 33 45

@AyberkDe
Copy link
Author

AyberkDe commented Nov 1, 2022

If you require my data models and endpoint to make testing easier, you can email me at [email protected].

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

No branches or pull requests

1 participant