Bitcoin Forum
June 24, 2024, 07:30:36 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Bitcoin Script tutorial  (Read 299 times)
0xuser (OP)
Newbie
*
Offline Offline

Activity: 6
Merit: 0


View Profile
May 16, 2018, 08:36:21 PM
 #1

Are there any tutorials with code examples on Bitcoin Script: from basics to complex scripts?
shield132
Hero Member
*****
Offline Offline

Activity: 2254
Merit: 870



View Profile
May 16, 2018, 09:44:44 PM
Merited by malevolent (3)
 #2

Are there any tutorials with code examples on Bitcoin Script: from basics to complex scripts?
To be fair I amn't expert in Technicul discussion but I'll try my best to help.
This is online bitcoin script debugger: https://webbtc.com/script
It's another great (downloadable) tool for you to make things easy: https://bitcointalk.org/index.php?topic=1168604
See this too, if I amn't wrong it's what you want: https://klmoney.wordpress.com/bitcoin-dissecting-transactions-part-2-building-a-transaction-by-hand/

▄▄███████▄▄
▄██████████████▄
▄██████████████████▄
▄████▀▀▀▀███▀▀▀▀█████▄
▄█████████████▄█▀████▄
███████████▄███████████
██████████▄█▀███████████
██████████▀████████████
▀█████▄█▀█████████████▀
▀████▄▄▄▄███▄▄▄▄████▀
▀██████████████████▀
▀███████████████▀
▀▀███████▀▀
.
 MΞTAWIN  THE FIRST WEB3 CASINO   
.
.. PLAY NOW ..
yudi31
Newbie
*
Offline Offline

Activity: 70
Merit: 0


View Profile
May 24, 2018, 08:16:43 PM
 #3

Bitcoin script
In general, the Bitcoin transaction serves to redeem the output of the previous transaction by signing it using a valid key. So until here still remember not that Bitcoin transaction will be interrelated with the transaction beforehand
pebwindkraft
Sr. Member
****
Offline Offline

Activity: 257
Merit: 343


View Profile
May 24, 2018, 09:38:04 PM
 #4

It depends, what you mean by complex scripts  Wink
You can find for P2PKH and P2SH easily Information, and also for simple multisig. But at the point where a simple ‚if condition‘ comes into play, the sources dry out. Best I have seen here in the forum was from CIYAM here: https://bitcointalk.org/index.php?topic=1300723.0

I haven‘t found much info elsewhere on the net, seems like the whole knowledge is captured in libraries, and no tutorial is available. So need to go the hard way ourself?

I replied a similar post here, with another link inside:
https://bitcoin.stackexchange.com/questions/74375/getting-started-with-script/75349#75349
victorkimba17
Jr. Member
*
Offline Offline

Activity: 113
Merit: 5


View Profile
May 25, 2018, 03:28:50 AM
Merited by pebwindkraft (1)
 #5

a good tutorial on bitcoin script

https://blockgeeks.com/guides/bitcoin-script-guide-part-2/
pebwindkraft
Sr. Member
****
Offline Offline

Activity: 257
Merit: 343


View Profile
May 25, 2018, 01:08:33 PM
 #6

Thanx, yup, indeed. I‘ll add it to my list  Wink
What I missing now is a way that shows, how to manually create the conditional scripts with regtest and bitcoin-cli. I haven‘t found much, seems like this is covered in libraries, but no precise info can be found in a step-by-step approach  Cry
astrong
Jr. Member
*
Offline Offline

Activity: 160
Merit: 3

Aku belum mandi Taktuntuang Taktuntuang


View Profile
May 25, 2018, 03:04:08 PM
 #7

Are there any tutorials with code examples on Bitcoin Script: from basics to complex scripts?
To be fair I amn't expert in Technicul discussion but I'll try my best to help.
This is online bitcoin script debugger: https://webbtc.com/script
It's another great (downloadable) tool for you to make things easy: https://bitcointalk.org/index.php?topic=1168604
See this too, if I amn't wrong it's what you want: https://klmoney.wordpress.com/bitcoin-dissecting-transactions-part-2-building-a-transaction-by-hand/
Thank you sir, finally I found the first tutorial about script of bitcoin. though in english language, I still need in video tutorial. Can someone here give me an information where I can find it? I ever try to looking for in youtube channel but it's not complete. I hate to search in google because it is always bring me to bad ads and bad blog.

◯●●●●●       OmniBazaar.com       ●●●●●◯
Shop without middlemen. Pay without bankers
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!