浏览器打开 https://electrum.org/#download 选择windwos版本的安装程序
Browser Opens https://electrum.org/#download Select installation program for Windows version
点击下载,并安装
& nbsp; click download and install
提示输入钱包名称
Hint Enter Wallet Name
下一步:标准钱包
& nbsp; the next step: standard wallet
创建一个新的密语种子
& nbsp; creating a new secret feed
下一步,选择老式地址
& nbsp; the next step, select an old address
记下密语种子
& nbsp; writing a secret feed
下一步,再输入密语种子
& nbsp; next step, enter a secret feed
输入密码
Enter Password
下一步,进入主界面
& nbsp; the next step, enter the main interface
点击“地址”选项卡,里面已经创建了很多收款地址以及找零地址,都是以m开头的地址均为测试地址
& nbsp; click on the "Address" tab, which has created many collection addresses and zero addresses, all of which are test addresses starting with m
显示余额都是零,下一步我们就为其中一个收款地址获取测试比特币
& nbsp; showing zero balances, next we get a test bitcoin for one of the collection addresses
- http://bitcoinfaucet.uo1.net/
- https://testnet-faucet.mempool.co/ ( max 0.05\hour - 0.01 per request )
- https://coinfaucet.eu/en/btc-testnet/ ( can request once per 12 hours)
- https://tbtc.bitaps.com/
- http://faucet.thonguyen.net/btc
浏览器打开https://kuttler.eu/en/bitcoin/btc/faucet/
Browser opens https://kuttler.eu/en/bitcoin/btc/aucet/
发现使用了google的验证码服务,并且显示不出来图片,需要安装GOOGLE浏览器的一个gooreplacer插件,这个插件的功能用于将网页中的文件地址重定向至其他地址。
& nbsp; found to have used Google's authentication code service and unable to display pictures, requires the installation of a Gooreplacer plugin from the GOOGLE browser, which is used to redirect the file addresses in the web page to other addresses.
浏览器打开https://www.chromefor.com/gooreplacer_v3-10-0/
Browser opens https://www.chromefor.com/gooreplacer_v3-10-0/
一个浏览器插件下载网站,下载插件,要选择本网站下载
A browser plugin downloads the website, downloads the plugin, selects the site to download
下载成功后,是一个.crx为后缀的文件
& nbsp; successfully downloaded is a.crx suffix file
打开google浏览器,选择扩展程序,直接将文件拖入浏览器总,浏览器自动安装插件
& nbsp; open google browsers, select extension programs, drag files directly into browser totals, and automatically install plugins for browsers
成功后,显示如下界面
After & nbsp; succeeds, display the following interfaces
点击"add"添加一个地址重定向规则
& nbsp; click "add" to add an address redirection rule
也就是将提供验证码服务的www.google.com/recaptcha地址改为recaptcha.net/recaptcha,这样国内就可以访问了
That is, www.google.com/recaptcha to recaptcha.net/recaptcha, which will provide a certification service, so that it can be accessed in the country.
再打开测试币网站https://kuttler.eu/en/bitcoin/btc/faucet/
Reopening test currency website https://kuttler.eu/en/bitcoin/btc/aucet/
已经成功显示出来了,然后输入我们的收款地址,通过验证后,获取
& nbsp; has been successfully displayed and then entered our collection address, and has been verified and obtained
显示成功,回到Electrum界面,显示钱包地址已经有余额了
& nbsp; & nbsp; show success, go back to the Electrum interface and show that the wallet address is in balance
我们右键点击“地址”,选择“详细信息”,打开这个地址的详细信息界面
We click right on " Address ", select " Details ", open a detailed information interface for this address
可以看到这个地址的公钥,以及交易历史记录,目前只有我们选择获取测试币的这笔记录,右键点击这条记录,选择“详细信息”,显示这笔交易的详细信息
& nbsp; you can see the public key to this address, as well as the history of the transaction, where only we currently choose to get this record of the test currency, right click on this record and choose " Details " to show details of the transaction
本交易的HASH值、目前经过几个区块确认、被哪个区块打包的、交易的输入和输出
& nbsp; HASH values for this transaction, currently confirmed by several blocks, which block is packaged, input and output of the transaction
现在地址列表里复制一个收款地址,然后点击“发送”选项卡进入转账界面
Copy a collection address in the current address list and then click the Send tab into the Transfer Interface
将复制的地址粘贴到支付给文本框里,作为收款人地址,金额随便填写小于你钱包余额的一个数字,费用既手续费,可以设置,手续费越高,那么被矿工及时打包上链的概率就越大,因为收付费是给矿工的
& nbsp; paste the duplicate address to the payment box as the payee's address and fill out a figure smaller than the balance of your wallet. The more the charge, the more expensive it is, the more likely it is that the miner will pack the chain in time, because the fee is paid to the miner.
我们点击“预览”
We're going to click on Preview.
bf3c198243b0d79d10594189daafaef053e9eb97e3a3061adafb2dfebe41c827:19 这个表示,交易的输入是我获取的测试币的那笔交易的ID:和输出的位置
bf3c 198243b0d79d 10594189d 1059489daafaef053e9e9b97e3a3061addafb2dfebe41c827:19 this means that the transaction was entered into the ID: and the location of the output of the transaction for which I obtained the test currency
输出里面为收款的地址以及找零的地址和金额。再点击“签名”,给这笔交易用自己的私钥签名,再点击“广播“
The output contains the address of the receipt and the location and amount of the change. Click on " Sign ", give the transaction your own private key and click on "Broadcast ".
显示付款已经发送,并返回这笔交易的HASH,回到地址列表可以看到收款地址已经有了10比特币余额,找零地址转入了剩余的110比特币
& nbsp; shows that payment has been sent and returns to HASH for the transaction. Returning to the address list, it can be seen that the collection address has 10 bits of money in balance and finding a zero address has been transferred to the remaining 110 bits of currency.
回到历史界面,此交易的记录已经显示,点击详细信息
& nbsp; reverting to the historical interface, the record of the transaction has been shown, clicking on details
因为是转账到我自己钱包里的一个地址,所以这里显示的发送金额是0
& nbsp; as it was transferred to an address in my own wallet, the amount of delivery shown here is zero
我们还可以右键点击交易记录,选择“使用区块浏览器查看”,可以查看更详细的信息
We can also click right on the transaction log and select " Use block browser " to view more detailed information.
点击DETAILS
& nbsp; click on DETAILS
显示了本交易的输入和输出脚本。
& nbsp; displays input and output scripts for this transaction.
可以看到交易输入里有输入脚本,以及上一个交易的输出脚本,这笔交易在全节点的的验证过程为:先执行输入脚本,再执行上一个交易的输出脚本,来验证这笔交易有效性
You can see the input script in the transaction input, as well as the output script of the previous transaction, which is validated at the full node by executing the input script first and the output script of the previous transaction to verify the validity of the transaction
输入脚本
Enter Script
OP_PUSHBYTES_72 3045022100841e9bcc720fb3e689ee5ed19bda95c531a38e981e3c50c587c6c126acb084940220579fff024189bc73afe5b2ddcf2194685ea1025fba16fd95fa7af155fe90927c01
OP_PUSHBYTES_33 03ffeeb710d76f6bf11c6534749f1407da6805be63697bff919995b7db2c6a8c32
上一个交易输出脚本
Previous transaction output script
OP_DUP
OP_HASH160
OP_PUSHBYTES_20 9c88615abc0525dca340f038a3f3b7b5bfe05fd3
OP_EQUALVERIFY
OP_CHECKSIG
执行过程为:
The implementation process is as follows:
OP_PUSHBYTES_72 3045022100841e9bcc720fb3e689ee5ed19bda95c531a38e981e3c50c587c6c126acb084940220579fff024189bc73afe5b2ddcf2194685ea1025fba16fd95fa7af155fe90927c01:将用私钥签名的信息入栈
OP_PUSHBYTES_72304522100841e9bcc720bc3e689ee5ed19bda95c531a38e981e3c50c587c6c126acb084040205779ffffffff4189bc5b2df2df2194685ea1025fba16fd95fa7f155fe90927c01: enter information signed with a private key
OP_PUSHBYTES_33 03ffeeb710d76f6bf11c6534749f1407da6805be63697bff919995b7db2c6a8c32:将公钥入栈
OP_PUSHBYTES_33 03ffeeb710d76f6bf11c653474f1407da6805be63697bff919995b7db2c6a8c32: Put Public Keys in Bank
OP_DUP :复制一个栈顶元素,并入栈
OP_DUP: Copy a top element and merge into a store
OP_HASH160:弹出栈顶元素,并作hash160运算 H(Public Key),得到账户地址,并入栈
OP_HASH160: Ejects top elements and performs shash160 operation & nbsp; H (Public Key), gets account address, merges with warehouse
OP_PUSHBYTES_20 9c88615abc0525dca340f038a3f3b7b5bfe05fd3 :将收款账户的公钥HASH既收款账户地址入栈。
OP_PUSHBYTES_20 9c88615abc0525dca 340f038a3f3b7b5bfe05fd3 : to store the address of the public key HASH account.
OP_EQUALVERIFY:弹出栈顶两个元素,并比较他们是否相等,也就是验证付款方账户是否正确,确实是上一个交易的收款方,此时栈内只剩下了付款方公钥以及付款方私钥的签名
& nbsp; OP_EQUALVERIFY: Ejects the top two elements and compares them to whether they are equal, i.e. to verify that the account of the payer is correct and is indeed the recipient of the previous transaction, where only the public key of the payer and the signature of the private key of the payer are left.
OP_CHECKSIG:弹出栈顶两个元素,用公钥进行验签。整个验证交易过程结束。
& nbsp; OP_CHECKSIG: Two elements of the roof are ejected, and the public key is used to verify the transaction.
转载自:https://www.cnblogs.com/sky-cheng/p/11972128.html
& nbsp; reproduced from https://www.cnblogs.com/sky-cheng/p/172128.html
Friendship links: ,
注册有任何问题请添加 微信:MVIP619 拉你进入群
打开微信扫一扫
添加客服
进入交流群
发表评论