Author

Topic: how to sign a message with python code (Read 98 times)

sr. member
Activity: 192
Merit: 262
Rollbit.com - Crypto Futures
April 25, 2024, 11:47:14 PM
#5
hello

I want to send a transaction with python, but I can't sign rawtransaction.

I want to know which python library I need to learn.

I once made a tutorial, Create transactions in Python, but everything is presented in Bahasa Indonesia. But at least you can find out the modules and libraries that I use to make Bitcoin transactions, and you can also find what kind of script I use to sign the transaction.

https://bitcointalksearch.org/topic/--5484019
jr. member
Activity: 35
Merit: 33
April 25, 2024, 09:43:23 PM
#4
BitcoinLib may be a good choice. Plenty of examples out there are capable to help you get the hang of it.

Here is the link: https://github.com/1200wd/bitcoinlib

legendary
Activity: 2870
Merit: 7490
Crypto Swap Exchange
April 25, 2024, 05:02:29 AM
#3
Please be more specific. If it's something you need to do one, have you tried using one of Bitcoin wallet software instead? What kind of transaction you need to sign? What kind of address (e.g. P2PKH and P2WPKH) used as input of the TX?

If you find that the documentation is a bit unclear, you can always use Chatgpt for some help.

Please stop suggesting that, without mentioning to double-check the result. It could be a way to lose access to your Bitcoin.
staff
Activity: 3500
Merit: 6152
April 25, 2024, 04:46:29 AM
#2
Bit[1] should do exactly what you're looking for. I have looked for other alternatives before, but I think Bit serve the purpose perfectly.

You can see the documentation here[2]. If you find that the documentation is a bit unclear, you can always use Chatgpt for some help.

[1] https://github.com/ofek/bit
[2] https://ofek.dev/bit/guide/transactions.html
newbie
Activity: 4
Merit: 1
April 25, 2024, 04:31:46 AM
#1
hello

I want to send a transaction with python, but I can't sign rawtransaction.

I want to know which python library I need to learn.
Jump to: