I started few years ago to develop smart contracts in Ethereum/Zilliqa with Solidity and Scilla languages. After a while and some good readings I decided to abandon the world of shitcoins.
I'm eager to learn the Bitcoin Script language and to develop new bitcoin projects.
Could you please suggest me some good sources for learning it in an efficient way?
142 sats \ 0 replies \ @03365d6a53 30 Jun 2023
@k00b shared this recently: #200522
reply
52 sats \ 0 replies \ @netstatic 30 Jun 2023
To get an overview of Script and its corresponding opcodes, take a look at https://en.bitcoin.it/wiki/Script
For an easy execution environment, check out the online ide scriptwiz (https://ide.scriptwiz.app/) made by Burak
btcdeb (https://github.com/bitcoin-core/btcdeb) is also a good way to get a better idea of how opcodes manipulate the stack
From there I'd check out miniscript, which is still far from having a friendly developer environment but maybe worth learning about in the longterm. Here's a good video to learn the basics of what it is https://www.youtube.com/watch?v=_v1lECxNDiM&ab_channel=LondonBitcoinDevs
For applications, the Liquid ecosystem has some good examples. Check out the Fuji whitepaper for an example of complex scripting (https://vulpem.com/synthetic-asset-smart-contract.pdf) along with Liquid's non-custodial options (https://blockstream.com/assets/downloads/pdf/options-whitepaper.pdf)
reply
10 sats \ 0 replies \ @siggy47 30 Jun 2023
You may find this thread helpful:
#43271
reply
2 sats \ 0 replies \ @kr 30 Jun 2023
definitely check out base58
https://base58.school/
reply
0 sats \ 1 reply \ @designsats 1 Jul 2023
Nice progress :)
reply
0 sats \ 0 replies \ @stefano OP 1 Jul 2023
I've already started studying : )
reply
0 sats \ 0 replies \ @pietro1861 30 Jun 2023
Here some resources:
https://betterprogramming.pub/the-bitcoin-script-language-e4379908448f
https://en.bitcoin.it/wiki/Script
https://bitcoindev.network/bitcoin-script-101/
https://github.com/openblockchains/programming-bitcoin-script
https://learnmeabitcoin.com/technical/p2sh
https://github.com/BlockchainCommons/Learning-Bitcoin-from-the-Command-Line/blob/master/09_3_Testing_a_Bitcoin_Script.md
https://github.com/BlockchainCommons/Learning-Bitcoin-from-the-Command-Line/blob/master/09_0_Introducing_Bitcoin_Scripts.md
reply
0 sats \ 0 replies \ @theinstagibbs 30 Jun 2023
Once youve learned the basics I'd check out miniscript. It's a subset of the language with tooling for usability and safety
reply