2

GrinMail (古灵邮) 发布

 3 years ago
source link: https://www.chainnews.com/articles/612848861649.htm
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.

编者按:古灵邮 Grin Mail 是一个通过 邮箱接收 grin 付款的小工具。由 grin 中国社区成员 @ 和平王贺 创造。

代码库 https://github.com/aixinrock/grinmail

GrinMail (古灵邮)

利用邮件系统自动接收 Grin 交易并回传的工具

Grin 交易方式目前分为两种:

1. 一种是直接通过 Tor 由发送方直接发给接收方,但是需要双方都在线;

2. 另一种是通过 slatepack 方式,先由发送方发送 slatepack 数据给接收方,接收方生成回应 slatepack 给发送方,再由发送方提交上链,步骤比较繁琐,没有比特币这种直接往地址上发币那样便捷。

于是便想办法尽量使步骤简化,发送方操作必不可少,那么接收方的操作可不可以实现自动化呢,不需要真人在线接收或者回传 slatepack 数据呢?GrinMail 就是为了解决这个问题而诞生的!!!

发送方将带有 slatepack 数据(以附件形式或直接复制到正文内容中)的邮件发送到接收方的邮箱里,GrinMail 会轮询邮箱接收到的邮件,发现附件中或正文内容中存在 slatepack 数据,便将数据交给 grin-wallet 处理,生成回应 slatepack 数据,发送给邮件发送者,发送方收到回应邮件即可上链提交。接收方全程自动化接收即可收币,不必亲自在线或上手操作,除非出现 BUG (O(∩∩)O 哈哈~估计会不少 (^_^) )。

1.Linux 系统:
下一步会移植 Win 上,Mac 等 Grin 100 美刀暴富了再说 2. 安装 grin-wallet 和 grin node:
点击进入官网下载,可参考官网教程安装、初始化、新建或导入已有钱包。3.Gmail 开启 POP 和 SMTP 服务:

设置 ——> 转发和 POP/IMAP ——> POP 下载 ——> 对从现在起收到的邮件启用 POP ——> 保存更改
(国内需要科学稳定的上网环境,下一步准备支持 QQ 邮箱) 4. 克隆代码:
git clone [email protected]:aixinrock/grinmail.git

  1. 配置文件
    点开 config.ini,输入邮箱账号、邮箱密码和 Grin 钱包密码(即在 grin-wallet 设置的密码) 2.Python 依赖库
    pip install -r requirements.txt3. 运行
    python3 grinmail.py

•商家 / 卖场 / 第三方自助收款服务•交易所充值自动化,只需跟用户注册的邮箱绑定即可•不想动手指的懒人福利套装

测试邮箱:[email protected] 接受小额捐赠
发错索回及问题 bug 反馈请加电报群组:t.me/grinmail


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK