@holger80 也挣够拼的,最新 beempy 同时支持 steem/hive,windows也可用!
首先谢谢 @holger80 为社区的做贡献,我也一直使用其beem项目中的 beempy 命令行工具 作为发帖的首选,特别是在hive硬分叉后,steem/hive两个网络的节点都不太稳定情况下。
今天,@holger80 再次更新 beem 到 0.22.14 版本。Update for beem: beempy installer for windows and beempy as shell
能轻松阅读英文的朋友,可以直接看 @holger80 原文 或项目官网 https://github.com/holgern/beem。
我这里只是简单说明一下我关注的内容。
我这里以使用hive网络为例(使用steem网络也是类似)
使用 conda-forge 更新版本:$ conda update beem
查看版本:
$ beempy --version
beempy, version 0.22.14
查看当前状态:$ beempy config
$ beempy config
| Key | Value |
| default_chain | steem |
| nodes | [ |
| | "https://steemd.minnowsupportproject.org", |
| | "https://steemd.privex.io", |
| | "https://api.justyy.com", |
| | "https://api.steemit.com" |
| | ] |
切换默认网络:$ beempy set default_chain hive
但这时候的节点并没有切换:
$ beempy config
| Key | Value |
| default_chain | hive |
| nodes | [ |
| | "https://steemd.minnowsupportproject.org", |
| | "https://steemd.privex.io", |
| | "https://api.justyy.com", |
| | "https://api.steemit.com" |
| | ] |
切换网络后,要立即更新对应网络的节点:$ beempy updatenodes --hive
此时节点才更新为新网络:
$ beempy config
| Key | Value |
| default_chain | hive |
| nodes | [ |
| | "http://anyx.io", |
| | "https://api.hivekings.com", |
| | "https://api.openhive.network", |
| | "https://api.hive.blog", |
| | "https://techcoderx.com", |
| | "https://rpc.esteem.app", |
| | "https://anyx.io", |
| | "https://hived.privex.io" |
| | ] |
那访问响应速度做个排序:
$ beempy pingnode --sort
| Node | Answer time [ms] |
| https://anyx.io | 298.09 |
| https://api.openhive.network | 466.24 |
| https://hived.privex.io | 497.68 |
| https://rpc.esteem.app | 631.75 |
| https://api.hive.blog | 723.25 |
| https://api.hivekings.com | 799.72 |
| https://techcoderx.com | 907.46 |
| http://anyx.io | 1033.70 |
使用命令行beempy,也可以用参数 -n 直接指定steem/hive网络对应的节点,不容易错。
比如本文发帖到 hive 网络:beempy -n 'https://anyx.io' post -a huaren.news -t '@holger80 也挣够拼的,最新 beempy 同时支持 steem/hive,windows也可用' -p 'beempy20200408' --tags 'hive-105017,cn-reader,cn,wherein,cn-curation,chinese,hive-165526,hive-143316' --community 'mini.topia' postmd/huaren.news.md
本文发帖到 steem 网络 :beempy -n 'https://api.steemit.com' post -a huaren.news -t '@holger80 也挣够拼的,最新 beempy 同时支持 steem/hive,windows也可用' -p 'beempy20200408' --tags 'hive-101145,hive-132971,cn-reader,cn,wherein,chinese,hive-165526,hive-143316,jjm,steemleo,zzan,cn-curation,sct,sct-cn,sct-freeboard,neoxian,palnet,upfundme,lifestyle' --community 'mini.topia' postmd/huaren.news.md
steem: @holger80 也挣够拼的,最新 beempy 同时支持 steem/hive,windows也可用
hive: @holger80 也挣够拼的,最新 beempy 同时支持 steem/hive,windows也可用
备注:请关注steem/hive两个网络上中文社区发展的见证人,欢迎见证人自荐:)
@huarennews 官网 huaren.news,见证人声明贴,用steemconnect投票见证人
备查:steem见证人排名
@huarennews 官网 huaren.news,见证人声明贴,用hivesigner投票见证人
备查:hive见证人排名
@justyy 的SP代理
@team-cn 的SP代理
@cn-trail 的点赞团
@goodreader 的 《以文会友》
@rivalhw 的 《好文天天赞》