基于区块链的毕业设计hubot-ethereum – hubot以太坊
本文提供基于区块链的毕业设计国外最新区块链项目源码下载,包括solidity,eth,fabric等blockchain区块链,基于区块链的毕业设计hubot-ethereum – hubot以太坊 是一篇很好的国外资料
hubot-ethereum
Hubot script for ethereum network.
dependency
- hubot-redis-brain
Commands available
- add : Attach address to your user
- delete : Delete address from your user
- remove : Alias for delete
- rm : Alias for delete
- list : list addresses from the current user
- balance : Get the balance of the current user
- balance <€ or $> : Get the balance of the current user in the provided currency
- nanopool [balance] : Get nanopool balance of the current user (if the miner has mined something)
- nanopool <€ or $> : Get nanopool balance of the current user in the provided currency
- transaction : List latest transaction of the current user
- check : Get balance from the address provided
- price : value of ethereum
- convert : convert value from currency to another ( default = eth)
- p : alias for price
- version : Print current version of hubot-ethereum
- help : Print this help
- ? : Alias for help
Examples
> {hubot} ethereum add 0x1ee3797c74b516befbb172eb3e306d70e9446d1a > {hubot} ethereum add 0x4e9417353300d7564cb9e9dcf0ed3d3d95fcd6eb > {hubot} ethereum list 0x1ee3797c74b516befbb172eb3e306d70e9446d1a 0x4e9417353300d7564cb9e9dcf0ed3d3d95fcd6eb > {hubot} ethereum price Current value of ether : 11.958€ ($13.420) > {hubot} ethereum balance Adress : [`0x4e9417353300d7564cb9e9dcf0ed3d3d95fcd6eb`] balance : [`3.1348954201224757 ETH`] Adress : [`0x1ee3797c74b516befbb172eb3e306d70e9446d1a`] balance : [`4.362588966914489 ETH`] ------- Total : `7.497` ETH over 2 account(s) > {hubot} ethereum balance € Adress : [`0x1ee3797c74b516befbb172eb3e306d70e9446d1a`] balance : [`51.16522990372733`] Adress : [`0x4e9417353300d7564cb9e9dcf0ed3d3d95fcd6eb`] balance : [`36.76661865492044`] ------- Total : `87.932€` over 2 account(s) > {hubot} ethereum nanopool Adress : [`0x4e9417353300d7564cb9e9dcf0ed3d3d95fcd6eb`] balance : [`0.03725937750699482 ETH`] Adress : [`0x1ee3797c74b516befbb172eb3e306d70e9446d1a`] balance : [`0.0782871532555 ETH`] ------- Total : `0.11554653076249481 ETH` over 2 account(s) > {hubot} ethereum remove 0x4e9417353300d7564cb9e9dcf0ed3d3d95fcd6eb > {hubot} ethereum list 0x1ee3797c74b516befbb172eb3e306d70e9446d1a > {hubot} ethereum check 0x4e9417353300d7564cb9e9dcf0ed3d3d95fcd6eb Balance : 3.1348954201224757 ETH > {hubot} ethereum check 0x4e9417353300d7564cb9e9dcf0ed3d3d95fcd6eb € Balance : 37.796 €
Installation
Download the latest version from npm
npm install hubot-ethereum
Add dependency to your hubot external script: external-scripts.json
[ //.... "hubot-redis-brain", "hubot-ethereum" //.... ]
TODO
- Refactoring
- Tests
- Add multiple pool
- nanopool.org
- ethereumpool
- ethpool
hubot-ethereum
Hubot script for ethereum network.
dependency
- hubot-redis-brain
Commands available
- add : Attach address to your user
- delete : Delete address from your user
- remove : Alias for delete
- rm : Alias for delete
- list : list addresses from the current user
- balance : Get the balance of the current user
- balance <€ or $> : Get the balance of the current user in the provided currency
- nanopool [balance] : Get nanopool balance of the current user (if the miner has mined something)
- nanopool <€ or $> : Get nanopool balance of the current user in the provided currency
- transaction : List latest transaction of the current user
- check : Get balance from the address provided
- price : value of ethereum
- convert : convert value from currency to another ( default = eth)
- p : alias for price
- version : Print current version of hubot-ethereum
- help : Print this help
- ? : Alias for help
Examples
> {hubot} ethereum add 0x1ee3797c74b516befbb172eb3e306d70e9446d1a > {hubot} ethereum add 0x4e9417353300d7564cb9e9dcf0ed3d3d95fcd6eb > {hubot} ethereum list 0x1ee3797c74b516befbb172eb3e306d70e9446d1a 0x4e9417353300d7564cb9e9dcf0ed3d3d95fcd6eb > {hubot} ethereum price Current value of ether : 11.958€ ($13.420) > {hubot} ethereum balance Adress : [`0x4e9417353300d7564cb9e9dcf0ed3d3d95fcd6eb`] balance : [`3.1348954201224757 ETH`] Adress : [`0x1ee3797c74b516befbb172eb3e306d70e9446d1a`] balance : [`4.362588966914489 ETH`] ------- Total : `7.497` ETH over 2 account(s) > {hubot} ethereum balance € Adress : [`0x1ee3797c74b516befbb172eb3e306d70e9446d1a`] balance : [`51.16522990372733`] Adress : [`0x4e9417353300d7564cb9e9dcf0ed3d3d95fcd6eb`] balance : [`36.76661865492044`] ------- Total : `87.932€` over 2 account(s) > {hubot} ethereum nanopool Adress : [`0x4e9417353300d7564cb9e9dcf0ed3d3d95fcd6eb`] balance : [`0.03725937750699482 ETH`] Adress : [`0x1ee3797c74b516befbb172eb3e306d70e9446d1a`] balance : [`0.0782871532555 ETH`] ------- Total : `0.11554653076249481 ETH` over 2 account(s) > {hubot} ethereum remove 0x4e9417353300d7564cb9e9dcf0ed3d3d95fcd6eb > {hubot} ethereum list 0x1ee3797c74b516befbb172eb3e306d70e9446d1a > {hubot} ethereum check 0x4e9417353300d7564cb9e9dcf0ed3d3d95fcd6eb Balance : 3.1348954201224757 ETH > {hubot} ethereum check 0x4e9417353300d7564cb9e9dcf0ed3d3d95fcd6eb € Balance : 37.796 €
Installation
Download the latest version from npm
npm install hubot-ethereum
Add dependency to your hubot external script: external-scripts.json
[ //.... "hubot-redis-brain", "hubot-ethereum" //.... ]
TODO
- Refactoring
- Tests
- Add multiple pool
- nanopool.org
- ethereumpool
- ethpool
部分转自网络,侵权联系删除区块链源码网
区块链毕设网(www.interchains.cc)全网最靠谱的原创区块链毕设代做网站
部分资料来自网络,侵权联系删除!
最全最大的区块链源码站 ! QQ3039046426
区块链知识分享网, 以太坊dapp资源网, 区块链教程, fabric教程下载, 区块链书籍下载, 区块链资料下载, 区块链视频教程下载, 区块链基础教程, 区块链入门教程, 区块链资源 » 基于区块链的毕业设计hubot-ethereum – hubot以太坊
区块链知识分享网, 以太坊dapp资源网, 区块链教程, fabric教程下载, 区块链书籍下载, 区块链资料下载, 区块链视频教程下载, 区块链基础教程, 区块链入门教程, 区块链资源 » 基于区块链的毕业设计hubot-ethereum – hubot以太坊