基于区块链的毕业设计python-ethermine – 蟒蛇乙胺

本文提供基于区块链的毕业设计国外最新区块链项目源码下载,包括solidity,eth,fabric等blockchain区块链,基于区块链的毕业设计python-ethermine – 蟒蛇乙胺 是一篇很好的国外资料

python-ethermine

python-ethermine - 蟒蛇乙胺 python-ethermine - 蟒蛇乙胺 python-ethermine - 蟒蛇乙胺 python-ethermine - 蟒蛇乙胺

What it is

An API Wrapper for the Ethermine API. Easily allows you to create a client and access the data for your mining operation

How to use it

from python_ethermine import EthermineClient  WORKER = "sanyi" ETH_ADDRESS = "0xEA674fdDe714fd979de3EdF0F56AA9716B898ec8"  client = EthermineClient()  # Miner Tests dashboard = client.Miner.get_dashboard(address=ETH_ADDRESS) history = client.Miner.get_history(address=ETH_ADDRESS) payouts = client.Miner.get_payouts(address=ETH_ADDRESS) rounds = client.Miner.get_rounds(address=ETH_ADDRESS) settings = client.Miner.get_settings(address=ETH_ADDRESS) statistics = client.Miner.get_statistics(address=ETH_ADDRESS)  # Worker tests all_worker_stats = client.Worker.get_all_worker_stats(address=ETH_ADDRESS) individual_worker_stats = client.Worker.get_individual_worker_stats(address=ETH_ADDRESS, worker=WORKER) individual_historical_worker_stats = client.Worker.get_individual_historical_worker_stats(address=ETH_ADDRESS, worker=WORKER)  # Pool stats basic_pool_stats = client.Pool.get_basic_pool_stats() mined_blocks_stats = client.Pool.get_mined_blocks_stats() network_statistics = client.Pool.get_network_statistics() server_hashrate_stats = client.Pool.get_server_hashrate_stats()  

The latest version

The current version of this program is written for Python 3.8

Licensing

Copyright 2021 Carl Argabright

Licensed under the Apache License, Version 2.0 (the “License”); you may not use this file except in compliance with the License. You may obtain a copy of the License at

   http://www.apache.org/licenses/LICENSE-2.0 

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an “AS IS” BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Contact

[email protected]

Merge pull request


python ethermine

python-ethermine - 蟒蛇乙胺python-ethermine - 蟒蛇乙胺<python-ethermine>python-ethermine - 蟒蛇乙胺

它是什么

以太敏API的API包装。轻松创建客户端并访问挖掘操作的数据

如何使用它

from python_ethermine import EthermineClient  WORKER = "sanyi" ETH_ADDRESS = "0xEA674fdDe714fd979de3EdF0F56AA9716B898ec8"  client = EthermineClient()  # Miner Tests dashboard = client.Miner.get_dashboard(address=ETH_ADDRESS) history = client.Miner.get_history(address=ETH_ADDRESS) payouts = client.Miner.get_payouts(address=ETH_ADDRESS) rounds = client.Miner.get_rounds(address=ETH_ADDRESS) settings = client.Miner.get_settings(address=ETH_ADDRESS) statistics = client.Miner.get_statistics(address=ETH_ADDRESS)  # Worker tests all_worker_stats = client.Worker.get_all_worker_stats(address=ETH_ADDRESS) individual_worker_stats = client.Worker.get_individual_worker_stats(address=ETH_ADDRESS, worker=WORKER) individual_historical_worker_stats = client.Worker.get_individual_historical_worker_stats(address=ETH_ADDRESS, worker=WORKER)  # Pool stats basic_pool_stats = client.Pool.get_basic_pool_stats() mined_blocks_stats = client.Pool.get_mined_blocks_stats() network_statistics = client.Pool.get_network_statistics() server_hashrate_stats = client.Pool.get_server_hashrate_stats()  

最新版本

此程序的当前版本是为Python 3.8编写的

许可

版权所有2021 Carl Argabright

根据Apache许可证2.0版(“许可证”)获得许可;除非遵守许可证,否则不得使用此文件。您可以在

   http://www.apache.org/licenses/LICENSE-2.0 

处获得许可证副本,除非适用法律要求或书面同意,否则根据许可证分发的软件是按“原样”分发的,无任何明示或暗示的担保或条件。请参阅许可证,了解管理许可证下权限和限制的特定语言

联系

[email protected]

Merge pull request

部分转自网络,侵权联系删除区块链源码网

www.interchains.cc

https://www.interchains.cc/23952.html

区块链毕设网(www.interchains.cc)全网最靠谱的原创区块链毕设代做网站 部分资料来自网络,侵权联系删除! 最全最大的区块链源码站 ! QQ3039046426
区块链知识分享网, 以太坊dapp资源网, 区块链教程, fabric教程下载, 区块链书籍下载, 区块链资料下载, 区块链视频教程下载, 区块链基础教程, 区块链入门教程, 区块链资源 » 基于区块链的毕业设计python-ethermine – 蟒蛇乙胺

提供最优质的资源集合

立即查看 了解详情