Author

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

sr. member
Activity: 192
Merit: 262
trustdice.win (The Top of Crypto Casinos)
April 26, 2024, 12:47:14 AM
#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: 33
Merit: 32
April 25, 2024, 10: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: 2856
Merit: 7410
Crypto Swap Exchange
April 25, 2024, 06: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: 3402
Merit: 6065
April 25, 2024, 05: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: 0
Merit: 0
April 25, 2024, 05: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: