|
所在平台: Udemy |
课程主页: https://www.udemy.com/course/base58-bitcoin-basics-crypto-sigs/
课程评论:没有评论
**课程名称:** Bitcoin Developer Basics 02: Crypto + Digital Signatures **课程概述:** 本课程面向软件工程师,深入解析比特币交易中的数据、字段和脚本,帮助您理解比特币如何锁定和转移。您将学习如何构建自己的比特币交易解析器,编写自定义的比特币锁定脚本,并适应现代的SegWit格式。 **课程内容:** * **阶段一:椭圆曲线密码学** * 什么是椭圆曲线及其在区块链数字签名中的作用。 * 比特币所使用的secp256k1曲线的来源。 * 如何从私钥生成公钥。 * **主题:** 有限域上的椭圆曲线,secp256k1,公钥与私钥。 * **阶段二:P2PK, P2PKH:将比特币锁定到公钥** * 学习标准比特币脚本和签名。 * 编写P2PK、P2PKH和P2WPKH脚本,并将比特币锁定到这些脚本中。 * **主题:** 压缩密钥,P2PK,P2PKH,P2WPKH。 * **阶段三:数字签名** * 理解ECDSA(椭圆曲线数字签名算法)的工作原理。 * 学习如何生成数字签名来解锁比特币。 * **主题:** 数字签名,ECDSA。 * **阶段四:Sighashes** * 学习使用Sighashes构建待签名消息,这是ECDSA签名过程的一部分。 * Sighashes如何确保交易数据在区块中传输时的完整性。 * **主题:** Sighashes,SegWit,Legacy,SIGHASH_ALL,SIGHASH_NONE,SIGHASH_SINGLE。 * **阶段五:多重签名** * 学习如何使用OP_CHECKMULTISIG脚本将比特币锁定到需要多个签名才能解锁的阈值签名。 * **主题:** 多重签名(Multisigs),OP_CHECKMULTISIG,Script。
So you've heard about bitcoin? Ever wondered what's going on with the data in a transaction, or how bitcoin gets locked up and transferred from one holder to another?This course by Base58 instructor niftynei, will take you on a deep dive of the fields, bytes, and scripts that make up the bitcoin blockchain data. In an software engineer focused manner, we'll go over everything you need to know to build your own bitcoin transaction parser, write your very own custom bitcoin locking scripts, and adapt your transactions to the modern SegWit format.Step 1: Let's learn about Elliptic Curve CryptogaphyFirst we figure out what the building blocks for making digital signatures on blockchains are: elliptic curves! We'll do a very basic walk through of how these work and work through where Bitcoin's secp256k1 curve comes from. Finally we'll pick some private keys and learn how to find the public key version of it.Topics: elliptic curves over finite fields, secp256k1, public and private keysStep 2: P2PK, P2PKH: Locking Bitcoin up to Public KeysNow that we've got some private and public keys, we're ready to learn about standard Bitcoin scripts with signatures. We'll write some P2PK, P2PKH, and P2WPKH scripts and lock bitcoin up to them (so we can unlock it later).Topics: compressed keys, P2PK, P2PKH, P2WPKHStep 3: Digital SignaturesNow that we've got Bitcoin locked up to some public keys, we need to learn how to make signatures to unlock it. We'll walk through how ECDSA works.Topics: digital siganatures, ECDSAStep 4: SighashesNow that we've got ECDSA under our belt, we're ready to make signatures to spend the bitcoin we locked to our public keys. Here we use sighashes to build the message to sign with ECDSA. Sighashes are how we commit to data in a transaction, to prevent anyone else from tampering with the data on its way into a block.Topics: sighashes, SegWit, legacy, SIGHASH_ALL, SIGHASH_NONE, SIGHASH_SINGLEStep 5: MultisigFinally, we'll take a look at how you can lock bitcoin up to threshold signatures using OP_CHECKMULTISIG.Topics: multisigs, OP_CHECKMULTISIG, Script