<!--
*** Official Duino Coin README
*** by revoxhere, 2019-2022
-->

<a href="https://duinocoin.com">
  <img src="https://github.com/revoxhere/duino-coin/blob/master/Resources/duco.png?raw=true" width="215px" align="right" />
</a>

<h1>
  <a href="https://duinocoin.com">
    <img src="https://github.com/revoxhere/duino-coin/blob/master/Resources/ducobanner.png?raw=true" width="430px" />
  </a>
  <br>
  <a href="https://github.com/revoxhere/duino-coin/blob/master/README.md">
    <img src="https://img.shields.io/badge/English-ff8502.svg?style=for-the-badge" /></a>
  <a href="https://github.com/revoxhere/duino-coin/blob/master/Resources/README_TRANSLATIONS/README_es_LATAM.md">
    <img src="https://img.shields.io/badge/-Espa%C3%B1ol-ff7421?style=for-the-badge" /></a>
  <a href="https://github.com/revoxhere/duino-coin/blob/master/Resources/README_TRANSLATIONS/README_zh_CN.md">
    <img src="https://img.shields.io/badge/简体中文-ff6137.svg?style=for-the-badge" /></a>
  <a href="https://github.com/revoxhere/duino-coin/blob/master/Resources/README_TRANSLATIONS/README_pl_PL.md">
    <img src="https://img.shields.io/badge/Polski-ff4b4c.svg?style=for-the-badge" /></a>
  <a href="https://github.com/revoxhere/duino-coin/blob/master/Resources/README_TRANSLATIONS/README_ru_RU.md">
    <img src="https://img.shields.io/badge/русский-ff3062.svg?style=for-the-badge" /></a>
  <a href="https://github.com/revoxhere/duino-coin/blob/master/Resources/README_TRANSLATIONS/README_tr_TR.md">
    <img src="https://img.shields.io/badge/Türk-ff0079.svg?style=for-the-badge" /></a>
  <a href="https://github.com/revoxhere/duino-coin/blob/master/Resources/README_TRANSLATIONS/README_th_TH.md">
    <img src="https://img.shields.io/badge/-%E0%B9%84%E0%B8%97%E0%B8%A2-ff0092.svg?style=for-the-badge" /></a>
  <a href="https://github.com/revoxhere/duino-coin/blob/master/Resources/README_TRANSLATIONS/README_pt_BR.md">
    <img src="https://img.shields.io/badge/-Portugu%C3%AAs-ff00ad.svg?style=for-the-badge" /></a>
  <a href="https://github.com/revoxhere/duino-coin/blob/master/Resources/README_TRANSLATIONS/README_de_DE.md">
    <img src="https://img.shields.io/badge/-Deutsch-ff00c8.svg?style=for-the-badge" /></a>
  <a href="https://github.com/revoxhere/duino-coin/blob/master/Resources/README_TRANSLATIONS/README_id_ID.md">
    <img src="https://img.shields.io/badge/-bahasa Indonesia-ff0ae3.svg?style=for-the-badge" /></a>
</h1>
<a href="https://wallet.duinocoin.com">
  <img src="https://img.shields.io/badge/Online Wallet-a202ff.svg?style=for-the-badge&logo=Web" /></a>
<a href="https://play.google.com/store/apps/details?id=com.pripun.duinocoin">
  <img src="https://img.shields.io/badge/Android App-eb00cb.svg?style=for-the-badge&logo=Android" /></a>
<a href="https://github.com/revoxhere/duino-coin/blob/gh-pages/assets/whitepaper.pdf">
  <img src="https://img.shields.io/badge/whitepaper-ff0095.svg?style=for-the-badge&logo=Academia" /></a>
<a href="https://youtu.be/im0Tca7EjrA">
  <img src="https://img.shields.io/badge/Video-Watch-ff0064.svg?style=for-the-badge&logo=Youtube" /></a>
<a href="https://discord.gg/kvBkccy">
  <img src="https://img.shields.io/discord/677615191793467402.svg?color=ff283a&label=Discord&logo=Discord&style=for-the-badge" /></a>
<a href="https://github.com/revoxhere/duino-coin/releases/latest">
  <img src="https://img.shields.io/badge/release-latest-ff640a.svg?style=for-the-badge" /></a>
<br>

<h3>
  Duino-Coin 是一种可以使用 Arduinos、ESP8266/32 开发板、Raspberry Pi、计算机等进行挖掘的硬币
  （包括 Wi-Fi 路由器、智能电视、智能手机、智能手表、SBC、MCU 甚至 GPU） 
  </h3>


| 主要特点 | 技术规格 | 支持(超级多) 单板计算机 |
|-|-|-|
| 💻 得到大量平台的支持<br>👥 快速增长的社区<br>💱 易于使用和交换<br>(在 DUCO Exchange、Node-S、JustSwap 上)<br>🌎 随处可用<br>:创新：完全原创和开源项目<br>🌳 对初学者和环保主义者友好<br>💰 经济高效且易于开采 | ⚒️ 算法: DUCO-S1, XXHASH,<br>更多计划（包括PoS） <br>♐ 奖励：“Kolka系统”支持<br>帮助公平奖励矿工<br>⚡ 交易时间：即时<br>🪙 硬币供应：无限<br>(2020 年 12 月之前：350k Duco币)<br>(未来有新的限制计划)<br>🔤 代码: DUCO (ᕲ)<br>🔢 小数：最多 20 | ♾️ Arduinos<br>(Uno, Nano, Mega, Due, Pro Mini, 等等.)<br>📶 ESP8266s<br>(NodeMCU, Wemos, 等等.)<br>📶 ESP32s<br>(ESP-WROOM, ESP32-CAM, 等等.)<br>🍓 Raspberry Pis<br>(1, 2, Zero (W/WH), 3, 4, Pico, 400)<br>🍊 Orange Pis<br>(Zero, Zero 2, PC, Plus, 等等.)<br>⚡ Teensy 4.1 boards |


## 入门

#### 开始使用 Duino-Coin 的最简单方法是为您的操作系统下载 [最新版发行包](https://github.com/revoxhere/duino-coin/releases/latest) .<br>
下载发行版后，解压缩并启动所需的程序。<br>
不需要依赖项。

如果需要帮助，可以查看 <a href="https://duinocoin.com/getting-started">官方入门指南</a>.<br>
常见问题解答和故障排除帮助可以在  [Wikis](https://github.com/revoxhere/duino-coin/wiki)中找到.<br>


### 手动安装

#### Linux

```BASH
sudo apt update
sudo apt install python3 python3-pip git python3-pil python3-pil.imagetk -y # Install dependencies
git clone https://github.com/revoxhere/duino-coin # Clone Duino-Coin repository
cd duino-coin
python3 -m pip install -r requirements.txt # Install pip dependencies
````

After doing this, you are good to go with launching the software (e.g. `python3 PC_Miner.py`).


#### Windows

1. 下载安装[Python 3](https://www.python.org/downloads/) (确保将 Python 和 Pip 添加到您的 PATH)
2. 下载[Duino-Coin仓库](https://github.com/revoxhere/duino-coin/archive/master.zip)
3. 解压缩您下载的 zip 存档并在命令提示符下打开该文件夹
4. 在命令提示符下输入`py -m pip install -r requirements.txt` 来安装所需的pip依赖项

完成此操作后，您就可以启动软件了（只需双击所需的“.py”文件或在命令提示符中键入“py PC_Miner.py”）。

## 社区制作的软件

<details>
  <summary>
    由于该列表变得非常长，因此默认情况下它已折叠。单击此文本以展开它！
  </summary>


  ### Other miners known to work with Duino-Coin:
  *   [DuinoCoinbyLabVIEW](https://github.com/ericddm/DuinoCoinbyLabVIEW) - miner for LabVIEW family by ericddm
  *   [Duino-JS](https://github.com/Hoiboy19/Duino-JS) - a JavaScript miner which you can easily implement in your site by Hoiboy19
  *   [Mineuino](https://github.com/VatsaDev/Mineuino) - website monetizer by VatsaDev
  *   [hauchel's duco-related stuff repository](https://github.com/hauchel/duco/) - Collection of various codes for mining DUCO on other microcontrollers
  *   [duino-coin-php-miner](https://github.com/ricardofiorani/duino-coin-php-miner) Dockerized Miner in PHP by ricardofiorani
  *   [duino-coin-kodi](https://github.com/SandUhrGucker/duino-coin-kodi) - Mining addon for Kodi Media Center by SandUhrGucker
  *   [MineCryptoOnWifiRouter](https://github.com/BastelPichi/MineCryptoOnWifiRouter) - Python script to mine Duino-Coin on routers by BastelPichi
  *   [Duino-Coin_Android_Cluster Miner](https://github.com/DoctorEenot/DuinoCoin_android_cluster) - mine with less connections on multiple devices by DoctorEenot
  *   [ESPython DUCO Miner](https://github.com/fabiopolancoe/ESPython-DUCO-Miner) - MicroPython miner for ESP boards by fabiopolancoe
  *   [DUCO Miner for Nintendo 3DS](https://github.com/BunkerInnovations/duco-3ds) - Python miner for Nintendo 3DS by PhereloHD & HGEpro
  *   [Dockerized DUCO Miner](https://github.com/Alicia426/Dockerized_DUCO_Miner_minimal) - Miner in Docker by Alicia426
  *   [nonceMiner](https://github.com/colonelwatch/nonceMiner) - Fastest Duino-Coin miner available by colonelwatch
  *   [NodeJS-DuinoCoin-Miner](https://github.com/DarkThinking/NodeJS-DuinoCoin-Miner/) - simple NodeJS miner by DarkThinking
  *   [d-cpuminer](https://github.com/phantom32-0/d-cpuminer) - pure C miner by phantom32 & revoxhere
  *   [Go Miner](https://github.com/yippiez/go-miner) by yippiez
  *   [ducominer](https://github.com/its5Q/ducominer) by its5Q
  *   [Unofficial miners directory](https://github.com/revoxhere/duino-coin/tree/master/Unofficial%20miners)
      *   [Julia Miner](https://github.com/revoxhere/duino-coin/blob/master/Unofficial%20miners/Julia_Miner.jl) by revoxhere
      *   [Ruby Miner](https://github.com/revoxhere/duino-coin/blob/master/Unofficial%20miners/Ruby_Miner.rb) by revoxhere
      *   [Minimal Python Miner (DUCO-S1)](https://github.com/revoxhere/duino-coin/blob/master/Unofficial%20miners/Minimal_PC_Miner.py) by revoxhere
      *   [Minimal Python Miner (XXHASH)](https://github.com/revoxhere/duino-coin/blob/master/Unofficial%20miners/Minimal_PC_Miner_XXHASH.py) by revoxhere
      *   [Teensy 4.1 code for Arduino IDE](https://github.com/revoxhere/duino-coin/blob/master/Unofficial%20miners/Teensy_code/Teensy_code.ino) by joaquinbvw

  ### Other tools:
  *   [DuinoCoin-balance-Home-Assistant](https://github.com/NL647/DuinoCoin-balance-Home-Assistant) - addon for home assistant displaying your balance by NL647
  *   [Duino Coin Status Monitor](https://github.com/TSltd/duino_coin) for 128x64 SSD1306 OLED and ESP8266 by TSltd
  *   [ducopanel](https://github.com/ponsato/ducopanel) - a GUI app for controling your Duino-Coin miners by ponsato
  *   [Duino AVR Monitor](https://www.microsoft.com/store/apps/9NJ7HPFSR9V5) - GUI Windows App for monitoring AVR devices mining DUCO by niknak
  *   [Duino-Coin Arduino library](https://github.com/ricaun/arduino-DuinoCoin) by ricaun
  *   [DuinoCoinI2C](https://github.com/ricaun/DuinoCoinI2C) - Use ESP8266/ESP32 as a master for Arduinos by ricaun
  *   [Duino-Coin Mining Dashboard](https://lulaschkas.github.io/duco-mining-dashboard/) and troubleshooting helper by Lulaschkas
  *   [duco-miners](https://github.com/dansinclair25/duco-miners) CLI mining dashboard made by dansinclair25
  *   [Duco-Coin Symbol Icon ttf](https://github.com/SandUhrGucker/Duco-Coin-Symbol-Icon-ttf-.h) by SandUhrGucker
  *   [DUCO Browser Extension](https://github.com/LDarki/DucoExtension) for Chrome and derivatives by LDarki
  *   [DUCO Monitor](https://siunus.github.io/duco-monitor/) account statistics website by siunus
  *   [duino-tools](https://github.com/kyngs/duino-tools) written in Java by kyngs
  *   [Duino Stats](https://github.com/Bilaboz/duino-stats) official Discord bot by Bilaboz
  *   [DuCoWallet](https://github.com/viktor02/DuCoWallet) GUI Wallet by viktor02

  此列表将被积极更新。如果您想将软件添加到此列表中，请提交 PR 或联系其中一位开发人员。
  您也可以在[官网](https://duinocoin.com/apps)上查看类似的列表。
</details>

## DUCO & wDUCO

Duino-Coin 是一种混合货币，意味着它可以转换为 wDUCO，wDUCO 是包裹在 [Tron](https://tron.network) 网络上的 DUCO（作为代币）。目前它的用途并不多，除了只是将资金存储在外部钱包中或将 wDUCO 交换为 JustSwap 上的另一个令牌。 [wDUCO wiki](https://github.com/revoxhere/duino-coin/wiki/wDUCO-tutorial) 中提供了使用 wDUCO 的教程。


## Development

贡献使开源社区成为学习、启发和创造的绝佳场所。<br>
非常感谢您对 Duino-Coin 项目所做的任何贡献。

如何帮助？

*   分叉项目
*   创建您的功能分支
*   提交您的更改
*   确保一切按预期工作
*   打开拉取请求

服务器源代码、API调用文档和为Duino-Coin开发自己的应用程序的官方库在[有用工具](https://github.com/revoxhere/duino-coin/tree/useful-tools)分支中提供.


## 官方测试设备和单板计算机的数据

<details>
  <summary>
    由于该表变得非常长，因此默认情况下它是折叠的。 单击此文本以展开它！
  </summary>

  ### 请注意，目前奖励正在更改为对数并且表格不准确。
  
  | 设备/CPU/SBC/MCU/chip                                     | 平均算力<br>(所有线程)              | 采矿<br>线程       | 耗电<br>       | 每日收益<br>DUCO/day |
  |-----------------------------------------------------------|-----------------------------------|-------------------|----------------|---------------------|
  | Arduino Pro Mini, Uno, Nano etc.<br>(Atmega 328p/pb/16u2) | 196 H/s                           | 1                 | 0.2 W          | 9-10                |
  | Teensy 4.1 (soft cryptography)                            | 80 kH/s                           | 1                 | 0.5 W          | -                   |
  | NodeMCU, Wemos D1 etc.<br>(ESP8266)                       | 9.3 kH/s (160MHz) 4.6 kH/s (80Mhz)| 1                 | 0.6 W          | 6-7                 |
  | ESP32                                                     | 23 kH/s                           | 2                 | 1 W            | 8-9                 |
  | Raspberry Pi Zero                                         | 17 kH/s                           | 1                 | 1.1 W          | -                   |
  | Raspberry Pi 3                                            | 440 kH/s                          | 4                 | 5.1 W          | -                   |
  | Raspberry Pi 4                                            | 1.3 MH/s                          | 4                 | 6.4 W          | -                   |
  | ODROID XU4                                                | 1.0 MH/s                          | 8                 | 5 W            | 9                   |
  | Atomic Pi                                                 | 690 kH/s                          | 4                 | 6 W            | -                   |
  | Orange Pi Zero 2                                          | 740 kH/s                          | 4                 | 2.55 W         | -                   |
  | Khadas Vim 2 Pro                                          | 1.12 MH/s                         | 8                 | 6.2 W          | -                   |
  | Libre Computers Tritium H5CC                              | 480 kH/s                          | 4                 | 5 W            | -                   |
  | Libre Computers Le Potato                                 | 410 kH/s                          | 4                 | 5 W            | -                   |
  | Pine64 ROCK64                                             | 640 kH/s                          | 4                 | 5 W            | -                   |
  | Intel Celeron G1840                                       | 1.25 MH/s                         | 2                 | -              | 5-6                 |
  | Intel Core i5-2430M                                       | 1.18 MH/s                         | 4                 | -              | 6.5                 |
  | Intel Core i5-3230M                                       | 1.52 MH/s                         | 4                 | -              | 7.2                 |
  | Intel Core i5-5350U                                       | 1.35 MH/s                         | 4                 | -              | 6.0                 |
  | Intel Core i5-7200U                                       | 1.62 MH/s                         | 4                 | -              | 7.5                 |
  | Intel Core i5-8300H                                       | 3.67 MH/s                         | 8                 | -              | 9.1                 |   
  | Intel Core i3-4130                                        | 1.45 MH/s                         | 4                 | -              | -                   |
  | AMD Ryzen 5 2600                                          | 4.9 MH/s                          | 12                | 67 W           | 15.44               |

  所有测试均使用 DUCO-S1 算法进行。该表将积极更新。
</details>


## 许可证

Duino-Coin 主要在 MIT 许可证下分发。有关更多信息，请参阅“许可证”文件。
一些第三方包含的文件可能有不同的许可证 - 请检查他们的“LICENSE”声明（通常在源代码文件的顶部）。

## 服务条款
1. Duino-Coins ("DUCOs") 是由矿工通过一个称为挖矿的过程获得的。<br/>
2. 挖矿被描述为使用 DUCO-S1（和 XXHASH）算法(如 <a href="https://github.com/revoxhere/duino-coin/blob/gh-pages/assets/whitepaper.pdf">Duino-Coin 白皮书</a>)中所述, 找到数学问题的正确结果会给矿工一个奖励。<br/>
3. 官方可以使用CPU、AVR板（如Arduino板）、单板机（如Raspberry Pi板）、ESP32/8266板，使用官方矿机进行挖矿（其他官方允许的矿机在本README的上半部分说明）。<br/>
4. 允许在GPU、FPGA等高效硬件上挖矿，但只能使用“EXTREME”挖矿难度。<br/>
5. 任何用户在不适合其硬件的难度下使用矿机 (请参阅 <a href="https://github.com/revoxhere/duino-coin/tree/useful-tools#socket-api">难度列表</a>) 将通过移动到正确的难度等级来自动限制。<br/>
6. 任何用户不断尝试使用比其适合的难度更低的难度可能会被暂时阻止。<br/>
7. 禁止包括阻止用户访问他的硬币以及删除帐户。<br/>
8. 只有合法赚取的硬币才有资格兑换。<br/>
9. 帐户可能会被暂时暂停以调查（“调查”）ToS 违规（“违规”或“滥用”）。<br/>
10. 向官方 DUCO-Exchange（“官方交易所”）提出的交换请求可能会在调查期间被延迟和/或拒绝。 <br/>
11. 向官方交易所提出的交易所请求可能会因违反 ToS 和/或资金不足而被拒绝。<br/>
12. 不允许使用免费的云托管服务（或免费的 VPS 服务 - 例如 Repl.it、GitHub Actions 等）进行挖矿，因为这对其他人不公平。<br />
13. 如果可以证明违规，用户的 DUCO 可能会被烧毁。<br/>
14. 本服务条款可随时更改，恕不另行通知。<br/>
15. 每位使用Duino-Coin的用户均同意遵守以上规则。<br/>


## 隐私政策
1. 在主服务器上，我们只存储用户名、散列密码（在 bcrypt 的帮助下）和用户的电子邮件作为他们的帐户数据。<br/>
2. 电子邮件不公开，仅用于在需要时、确认<a href="https://revoxhere.github.io/duco-exchange/">DUCO-Exchange</a> 交易时、和在接收不定期的时事通讯（为未来计划）联系用户。<br/>
3. 余额、交易和挖矿相关数据在公共 <a href="https://github.com/revoxhere/duino-coin/tree/useful-tools#http-json-api">JSON APIs</a>.<br/>中公开可用。
4. 隐私政策将来可能会在事先通知的情况下更改。


## 活跃的项目维护者

*   [@revoxhere](https://github.com/revoxhere/) - robik123.345@gmail.com (Python 开发主管，项目创始人)
*   [@Bilaboz](https://github.com/bilaboz/) (NodeJS 开发主管)
*   [@connorhess](https://github.com/connorhess) (Python 开发主管，Node-S 所有者)
*   [@JoyBed](https://github.com/JoyBed) (AVR 开发主管)
*   [@Tech1k](https://github.com/Tech1k/) - kristian@beyondcoin.io (首席网站管理员和 DUCO 开发人员)
##
*   [@Pripun](https://github.com/Pripun) (移动应用开发)
*   [@ygboucherk](https://github.com/ygboucherk) ([wDUCO](https://github.com/ygboucherk/wrapped-duino-coin-v2) 开发工程师)
*   [@DoctorEenot](https://github.com/DoctorEenot) (开发工程师)
*   [@LDarki](https://github.com/LDarki) (网络开发)
*   [@Lulaschkas](https://github.com/Lulaschkas) (开发工程师)
##
*   [@joaquinbvw](https://github.com/joaquinbvw) (AVR开发工程师)

另外，非常感谢所有帮助开发 Duino-Coin 项目的 [贡献者](https://github.com/revoxhere/duino-coin/graphs/contributors) 。

<hr>

项目链接: [https://github.com/revoxhere/duino-coin/](https://github.com/revoxhere/duino-coin/)
<br/>
网站链接: [https://duinocoin.com/](https://duinocoin.com/)
