eos_faucet
server side:
cd your_working_dir
git clone https://github.com/cryptokylin/eos_faucet.git
cd eos_faucet
open wallet.py, paste account (to create account, transfer tokens) name, wallet name, wallet password accordingly, then save
python clfaucet.py
client side:
you can create at most 1000 accounts per day.
curl http://your_server_ip/create_account?<new_account_name>
you can get 100 tokens each call and max 1000 tokens per day.
curl http://your_server_ip/get_token?<your_account_name>
note:
this code is for test purpose only, you should not use it on eos mainnet with your real account
github:https://github.com/cryptokylin/eos_faucet
版权属于:区块链中文技术社区 / 转载原创者
本文链接:https://bcskill.com/index.php/archives/643.html
相关技术文章仅限于相关区块链底层技术研究,禁止用于非法用途,后果自负!本站严格遵守一切相关法律政策!