Skip to content

lavacraft239/Bugcoin

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Bugcoin

Bugcoin is a lightweight cryptocurrency designed for low-end devices, old PCs, and smartphones. It allows you to mine coins with minimal resources, track your balance, and see their value in USD. Each Bugcoin is currently valued at $10 USD, and there is a maximum supply of 10 million coins.


Features

  • Ultra-lightweight, works on low-end PCs and phones.
  • Mine Bugcoin without heavy CPU usage.
  • Track your balance locally using a .bugcoin file.
  • Supports offline calculation of total Bugcoins and USD value.
  • Optional integration with LocalStorage or Termux for storing your files.
  • No wallets required for basic usage.

Requirements

  • C Compiler (GCC) to compile the Bugcoin node.
  • Python and Flask if using a local API or web interface (optional).
  • Termux (for Android) or any Linux-based system.

Mandatory

For Bugcoin to work correctly, it is mandatory to create the blocks folder before mining:

mkdir -p /data/data/com.termux/files/home/storage/shared/Bugcoin/blocks

And in Termux, you must grant storage permission:

termux-setup-storage

This will allow blocks to be saved without errors.


Compiling Bugcoin Node

gcc bugcoin.c -o bugcoin -pthread

or

gcc bugcoin.c -o bugcoin -pthread -O0

Usage

Start Node

./bugcoin --true

Stop Node

./bugcoin --false

Mining

./bugcoin --true --mine True --d 5m --threads 5

--d sets duration (5m = 5 minutes, 20s = 20 seconds).

--threads sets number of CPU threads to use.


Viewing Your Bugcoins

You can view it with:

cat ~/.bugcoin

Or use a web interface that reads .bugcoin and calculates total Bugcoins and USD value automatically.


Using Bugcoin on Web

Open the HTML web page (index.html) on your browser.

Upload your .bugcoin file.

The web page will show:

Total Bugcoins mined.

Equivalent value in USD.

LocalStorage can be used to remember your file for future visits.


Notes

Bugcoin is designed to be educational and lightweight.

Each block gives a fixed reward, and total supply is capped at 100 million Bugcoins.

Can be integrated with APIs or web platforms to simulate purchases or exchanges.


Enjoy mining Bugcoin! 🚀

About

crypocurrency lightweigh

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages