
分享领取POAP的脚本
最近迷上领取POAP,所以写了一个领取POAP的脚本
脚本地址:https://github.com/ericet/poap
脚本是基于https://github.com/waxcloud2021 的代码进行编写
设置
安装node和git,要求nodejs版本不低于12.16.0
从github上复制代码
1 | git clone https://github.com/ericet/poap.git |
- 安装运行脚本需要的依赖包
1 | npm install |
喂投式claim POAP js脚本
- 复制钱包地址到address_list.txt文件。每行一个地址
1 | 0xdeaddeaddeaddeaddeaddeaddeaddeaddeaddead |
- 复制通过POAP-bot或https://poap.website/xxxxxxxxxx 得到claim POAP的6位code(qr_hash)或是带有code的URL到claim_list.txt
比如:
1 | http://poap.xyz/claim/twa7nm |
- 运行脚本
1 | node claim |
POAP-bot获取code 自动化脚本
- 用浏览器打开 https://discord.com/login 登录你的discord帐号,登录成功后在你的主页里选中POAP-bot,这时浏览器的URL会显示 https://discord.com/channels/@me/xxxxxxxxxxxxxxxxxx (18位数字),记下这18位数字(频道id)
(在主页里添加POAP-bot步骤略)
- 编辑discord.txt文件, 加入1行
1 | 帐号1|密码1|上面的18位数字 |
如果想在命令行指定帐号密码, 密码1处替换成*
如果有多个discord帐号,重复6、7步,最终生成一个完整的discord.txt文件。此操作只需做一次
用和步骤6同一台电脑同一个IP运行脚本(避免脚本登录时出现captcha required错误)
1 | node discord 暗语 |
脚本依次登录discord.txt文件里帐号并向POAP-bot发送暗语以获得领取POAP的code. 获取POAP claim code后,脚本会自动领取POAP
- 如果脚本在登录某账号时出现captcha required错误,目前没有好的解决方案,需要人工多次登录,直到discord不再要求captcha验证(?)
- Thanks for your appreciation. / 感谢您的赞赏
List of appreciation
Because of your support, I realize the value of writing articles. / 由于您的支持,我才能够实现写作的价值。
This piece of writing is an original article, utilizing theCC BY-NC-SA 4.0Agreement. For complete reproduction, please acknowledge the source as Courtesy ofERICET
Comment ()