Skip to content
/ core Public

πŸš€ KnexCoin Core - Proof-of-Blockchain cryptocurrency with Proof-of-Bandwidth consensus. High-performance, scalable, energy-efficient blockchain platform.

License

Notifications You must be signed in to change notification settings

knexcoin/core

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

3 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

KnexCoin Core - Phase 2.0

A command-line interface for the KnexCoin blockchain implementation with complete network protocol and consensus.

Features (Phase 2.0)

  • βœ… Complete P2P network protocol with async communication
  • βœ… Proof-of-Bandwidth consensus mechanism
  • βœ… Peer discovery and management system
  • βœ… Block and transaction propagation
  • βœ… Validator rankings and selection
  • βœ… Bandwidth measurement and scoring
  • βœ… Network status monitoring
  • βœ… Complete token system with 1B KNEX genesis supply
  • βœ… Token transfers, minting, and burning
  • βœ… Balance tracking and validation
  • βœ… Ed25519 key generation with vanity support
  • βœ… Beautiful rainbow CLI interface
  • βœ… Genesis block with proper token distribution
  • βœ… Wallet management (create, list, import/export)
  • βœ… Blockchain structure with token support
  • βœ… Transaction system (send/receive)
  • βœ… Node management

Installation

# Create virtual environment
python -m venv venv
source venv/bin/activate  # On Windows: venv\Scripts\activate

# Install dependencies
pip install -r requirements.txt

# Run the CLI
python cli.py --help

Quick Start

# Initialize a new node
python cli.py init --network testnet

# Create a wallet
python cli.py wallet create --name "my-wallet"

# Start the node
python cli.py node start --validator

# Send a transaction
python cli.py transaction send --to 0x123... --amount 100

Project Structure

knexcoin-core/
β”œβ”€β”€ cli.py              # Main CLI interface
β”œβ”€β”€ wallet.py           # Wallet management
β”œβ”€β”€ blockchain.py       # Blockchain implementation
β”œβ”€β”€ transaction.py      # Transaction handling
β”œβ”€β”€ network.py          # P2P networking
β”œβ”€β”€ node.py             # Node management
β”œβ”€β”€ config.py           # Configuration
β”œβ”€β”€ utils.py            # Utility functions
└── data/               # Local data storage
    β”œβ”€β”€ wallets/        # Wallet files
    β”œβ”€β”€ blocks/         # Blockchain data
    └── config/         # Configuration files

About

πŸš€ KnexCoin Core - Proof-of-Blockchain cryptocurrency with Proof-of-Bandwidth consensus. High-performance, scalable, energy-efficient blockchain platform.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published