Bitcoin Forum
November 21, 2018, 05:29:39 PM *
News: Latest Bitcoin Core release: 0.17.0 [Torrent].
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Bitcoin Script tutorial  (Read 183 times)
0xuser
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?
1542821379
Hero Member
*
Offline Offline

Posts: 1542821379

View Profile Personal Message (Offline)

Ignore
1542821379
Reply with quote  #2

1542821379
Report to moderator
1542821379
Hero Member
*
Offline Offline

Posts: 1542821379

View Profile Personal Message (Offline)

Ignore
1542821379
Reply with quote  #2

1542821379
Report to moderator
1542821379
Hero Member
*
Offline Offline

Posts: 1542821379

View Profile Personal Message (Offline)

Ignore
1542821379
Reply with quote  #2

1542821379
Report to moderator
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction. Advertise here.
1542821379
Hero Member
*
Offline Offline

Posts: 1542821379

View Profile Personal Message (Offline)

Ignore
1542821379
Reply with quote  #2

1542821379
Report to moderator
shield132
Hero Member
*****
Online Online

Activity: 938
Merit: 525


Watch Agents Of Shield On ABC


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/

.BITSLER.                 ▄███
               ▄████▀
             ▄████▀
           ▄████▀  ▄██▄
         ▄████▀    ▀████▄
       ▄████▀        ▀████▄
     ▄████▀            ▀████▄
   ▄████▀                ▀████▄
 ▄████▀ ▄████▄      ▄████▄ ▀████▄
█████   ██████      ██████   █████
 ▀████▄ ▀████▀      ▀████▀ ▄████▀
   ▀████▄                ▄████▀
     ▀████▄            ▄████▀
       ▀████▄        ▄████▀
         ▀████▄    ▄████▀
           ▀████▄▄████▀
             ▀██████▀
               ▀▀▀▀
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▄            
▄▄▄▄▀▀▀▀    ▄▄█▄▄ ▀▀▄         
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▄      
█  ▀▄▄  ▀█▀▀ ▄      ▀████   ▀▀▄   
█ █▄  ▀▄   ▀████       ▀▀ ▄██▄ ▀▀▄
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
█  ▀▀       ▀▄▄ ▀████      ▄▄▄▀▀▀  █
█            ▄ ▀▄    ▄▄▄▀▀▀   ▄▄  █
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
█ ▄▄   ███   ▀██  █           ▀▀  █ 
█ ███  ▀██       █        ▄▄      █ 
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀  
▀▄            █        ▀▀      █  
▀▀▄   ███▄  █   ▄▄          █   
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀    
▀▀▄   █   ▀▀▄▄▄▀▀▀         
▄▄▄▄▄▄▄▄▄▄▄█▄▄▀▀▀▀              
              ▄▄▄██████▄▄▄
          ▄▄████████████████▄▄
        ▄██████▀▀▀▀▀▀▀▀▀▀██████▄
▄     ▄█████▀             ▀█████▄
██▄▄ █████▀                ▀█████
 ████████            ▄██      █████
  ████████▄         ███▀       ████▄
  █████████▀▀     ▄███▀        █████
   █▀▀▀          █████         █████
     ▄▄▄         ████          █████
   █████          ▀▀           ████▀
    █████                     █████
     █████▄                 ▄█████
      ▀█████▄             ▄█████▀
        ▀██████▄▄▄▄▄▄▄▄▄▄██████▀
          ▀▀████████████████▀▀
              ▀▀▀██████▀▀▀
            ▄▄▄███████▄▄▄
         ▄█▀▀▀ ▄▄▄▄▄▄▄ ▀▀▀█▄
       █▀▀ ▄█████████████▄ ▀▀█
     █▀▀ ███████████████████ ▀▀█
    █▀ ███████████████████████ ▀█
   █▀ ███████████████▀▀ ███████ ▀█
 ▄█▀ ██████████████▀      ▀█████ ▀█▄
███ ███████████▀▀            ▀▀██ ███
███ ███████▀▀                     ███
███ ▀▀▀▀                          ███
▀██▄                             ▄██▀
  ▀█▄                            ▀▀
    █▄       █▄▄▄▄▄▄▄▄▄█
     █▄      ▀█████████▀
      ▀█▄      ▀▀▀▀▀▀▀
        ▀▀█▄▄  ▄▄▄
            ▀▀█████
[]
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
Full Member
***
Offline Offline

Activity: 256
Merit: 239


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: 99
Merit: 1


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
Full Member
***
Offline Offline

Activity: 256
Merit: 239


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: 162
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:  

Sponsored by , a Bitcoin-accepting VPN.
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!