<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/">
    <channel>
        <title>arant.eth</title>
        <link>https://paragraph.com/@arant</link>
        <description>undefined</description>
        <lastBuildDate>Wed, 06 May 2026 15:47:38 GMT</lastBuildDate>
        <docs>https://validator.w3.org/feed/docs/rss2.html</docs>
        <generator>https://github.com/jpmonette/feed</generator>
        <language>en</language>
        <copyright>All rights reserved</copyright>
        <item>
            <title><![CDATA[windows安装nodejs]]></title>
            <link>https://paragraph.com/@arant/windows-nodejs</link>
            <guid>ag1drBy7TAAWhN3mrtki</guid>
            <pubDate>Thu, 23 Nov 2023 03:49:09 GMT</pubDate>
            <description><![CDATA[1.去网下载安装包 链接 https://nodejs.org/en2.下载后执行安装文件3.选择安装D盘4.手动创建node_cache和node_global文件 后 win+R 输入cmd创建完两个空文件夹之后，打开cmd命令窗口，输入 npm config set prefix "D:\app\node\node_global" npm config set cache "D:\app\node\node_cache" 5.配置环境变量 点开win键-》设置-》高级设置6.点卡环境变量7.点开用户变量 Path 添加你D盘安装node目录下node_global 保存8.添加系统环境变量 创建NODE_PATH NODE的moduls目录测试是否安装成功打开win+r cmd窗口输入 d: node -v npm -v 出现版本号表示安装成功]]></description>
            <content:encoded><![CDATA[<p>1.去网下载安装包 链接</p><p><a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://nodejs.org/en">https://nodejs.org/en</a></p><figure float="none" data-type="figure" class="img-center" style="max-width: null;"><img src="https://storage.googleapis.com/papyrus_images/7b849879f41d178a6ee0ab1e21a9f4b902f0dcf60d413995faf3b208ea58c065.png" alt="" blurdataurl="data:image/gif;base64,R0lGODlhAQABAIAAAP///wAAACwAAAAAAQABAAACAkQBADs=" nextheight="600" nextwidth="800" class="image-node embed"><figcaption HTMLAttributes="[object Object]" class="hide-figcaption"></figcaption></figure><p>2.下载后执行安装文件</p><figure float="none" data-type="figure" class="img-center" style="max-width: null;"><img src="https://storage.googleapis.com/papyrus_images/ebe6e6ec2d68788771642d7f398578b520371f750ca5479990b197ec7b15fd70.png" alt="" blurdataurl="data:image/gif;base64,R0lGODlhAQABAIAAAP///wAAACwAAAAAAQABAAACAkQBADs=" nextheight="600" nextwidth="800" class="image-node embed"><figcaption HTMLAttributes="[object Object]" class="hide-figcaption"></figcaption></figure><p>3.选择安装D盘</p><figure float="none" data-type="figure" class="img-center" style="max-width: null;"><img src="https://storage.googleapis.com/papyrus_images/75fde6c17ef1792b89d812c1152b845efdd7ad1e90da2be363437901f66f5d80.png" alt="" blurdataurl="data:image/gif;base64,R0lGODlhAQABAIAAAP///wAAACwAAAAAAQABAAACAkQBADs=" nextheight="600" nextwidth="800" class="image-node embed"><figcaption HTMLAttributes="[object Object]" class="hide-figcaption"></figcaption></figure><p>4.手动创建node_cache和node_global文件 后 win+R 输入cmd</p><pre data-type="codeBlock" text="创建完两个空文件夹之后，打开cmd命令窗口，输入
npm config set prefix &quot;D:\app\node\node_global&quot;
npm config set cache &quot;D:\app\node\node_cache&quot;
"><code>创建完两个空文件夹之后，打开cmd命令窗口，输入
npm config <span class="hljs-keyword">set</span> <span class="hljs-keyword">prefix</span> <span class="hljs-string">"D:\app<span class="hljs-subst">\n</span>ode<span class="hljs-subst">\n</span>ode_global"</span>
npm config <span class="hljs-keyword">set</span> cache <span class="hljs-string">"D:\app<span class="hljs-subst">\n</span>ode<span class="hljs-subst">\n</span>ode_cache"</span>
</code></pre><p>5.配置环境变量</p><p>点开win键-》设置-》高级设置</p><figure float="none" data-type="figure" class="img-center" style="max-width: null;"><img src="https://storage.googleapis.com/papyrus_images/5c92b6161f2ea176e89c9790ac3a80b283e80b7ceaadecceed5a719776828120.png" alt="" blurdataurl="data:image/gif;base64,R0lGODlhAQABAIAAAP///wAAACwAAAAAAQABAAACAkQBADs=" nextheight="600" nextwidth="800" class="image-node embed"><figcaption HTMLAttributes="[object Object]" class="hide-figcaption"></figcaption></figure><p>6.点卡环境变量</p><figure float="none" data-type="figure" class="img-center" style="max-width: null;"><img src="https://storage.googleapis.com/papyrus_images/3ca1cc15adac4cd64120d73c36fe18dc8d0f22fef3d1dd1928942dc3b91b7e75.png" alt="" blurdataurl="data:image/gif;base64,R0lGODlhAQABAIAAAP///wAAACwAAAAAAQABAAACAkQBADs=" nextheight="600" nextwidth="800" class="image-node embed"><figcaption HTMLAttributes="[object Object]" class="hide-figcaption"></figcaption></figure><p>7.点开用户变量 Path 添加你D盘安装node目录下node_global 保存</p><figure float="none" data-type="figure" class="img-center" style="max-width: null;"><img src="https://storage.googleapis.com/papyrus_images/edbfe427ce328e932fb17604b5422b36aa91b14297a64d0d3d7d88b564044e61.png" alt="" blurdataurl="data:image/gif;base64,R0lGODlhAQABAIAAAP///wAAACwAAAAAAQABAAACAkQBADs=" nextheight="600" nextwidth="800" class="image-node embed"><figcaption HTMLAttributes="[object Object]" class="hide-figcaption"></figcaption></figure><p>8.添加系统环境变量 创建NODE_PATH NODE的moduls目录</p><figure float="none" data-type="figure" class="img-center" style="max-width: null;"><img src="https://storage.googleapis.com/papyrus_images/a97841f146f6e650cc9804aa7048a66876278b6a56080c4d2bfbb185d86a56e1.png" alt="" blurdataurl="data:image/gif;base64,R0lGODlhAQABAIAAAP///wAAACwAAAAAAQABAAACAkQBADs=" nextheight="600" nextwidth="800" class="image-node embed"><figcaption HTMLAttributes="[object Object]" class="hide-figcaption"></figcaption></figure><figure float="none" data-type="figure" class="img-center" style="max-width: null;"><img src="https://storage.googleapis.com/papyrus_images/c899c7a13aabb82137ecfc5280bf6365629556db198108e5ba6f8b7d32875161.png" alt="" blurdataurl="data:image/gif;base64,R0lGODlhAQABAIAAAP///wAAACwAAAAAAQABAAACAkQBADs=" nextheight="600" nextwidth="800" class="image-node embed"><figcaption HTMLAttributes="[object Object]" class="hide-figcaption"></figcaption></figure><p>测试是否安装成功打开win+r cmd窗口</p><pre data-type="codeBlock" text="输入 d: 
node -v
npm -v 
出现版本号表示安装成功
"><code>输入 d: 
node <span class="hljs-operator">-</span>v
npm <span class="hljs-operator">-</span>v 
出现版本号表示安装成功
</code></pre><figure float="none" data-type="figure" class="img-center" style="max-width: null;"><img src="https://storage.googleapis.com/papyrus_images/e0bfcdedf78700cc4fad2df672dbb6d1a560be6f91e96338278b79f2b175ce5b.png" alt="" blurdataurl="data:image/gif;base64,R0lGODlhAQABAIAAAP///wAAACwAAAAAAQABAAACAkQBADs=" nextheight="600" nextwidth="800" class="image-node embed"><figcaption HTMLAttributes="[object Object]" class="hide-figcaption"></figcaption></figure>]]></content:encoded>
            <author>arant@newsletter.paragraph.com (arant.eth)</author>
        </item>
        <item>
            <title><![CDATA[批量Mint 程序使用]]></title>
            <link>https://paragraph.com/@arant/mint</link>
            <guid>YDdSneV8eYsR5u7wShIi</guid>
            <pubDate>Sun, 19 Nov 2023 05:20:13 GMT</pubDate>
            <description><![CDATA[1.下载代码地址： https://github.com/Even521/Mint-Tools 2.如果你不会使用git，请下载ZIP文件，如图所示3.解压到D盘，win+R 打开 输入cmd，进入代码目录pip install eth_account pip install web3 pip install load_dotenv python main.py 4.输入1表示，创建一个新钱包，这里的加密后的助记词、私钥会生成在resource目录下的wallet.txt文件中5.解密助记词、私钥，操作输入3，把上面的得到助记词、私钥备份。为了安全请抄写到纸质笔记本上备份助记词、私钥。6.这里解释一下为什么需要将私钥加密，网上很多脚本直接把私钥暴露在配置文件中是很不安全的。程序执行都需要你的密码才会执行，这里提高了安全程度。加密方法采用pbeWithMd5Des比较通用的方法。详情请参考pbeWithMd5Des.py文件。 7.打开配置文件.env,将钱包地址，加密后的私钥复制到配置文件中。data 放入需要打的json字符串即可。#可配置的内容 #请求节点路径 rpc_url...]]></description>
            <content:encoded><![CDATA[<p>1.下载代码地址：</p><p><a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://github.com/Even521/Mint-Tools">https://github.com/Even521/Mint-Tools</a></p><p>2.如果你不会使用git，请下载ZIP文件，如图所示</p><figure float="none" data-type="figure" class="img-center" style="max-width: null;"><img src="https://storage.googleapis.com/papyrus_images/9703a753285d056c560041ac21456225a4f32bf62c0825d2ea042be8d84f4343.png" alt="" blurdataurl="data:image/gif;base64,R0lGODlhAQABAIAAAP///wAAACwAAAAAAQABAAACAkQBADs=" nextheight="600" nextwidth="800" class="image-node embed"><figcaption HTMLAttributes="[object Object]" class="hide-figcaption"></figcaption></figure><p>3.解压到D盘，win+R 打开 输入cmd，进入代码目录</p><pre data-type="codeBlock" text="pip install eth_account
pip install web3
pip install load_dotenv
python main.py
"><code>pip install eth_account
pip install web3
pip install load_dotenv
python main.py
</code></pre><figure float="none" data-type="figure" class="img-center" style="max-width: null;"><img src="https://storage.googleapis.com/papyrus_images/9ceafb8efdb049c2a4bd9f53fd95316c49fa3abc80aa1cf6004e3a2dd1103f96.png" alt="" blurdataurl="data:image/gif;base64,R0lGODlhAQABAIAAAP///wAAACwAAAAAAQABAAACAkQBADs=" nextheight="600" nextwidth="800" class="image-node embed"><figcaption HTMLAttributes="[object Object]" class="hide-figcaption"></figcaption></figure><p>4.输入1表示，创建一个新钱包，这里的加密后的助记词、私钥会生成在resource目录下的wallet.txt文件中</p><figure float="none" data-type="figure" class="img-center" style="max-width: null;"><img src="https://storage.googleapis.com/papyrus_images/496c89230496165cdbc9b98704241916ea14b9cfeb5912194cce3eac716c913d.png" alt="" blurdataurl="data:image/gif;base64,R0lGODlhAQABAIAAAP///wAAACwAAAAAAQABAAACAkQBADs=" nextheight="600" nextwidth="800" class="image-node embed"><figcaption HTMLAttributes="[object Object]" class="hide-figcaption"></figcaption></figure><p>5.解密助记词、私钥，操作输入3，把上面的得到助记词、私钥备份。为了安全请抄写到纸质笔记本上备份助记词、私钥。</p><figure float="none" data-type="figure" class="img-center" style="max-width: null;"><img src="https://storage.googleapis.com/papyrus_images/a3e73c1740b05e54eca0d91defea5a669a446ae4d1965c2cb5636bae5b6f227e.png" alt="" blurdataurl="data:image/gif;base64,R0lGODlhAQABAIAAAP///wAAACwAAAAAAQABAAACAkQBADs=" nextheight="600" nextwidth="800" class="image-node embed"><figcaption HTMLAttributes="[object Object]" class="hide-figcaption"></figcaption></figure><p>6.这里解释一下为什么需要将私钥加密，网上很多脚本直接把私钥暴露在配置文件中是很不安全的。程序执行都需要你的密码才会执行，这里提高了安全程度。加密方法采用pbeWithMd5Des比较通用的方法。详情请参考pbeWithMd5Des.py文件。</p><p>7.打开配置文件.env,将钱包地址，加密后的私钥复制到配置文件中。data 放入需要打的json字符串即可。</p><pre data-type="codeBlock" text="#可配置的内容
#请求节点路径
rpc_url={&quot;polygon&quot;:&quot;https://1rpc.io/matic&quot;,&quot;bsc&quot;:&quot;https://1rpc.io/bnb&quot;}
#链的ID
chain_id={&quot;polygon&quot;:137,&quot;bsc&quot;:56}


#是否限制gas, 这里根据不同链的gas 当低于多少gas时候才会执行mint 否则等待中
gas_limit = 

#提升速度,出价gas=当前gas乘以multiple (你出价越高被打包速度越快)
multiple= 1.049
#需要配置的内容
#延迟时间（s）
delay = 0
#mint数量，如果值为空则为无限数量
num =
#链
chainName = &quot;polygon&quot;
#参数
data = {&quot;p&quot;:&quot;oft-20&quot;,&quot;op&quot;:&quot;mint&quot;,&quot;tick&quot;:&quot;ofts&quot;,&quot;amt&quot;:&quot;1000&quot;}
#钱包地址
account_address = &apos;0x28fe083168ada66f596B9C371C24AD4940eb41da&apos;
#加密后的私钥
account_private_key = &apos;rvRbhzR8gdsRpMwqvlRJWgFJ3rnkcVuuBju5MlQul2IY6jxkHQSzd2Nn3xyRb7gbxVttcJXmPYELz6cksczHX0B3L0jTVYsOrwRbvhLHMO+zZ314wIvd9w==&apos;
"><code><span class="hljs-comment">#可配置的内容</span>
<span class="hljs-comment">#请求节点路径</span>
<span class="hljs-attr">rpc_url</span>={<span class="hljs-string">"polygon"</span>:<span class="hljs-string">"https://1rpc.io/matic"</span>,<span class="hljs-string">"bsc"</span>:<span class="hljs-string">"https://1rpc.io/bnb"</span>}
<span class="hljs-comment">#链的ID</span>
<span class="hljs-attr">chain_id</span>={<span class="hljs-string">"polygon"</span>:<span class="hljs-number">137</span>,<span class="hljs-string">"bsc"</span>:<span class="hljs-number">56</span>}


<span class="hljs-comment">#是否限制gas, 这里根据不同链的gas 当低于多少gas时候才会执行mint 否则等待中</span>
gas_limit = 

<span class="hljs-comment">#提升速度,出价gas=当前gas乘以multiple (你出价越高被打包速度越快)</span>
<span class="hljs-attr">multiple</span>= <span class="hljs-number">1.049</span>
<span class="hljs-comment">#需要配置的内容</span>
<span class="hljs-comment">#延迟时间（s）</span>
<span class="hljs-attr">delay</span> = <span class="hljs-number">0</span>
<span class="hljs-comment">#mint数量，如果值为空则为无限数量</span>
num =
<span class="hljs-comment">#链</span>
<span class="hljs-attr">chainName</span> = <span class="hljs-string">"polygon"</span>
<span class="hljs-comment">#参数</span>
<span class="hljs-attr">data</span> = {<span class="hljs-string">"p"</span>:<span class="hljs-string">"oft-20"</span>,<span class="hljs-string">"op"</span>:<span class="hljs-string">"mint"</span>,<span class="hljs-string">"tick"</span>:<span class="hljs-string">"ofts"</span>,<span class="hljs-string">"amt"</span>:<span class="hljs-string">"1000"</span>}
<span class="hljs-comment">#钱包地址</span>
<span class="hljs-attr">account_address</span> = <span class="hljs-string">'0x28fe083168ada66f596B9C371C24AD4940eb41da'</span>
<span class="hljs-comment">#加密后的私钥</span>
<span class="hljs-attr">account_private_key</span> = <span class="hljs-string">'rvRbhzR8gdsRpMwqvlRJWgFJ3rnkcVuuBju5MlQul2IY6jxkHQSzd2Nn3xyRb7gbxVttcJXmPYELz6cksczHX0B3L0jTVYsOrwRbvhLHMO+zZ314wIvd9w=='</span>
</code></pre><p>8.配置好.env文件，重新启动程序即可执行main.py文件 可以执行批量铸造</p><figure float="none" data-type="figure" class="img-center" style="max-width: null;"><img src="https://storage.googleapis.com/papyrus_images/b1b5eb2f6d7657e00e2a3e20b81bcabca54aabeafbac89f5a423ea2f73bcc9f8.png" alt="" blurdataurl="data:image/gif;base64,R0lGODlhAQABAIAAAP///wAAACwAAAAAAQABAAACAkQBADs=" nextheight="600" nextwidth="800" class="image-node embed"><figcaption HTMLAttributes="[object Object]" class="hide-figcaption"></figcaption></figure>]]></content:encoded>
            <author>arant@newsletter.paragraph.com (arant.eth)</author>
        </item>
        <item>
            <title><![CDATA[批量Mint 20代码之python安装（一）]]></title>
            <link>https://paragraph.com/@arant/mint-20-python</link>
            <guid>pVTEhxbl2iqVHShyn28p</guid>
            <pubDate>Sun, 19 Nov 2023 04:16:01 GMT</pubDate>
            <description><![CDATA[1.官方下载地址： https://www.python.org/ 2.windows安装3.下载python3.9版本4.自定义安装5.安装完成后测试WIN+R6.输入python ，显示版本号则表示安装成功]]></description>
            <content:encoded><![CDATA[<p><strong>1.官方下载地址：</strong></p><p><a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://www.python.org/">https://www.python.org/</a></p><p><strong>2.windows安装</strong></p><figure float="none" data-type="figure" class="img-center" style="max-width: null;"><img src="https://storage.googleapis.com/papyrus_images/24087727a3c0f5eebe967b77db9f37cc529ce1622ce63b2d1ad000ec5776d5c1.png" alt="" blurdataurl="data:image/gif;base64,R0lGODlhAQABAIAAAP///wAAACwAAAAAAQABAAACAkQBADs=" nextheight="600" nextwidth="800" class="image-node embed"><figcaption HTMLAttributes="[object Object]" class="hide-figcaption"></figcaption></figure><p><strong>3.下载python3.9版本</strong></p><figure float="none" data-type="figure" class="img-center" style="max-width: null;"><img src="https://storage.googleapis.com/papyrus_images/2de9a10b5d857486b5ffade4065a230538201ba72b74d938277a39f3c65bc7b4.png" alt="" blurdataurl="data:image/gif;base64,R0lGODlhAQABAIAAAP///wAAACwAAAAAAQABAAACAkQBADs=" nextheight="600" nextwidth="800" class="image-node embed"><figcaption HTMLAttributes="[object Object]" class="hide-figcaption"></figcaption></figure><p><strong>4.自定义安装</strong></p><figure float="none" data-type="figure" class="img-center" style="max-width: null;"><img src="https://storage.googleapis.com/papyrus_images/629d9f8f18dc9d5892ef025a926722c2c3f1b218cde0ba2040df651ce09e4e31.png" alt="" blurdataurl="data:image/gif;base64,R0lGODlhAQABAIAAAP///wAAACwAAAAAAQABAAACAkQBADs=" nextheight="600" nextwidth="800" class="image-node embed"><figcaption HTMLAttributes="[object Object]" class="hide-figcaption"></figcaption></figure><figure float="none" data-type="figure" class="img-center" style="max-width: null;"><img src="https://storage.googleapis.com/papyrus_images/d3d8e337e4e7b087a55fe12f0862378f5e8453afb85fb64e80b8c8064309a123.png" alt="" blurdataurl="data:image/gif;base64,R0lGODlhAQABAIAAAP///wAAACwAAAAAAQABAAACAkQBADs=" nextheight="600" nextwidth="800" class="image-node embed"><figcaption HTMLAttributes="[object Object]" class="hide-figcaption"></figcaption></figure><figure float="none" data-type="figure" class="img-center" style="max-width: null;"><img src="https://storage.googleapis.com/papyrus_images/a3001e3b47545a8847dcf9f837e9621eafca69638501a8a07d9ff945f0dacb33.png" alt="" blurdataurl="data:image/gif;base64,R0lGODlhAQABAIAAAP///wAAACwAAAAAAQABAAACAkQBADs=" nextheight="600" nextwidth="800" class="image-node embed"><figcaption HTMLAttributes="[object Object]" class="hide-figcaption"></figcaption></figure><p><strong>5.安装完成后测试WIN+R</strong></p><figure float="none" data-type="figure" class="img-center" style="max-width: null;"><img src="https://storage.googleapis.com/papyrus_images/9934dd581eeb489823b02e5715ef0b50d34ff0e68ad790f274c5218d67b64872.png" alt="" blurdataurl="data:image/gif;base64,R0lGODlhAQABAIAAAP///wAAACwAAAAAAQABAAACAkQBADs=" nextheight="600" nextwidth="800" class="image-node embed"><figcaption HTMLAttributes="[object Object]" class="hide-figcaption"></figcaption></figure><p><strong>6.输入python ，显示版本号则表示安装成功</strong></p><figure float="none" data-type="figure" class="img-center" style="max-width: null;"><img src="https://storage.googleapis.com/papyrus_images/a8d90c7111b3e4537089e21185218f8d3ecfeede2f21895c5332cd560b467017.png" alt="" blurdataurl="data:image/gif;base64,R0lGODlhAQABAIAAAP///wAAACwAAAAAAQABAAACAkQBADs=" nextheight="600" nextwidth="800" class="image-node embed"><figcaption HTMLAttributes="[object Object]" class="hide-figcaption"></figcaption></figure>]]></content:encoded>
            <author>arant@newsletter.paragraph.com (arant.eth)</author>
        </item>
        <item>
            <title><![CDATA[BTC RPC请求]]></title>
            <link>https://paragraph.com/@arant/btc-rpc</link>
            <guid>ZF15gfeS8aKROy37WVXI</guid>
            <pubDate>Fri, 14 Apr 2023 08:30:00 GMT</pubDate>
            <description><![CDATA[BTC RPC接口文档开发地址，参考文档如下： https://developer.bitcoin.org/reference/rpc/ getblock是比特币核心（Bitcoin Core）RPC命令之一，用于检索区块链中特定区块的信息。 要使用getblock命令，您可以使用类似于curl的工具向比特币核心服务器发出RPC请求。以下是一个示例curl命令，用于检索哈希为0000000000000000000c7b05f076d1b7a8b1035f5c2dcefa20c18e5ed5b5eaf6的区块的信息：curl --user myusername:mypassword --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getblock", "params": ["0000000000000000000c7b05f076d1b7a8b1035f5c2dcefa20c18e5ed5b5eaf6"] }' -H 'content-type: text/plain;' http://127.0.0.1:...]]></description>
            <content:encoded><![CDATA[<p>BTC RPC接口文档开发地址，参考文档如下：</p><p><a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://developer.bitcoin.org/reference/rpc/">https://developer.bitcoin.org/reference/rpc/</a></p><p><code>getblock</code>是比特币核心（Bitcoin Core）RPC命令之一，用于检索区块链中特定区块的信息。</p><p>要使用<code>getblock</code>命令，您可以使用类似于<code>curl</code>的工具向比特币核心服务器发出RPC请求。以下是一个示例<code>curl</code>命令，用于检索哈希为<code>0000000000000000000c7b05f076d1b7a8b1035f5c2dcefa20c18e5ed5b5eaf6</code>的区块的信息：</p><pre data-type="codeBlock" text="curl --user myusername:mypassword --data-binary &apos;{&quot;jsonrpc&quot;: &quot;1.0&quot;, &quot;id&quot;:&quot;curltest&quot;, &quot;method&quot;: &quot;getblock&quot;, &quot;params&quot;: [&quot;0000000000000000000c7b05f076d1b7a8b1035f5c2dcefa20c18e5ed5b5eaf6&quot;] }&apos; -H &apos;content-type: text/plain;&apos; http://127.0.0.1:8332/
"><code>curl --user myusername:mypassword --data-binary '{<span class="hljs-string">"jsonrpc"</span>: <span class="hljs-string">"1.0"</span>, <span class="hljs-string">"id"</span>:<span class="hljs-string">"curltest"</span>, <span class="hljs-string">"method"</span>: <span class="hljs-string">"getblock"</span>, <span class="hljs-string">"params"</span>: [<span class="hljs-string">"0000000000000000000c7b05f076d1b7a8b1035f5c2dcefa20c18e5ed5b5eaf6"</span>] }' -H <span class="hljs-symbol">'content</span>-<span class="hljs-keyword">type</span>: text/plain;' http:<span class="hljs-comment">//127.0.0.1:8332/</span>
</code></pre><p>在此命令中，您需要将<code>myusername</code>和<code>mypassword</code>替换为您的RPC用户名和密码。您还需要修改<code>params</code>参数以指定您要检索信息的区块哈希。</p><p>请注意，此命令假定您在本地运行比特币核心节点，并且RPC服务器在默认端口8332上运行。如果您连接到远程服务器或使用非默认端口，则需要相应地修改命令。</p><p><code>getblock</code>命令返回一个包含特定区块信息的JSON对象，其中包含以下字段：</p><ul><li><p><code>hash</code>：区块的哈希值</p></li><li><p><code>confirmations</code>：该区块已被确认的区块数</p></li><li><p><code>size</code>：该区块在字节中的大小</p></li><li><p><code>strippedsize</code>：该区块的剥离大小</p></li><li><p><code>weight</code>：该区块的重量，以WU（Weight Unit）为单位</p></li><li><p><code>height</code>：该区块的高度</p></li><li><p><code>version</code>：该区块的版本号</p></li><li><p><code>versionHex</code>：该区块版本号的十六进制表示</p></li><li><p><code>merkleroot</code>：该区块的merkle根哈希值</p></li><li><p><code>tx</code>：一个包含该区块中所有交易的数组</p></li><li><p><code>time</code>：该区块的时间戳</p></li><li><p><code>mediantime</code>：该区块时间戳的中位数</p></li><li><p><code>nonce</code>：该区块的随机数值</p></li><li><p><code>bits</code>：该区块难度目标的编码表示</p></li><li><p><code>difficulty</code>：该区块的难度目标</p></li><li><p><code>chainwork</code>：该区块累计难度值</p></li><li><p><code>previousblockhash</code>：前一个区块的哈希值</p></li><li><p><code>nextblockhash</code>：下一个区块的哈希值（如果存在）</p></li></ul><p>请注意，返回的字段可能会因比特币核心版本的不同而有所不同。如果您使用的是不同版本的比特币核心，请查看相应版本的文档以了解该版本的<code>getblock</code>命令返回哪些字段。</p>]]></content:encoded>
            <author>arant@newsletter.paragraph.com (arant.eth)</author>
        </item>
        <item>
            <title><![CDATA[Ordinals搭建全节点教程]]></title>
            <link>https://paragraph.com/@arant/ordinals</link>
            <guid>Nwv8sRCy0XAdAIjPwnwQ</guid>
            <pubDate>Fri, 17 Mar 2023 17:13:21 GMT</pubDate>
            <description><![CDATA[1.硬件条件 1T固态硬盘，不推荐使用机械硬盘，同步数据太慢。 2.需要安装软件： 操作系统：建议使用window10系统，苹果系统好几个朋友都出现各种问题。钱包版本问题，浪费很长时间同步最后都放弃。 BTC全节点钱包：下载 BitcoinCore https://bitcoincore.org/en/download/下载最新版本的钱包下载完成后执行安装程序选择安装钱包文件夹，不建议放在默认C盘里。 默认安装安装完成修改安装目录，将目录放在1TB硬盘中。将区块链存储限制一定得去掉，因为我们需要同步全节点的数据。如下图需要500G，所有需要1T的硬盘。然后等待区块同步，大概需要10到20个小时左右。 同步完成后打开，btc文件下btccoin.conf文件 中#tindex=1 找到窗口→控制台→输入获取区块高度信息 输入getindexinfo 同步区块高度。 安装ordinals 下载ordinals钱包：在github上找到最新版本下载。 https://github.com/casey/ord/ 下载解压完成后，需要配置环境变量。 在安装目录下指定钱包环境变量。打开命令窗...]]></description>
            <content:encoded><![CDATA[<p><strong>1.硬件条件</strong></p><p>1T固态硬盘，不推荐使用机械硬盘，同步数据太慢。</p><p><strong>2.需要安装软件：</strong></p><p>操作系统：建议使用window10系统，苹果系统好几个朋友都出现各种问题。钱包版本问题，浪费很长时间同步最后都放弃。</p><p>BTC全节点钱包：下载 BitcoinCore</p><p><a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://bitcoincore.org/en/download/">https://bitcoincore.org/en/download/</a></p><figure float="none" data-type="figure" class="img-center" style="max-width: null;"><img src="https://storage.googleapis.com/papyrus_images/1aae147d69bc5d6159daa9838fb77ea296ef317d161faf738f8519c64d8c0afc.png" alt="下载最新版本的钱包" blurdataurl="data:image/gif;base64,R0lGODlhAQABAIAAAP///wAAACwAAAAAAQABAAACAkQBADs=" nextheight="600" nextwidth="800" class="image-node embed"><figcaption HTMLAttributes="[object Object]" class="">下载最新版本的钱包</figcaption></figure><p>下载完成后执行安装程序</p><figure float="none" data-type="figure" class="img-center" style="max-width: null;"><img src="https://storage.googleapis.com/papyrus_images/97864bab98929e3b0235846c031b05880a0c0523c0a9318c39adb495a0d35773.png" alt="" blurdataurl="data:image/gif;base64,R0lGODlhAQABAIAAAP///wAAACwAAAAAAQABAAACAkQBADs=" nextheight="600" nextwidth="800" class="image-node embed"><figcaption HTMLAttributes="[object Object]" class="hide-figcaption"></figcaption></figure><p>选择安装钱包文件夹，不建议放在默认C盘里。</p><p>默认安装</p><figure float="none" data-type="figure" class="img-center" style="max-width: null;"><img src="https://storage.googleapis.com/papyrus_images/f2adb19d0c0f5700ba52aa392593143d27700b5df9e5c7360ebf7606959b8f43.png" alt="" blurdataurl="data:image/gif;base64,R0lGODlhAQABAIAAAP///wAAACwAAAAAAQABAAACAkQBADs=" nextheight="600" nextwidth="800" class="image-node embed"><figcaption HTMLAttributes="[object Object]" class="hide-figcaption"></figcaption></figure><p>安装完成</p><figure float="none" data-type="figure" class="img-center" style="max-width: null;"><img src="https://storage.googleapis.com/papyrus_images/d496255dc1ea8555c9a4a24419eccaf1047583f8fe9f76387d90d074ddff5459.png" alt="" blurdataurl="data:image/gif;base64,R0lGODlhAQABAIAAAP///wAAACwAAAAAAQABAAACAkQBADs=" nextheight="600" nextwidth="800" class="image-node embed"><figcaption HTMLAttributes="[object Object]" class="hide-figcaption"></figcaption></figure><p>修改安装目录，将目录放在1TB硬盘中。将区块链存储限制一定得去掉，因为我们需要同步全节点的数据。如下图需要500G，所有需要1T的硬盘。</p><figure float="none" data-type="figure" class="img-center" style="max-width: null;"><img src="https://storage.googleapis.com/papyrus_images/e15d2e9f2821d2e3d23a65cba4789238beccf104eb00c944d6ad4d5e0faaf53f.png" alt="" blurdataurl="data:image/gif;base64,R0lGODlhAQABAIAAAP///wAAACwAAAAAAQABAAACAkQBADs=" nextheight="600" nextwidth="800" class="image-node embed"><figcaption HTMLAttributes="[object Object]" class="hide-figcaption"></figcaption></figure><p>然后等待区块同步，大概需要10到20个小时左右。</p><p>同步完成后打开，btc文件下btccoin.conf文件 中#<code>tindex=1</code></p><p>找到窗口→控制台→输入获取区块高度信息 输入getindexinfo 同步区块高度。</p><p><strong>安装ordinals</strong></p><p>下载ordinals钱包：在github上找到最新版本下载。</p><p><a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://github.com/casey/ord/">https://github.com/casey/ord/</a></p><p>下载解压完成后，需要配置环境变量。</p><p>在安装目录下指定钱包环境变量。</p><figure float="none" data-type="figure" class="img-center" style="max-width: null;"><img src="https://storage.googleapis.com/papyrus_images/425a6f8ce6e31dbef80dfedd1f93a3a13bc7367ce8ebab0c317af08de9f3bbf7.png" alt="" blurdataurl="data:image/gif;base64,R0lGODlhAQABAIAAAP///wAAACwAAAAAAQABAAACAkQBADs=" nextheight="600" nextwidth="800" class="image-node embed"><figcaption HTMLAttributes="[object Object]" class="hide-figcaption"></figcaption></figure><p>打开命令窗口：输入 ord --version 可以看到版本号，安装成功。</p><figure float="none" data-type="figure" class="img-center" style="max-width: null;"><img src="https://storage.googleapis.com/papyrus_images/2d66eda239ba15a68ab632f3353e7e7683f4516a34bd6f2e5078e7805f28836a.png" alt="" blurdataurl="data:image/gif;base64,R0lGODlhAQABAIAAAP///wAAACwAAAAAAQABAAACAkQBADs=" nextheight="600" nextwidth="800" class="image-node embed"><figcaption HTMLAttributes="[object Object]" class="hide-figcaption"></figcaption></figure><p>创建一个BTC钱包：</p><p>在btc安装目录下创建一个自己的钱包ordWallet，切记一定要保管好自己的钱包。</p><pre data-type="codeBlock" text="ord --wallet ordWallet -bitcoin-data-dir E:\BitCoinData wallet create
"><code>ord <span class="hljs-operator">-</span><span class="hljs-operator">-</span>wallet ordWallet <span class="hljs-operator">-</span>bitcoin<span class="hljs-operator">-</span>data<span class="hljs-operator">-</span>dir E:\BitCoinData wallet create
</code></pre><p>由于ord需要全部index，在bitCoinData目录下创建一个inedxe文件。 会有一个index.redb文件。（这个需要很久，也可以直接在github 上找一个最近的时间的下载来了就不需要从0块开始同步了）</p><p>ord --cookie-file &quot;E:\btc\Bitcoin.cookie&quot; --data-dir &quot;E:\btc\Bitcoin\inedxe&quot; index</p><figure float="none" data-type="figure" class="img-center" style="max-width: null;"><img src="https://storage.googleapis.com/papyrus_images/4e4c4f46cb5ad035cb1407aa2f87b32872a2a418d20bf016d8bb2043391f1dfc.png" alt="" blurdataurl="data:image/gif;base64,R0lGODlhAQABAIAAAP///wAAACwAAAAAAQABAAACAkQBADs=" nextheight="600" nextwidth="800" class="image-node embed"><figcaption HTMLAttributes="[object Object]" class="hide-figcaption"></figcaption></figure><p>查看一些常用的帮助命令：</p><p>ord --cookie-file “e:\btc\Bitcoin\.cookie” data-dir “E:\btc\Bitcoin\index” --wallet ordWallet --help</p><figure float="none" data-type="figure" class="img-center" style="max-width: null;"><img src="https://storage.googleapis.com/papyrus_images/83ea21301d34ae97930e2e146a49cc40e32cfdcfb494f51b774fd724849ac33d.png" alt="" blurdataurl="data:image/gif;base64,R0lGODlhAQABAIAAAP///wAAACwAAAAAAQABAAACAkQBADs=" nextheight="600" nextwidth="800" class="image-node embed"><figcaption HTMLAttributes="[object Object]" class="hide-figcaption"></figcaption></figure><p>想查询每一个命令如下：</p><p>ord --cookie-file “E:\btc\Bitcoin\.cookie” data-dir “E:\btc\Bitcoin\index” --wallet ordWallet inscribe -h</p><p>环境已经搭建完成了，需要反复去读Ordinals的帮助文档。避免浪费btc出错，建议读文档了解原理后才开始自己的第一个 inscribe</p><p><strong>Ordinals 帮助文档：</strong></p><p><a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://docs.ordinals.com/">https://docs.ordinals.com/</a></p>]]></content:encoded>
            <author>arant@newsletter.paragraph.com (arant.eth)</author>
        </item>
        <item>
            <title><![CDATA[Hello web3.0]]></title>
            <link>https://paragraph.com/@arant/hello-web3-0</link>
            <guid>AOFOuf9VaXKvIW3LvJxi</guid>
            <pubDate>Wed, 02 Mar 2022 12:14:05 GMT</pubDate>
            <description><![CDATA[Let’s go !]]></description>
            <content:encoded><![CDATA[<p>Let’s go !</p>]]></content:encoded>
            <author>arant@newsletter.paragraph.com (arant.eth)</author>
        </item>
    </channel>
</rss>