|
所在平台: Udemy |
课程主页: https://www.udemy.com/course/base58-bitcoin-transactions-one/
课程评论:没有评论
**课程名称:** 比特币开发者基础 01:交易、脚本与隔离见证(SegWit) **课程概述:** 本课程面向程序员、开发者和工程师,旨在深入讲解比特币交易中的数据结构、脚本语言以及如何锁定和转移比特币。通过软件工程的视角,学员将学习构建自己的比特币交易解析器,编写自定义的比特币脚本,并掌握如何适配现代的隔离见证(SegWit)格式。 **第一周:比特币交易入门** * **内容:** 介绍比特币交易的组成字段、交易ID的计算方法、交易费用及其计算方式,以及Coinbase交易和区块奖励。 * **主题:** 交易字段、字节序(Endianness)、交易ID、交易费用与交易权重、Coinbase交易。 **第二周:探索脚本(Script)** * **内容:** 学习比特币的原生编程语言——Script,编写自己的脚本,理解哈希与原像(preimages)的概念,并学习如何锁定和解锁比特币到特定的脚本。 * **主题:** Script语言、标准脚本、P2SH(Pay-to-Script-Hash)、操作码(Opcodes)。 **第三周:使用隔离见证(SegWit)进行交易** * **内容:** 介绍隔离见证(SegWit)这一重要的比特币升级,重点讲解SegWit如何影响交易结构和费用计算,并深入学习两种新的SegWit脚本类型:P2WSH(Pay-to-Witness-Script-Hash)和P2SH-P2WSH。 * **主题:** 隔离见证(SegWit)、P2WSH、P2SH-P2WSH。 **目标:** 帮助学员快速入门比特币开发,能够独立编写和解析比特币交易,并理解和应用SegWit技术。
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? Are you a programmer, developer, or engineer? This course is for you! We'll get you programming your first bitcoin transactions in no time.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. This class will get you started in bitcoin development. Go farther, faster with Base58!Step 1: Intro to bitcoin transactionsWe'll start off learning about what a bitcoin transaction is. Specifically, what fields do they contain? We learn how to calculate a transaction id and what transaction fees are, and how are they calculated. Finally, we'll talk about coinbases and block rewards.Topics: transaction fields, endianness, transaction ids, fees + transaction weights, coinbasesStep 2: Enter ScriptIn week two we start talking about Bitcoin's native "programming language": Script! We'll write our own script this week (and learn about hashes and preimages). Once we've written a script we'll try locking some bitcoins up to it, as well as unlocking them.Topics: Script, standard scripts, P2SH, opcodesStep 3: Transacting with SegWitNow that we've seen how transactions are constructed and built, we'll introduce the bitcoin omnibus update bill, the SegWit soft-fork. SegWit impacted the structure of a transaction and its fee calculations, so we'll dive into how these updates work and two of the 'new' SegWit script types: P2WSH and P2SH-P2WSH.Topics: SegWit! P2WSH, P2SH-P2WSH