SamBroGaming / duino-coin

ᕲ Duino-Coin is a cryptocurrency that can be mined with Arduino boards.

Home Page:https://duinocoin.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool




Duino-Coin is a cryptocurrency that can be mined with AVR boards.


Key features:

  • Supported by large number of platforms
  • Friendly & growing community
  • Easy to use & exchange
  • Available everywhere
  • Cost-effective
  • Open-source
  • Easy to mine!

Technical specifications:

  • Coin supply: ~ 350k
  • Block supply: ~ 35 million
  • Premine: ~ 5k blocks
  • Block time: Instant ⚡
  • Ticker: DUCO (ᕲ)
  • Algorithms: DUCO-S1, DUCO-S1A
  • Original Kolka system helping reward miners fairly

Get started


Official Wallet Official Miners

Official getting started guides for creating an account and setting up miners on variety of devices are available on the official website.

Community-made software


Miners:

Other tools:

This list will be actively updated

Contributing


Contributions are what make the open source community such an amazing place to be learn, inspire, and create. Any contributions you make are greatly appreciated.

  • Fork the Project
  • Create your feature branch
  • Commit your changes
  • Make sure everything works as intended
  • Open a pull request

Master server API


To build your own Duino-Coin apps, here's a list of of commands the master server accepts. To start communication however, firstly you need to connect to the server. For now you have two options:

  • TCP connection (recommended) - server IP and port are now static (but can change) and can be found here
  • Websocket connection (through proxy - may not be available 100% of the time) - server IP and port are static and are ws://163.172.179.54:15808

After connecting, the server will send version number it's currently on (1.7). At this point you can send LOGI or REGI request to login or register an account or JOB,username to receive job for mining. To login, send LOGI,username,password - replace username and password with credentials. After sucessfull login server will send OK. If login fails, server will send NO,Reason of failed login.

To register, send REGI,username,password,email - again, by replacing words with respective data. After sucessfull registration server will send OK. If registration fails, server will send NO,Reason of failed registration.

After loging-in you have access to the following commands:

  • BALA - Server will return balance of current user
  • JOB - Server will return job for mining - you can also use JOB,username to mine without loging-in
  • SEND,-,recipientUsername,amount - Send funds to someone, server will return a message about state of the transaction
  • CHGP,oldPassword,newPassword - Change password of current user
  • FROM,Program Name,username,Other info - Send metrics data to the server
  • STAT - Server will return rank and e-mail of the user

Python DUCO API module


To build your own Duino-Coin apps, here's a some documentation for the python module.

Getting Started

import duco_api

First you need to initialize the connection to the server

api_connection = duco_api.api_actions() #creates the api connection instance

The next step is to Login/Register Note: login and register do not require you to init but they close the connection after use

Login

api_connection.login(username="username", password="password")

Register

api_connection.register(username="username", password="password", email="user@example.com")

Functions

These functions require user being loged-in.

Balance

Gets the current balance of the logged-in user
api_connection.balance() # takes no args

Transfer

Transfers Duco from logged-in user to the specified username
api_connection.transfer(recipient_username='test_user1', amount=1)

reset password

Resets the password of the logged-in user
api_connection.reset_pass(old_password='123', new_password='abc')

Other Functions

Use of this functions does not require being loged-in.

Get Duco Price

starts a thread with a loop that runs every 15 seconds
duco_api.GetDucoPrice() # access the value by using the global variable <ducofiat>

Example API script

import duco_api

api_connection = duco_api.api_actions()

api_connection.login(username='YourUsername', password='YourPassword')

current_balance = api_connection.balance()
print(current_balance)

api_connection.close()

License


Duino-Coin is mostly distributed under the MIT License. See LICENSE file for more information.

Major frameworks used by Duino-Coin:

Officially tested devices


  • Arduino Uno Rev3 (ATmega328p @ 16MHz 5V) - Unkown Hashrate - Arduino Code & Miner
  • Arduino Pro Mini (ATmega328p @ 16MHz 5V) - 150 H/s - Arduino Code & Miner
  • NodeMCU (ESP8266 @ 80 MHz) - 1,15 kH/s - ESP Code
  • NodeMCU (ESP8266 @ 160 MHz) - 2,15 kH/s - ESP Code

Hashrate Calculators for AVR/ESP platforms are available in the Useful tools branch.

Developers


Special thanks


Donate


If you want to support the project, visit Donate page on our website.


Project Link: https://github.com/revoxhere/duino-coin/

About

ᕲ Duino-Coin is a cryptocurrency that can be mined with Arduino boards.

https://duinocoin.com

License:MIT License


Languages

Language:Python 71.9%Language:C 16.2%Language:C++ 9.1%Language:JavaScript 1.6%Language:Ruby 1.2%