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

txHex param / signTransaction RPC not working #5938

Open
janniks opened this issue Nov 6, 2024 · 3 comments
Open

txHex param / signTransaction RPC not working #5938

janniks opened this issue Nov 6, 2024 · 3 comments

Comments

@janniks
Copy link
Contributor

janniks commented Nov 6, 2024

The popup is stuck in this state:
Image

Code to reproduce

const tx = await makeUnsignedContractDeploy({
  codeBody: `
    (define-public (hello-world)
      (ok "hello world"))
  `,
  contractName: 'hello-world',
  publicKey: '...',
  clarityVersion: ClarityVersion.Clarity3,
  network: 'testnet',
});
const txHex = tx.serialize();
console.log('txHex', txHex);

showSignTransaction({
  txHex,
  onFinish: d => {
    alert(JSON.stringify(d, null, 2));
  },
  onCancel: console.error,
});

Also tried with an unsigned STX transfer, didn't work either

Copy link

linear bot commented Nov 6, 2024

@kyranjamie kyranjamie self-assigned this Nov 7, 2024
@kyranjamie
Copy link
Collaborator

Thanks for reporting @janniks. Which version of @stacks/transactions is this using?

@kyranjamie kyranjamie removed their assignment Nov 7, 2024
@camerow
Copy link
Collaborator

camerow commented Nov 21, 2024

@janniks is this still an issue? If so could you point us in the direction of the @stacks/transactions package?

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

3 participants