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

How can I sign Litecoin(LTC) transaction with wallet-core in Node.js? #4133

Open
Yasinj05 opened this issue Nov 27, 2024 · 3 comments
Open
Labels
enhancement New feature or request

Comments

@Yasinj05
Copy link

Yasinj05 commented Nov 27, 2024

I'm trying to sign a litecoin transaction, it will be sign but i can't broadcast it because of I'm attempting to spend a SegWit (Bech32) UTXO using a non-SegWit (Legacy) transaction format and I don't know how to fix it.
Is there any samples for this action?

@Yasinj05 Yasinj05 added the enhancement New feature or request label Nov 27, 2024
@satoshiotomakan
Copy link
Collaborator

Hi @Yasinj05, you should be able to construct a transaction with any combination of UTXOs.
Do you use BitcoinV2 protocol? Could you share the code WITHOUT PRIVATE KEYS

@Tpkilgore197
Copy link

Hi @Yasinj05, you should be able to construct a transaction with any combination of UTXOs.

Do you use BitcoinV2 protocol? Could you share the code WITHOUT PRIVATE KEYS

I don't use bitcoinV2

@Yasinj05
Copy link
Author

Hi @Yasinj05, you should be able to construct a transaction with any combination of UTXOs.
Do you use BitcoinV2 protocol? Could you share the code WITHOUT PRIVATE KEYS

I fixed it, thank you. Why don't you complete the documentation for the typescript so that I don't have to ask you every time? In the future, I will have questions for other networks for which you do not have a sample code.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

4 participants
@satoshiotomakan @Yasinj05 @Tpkilgore197 and others