# 在Windows上快速配置闪电节点和Taproot资产的步驟 **Published by:** [dada](https://paragraph.com/@dada-9/) **Published on:** 2023-10-19 **URL:** https://paragraph.com/@dada-9/windows-taproot ## Content 1.首先,请安装Bitcoin Core全节点並在bitcoin.conf文件中进行配置。你可以在https://bitcoincore.org/en/download/ 下载Bitcoin Core。打开bitcoin.conf文件,添加以下配置:server=1 daemon=1 zmqpubrawblock=tcp://127.0.0.1:28332 zmqpubrawtx=tcp://127.0.0.1:28333 rpcpassword=xxxx rpcuser=xxxx 请将"xxxx"替换为你自己的rpc密码和用户名。 2. 下载LND,你可以在https://github.com/lightningnetwork/lnd 上找到LND的页面。选择适合你的系统的版本下载,例如lnd-windows-amd64-v0.17.0-beta。下载后,将两个exe文件移动到一个资料夹中,然后打开命令提示字元。 在命令提示字元中zhi行以下命令,与Bitcoin Core建立连接。请将rpcuser和rpcpassword替换为你在bitcoin.conf文件中设置的值:lnd --bitcoin.active --bitcoin.mainnet --bitcoin.node=bitcoind --bitcoind.rpcuser=xxxx --bitcoind.rpcpassword=xxxxx --bitcoind.zmqpubrawblock=tcp://127.0.0.1:28332 --bitcoind.zmqpubrawtx=tcp://127.0.0.1:28333 然后再打开另一个命令提示字元窗口,建立并解锁钱包。执行以下命令:lncli create lncli unlock 请记得妥善保管助记词。 3.最后,下载Taproot Assets,你可以在https://github.com/lightninglabs/taproot-assets上找到Taproot Assets的页面。选择适合你的系统的版本下载,例如taproot-assets-windows-amd64-v0.3.0。下载后,在命令提示字元中执行以下命令,与LND连接:tapd --network=mainnet --debuglevel=debug --lnd.host=localhost:10009 这样就完成了在Windows上快速配置闪电节点和Taproot资产的步骤。 ## Publication Information - [dada](https://paragraph.com/@dada-9/): Publication homepage - [All Posts](https://paragraph.com/@dada-9/): More posts from this publication - [RSS Feed](https://api.paragraph.com/blogs/rss/@dada-9): Subscribe to updates