Skip to content

FunWithAlbiYT/lucoin_client

Repository files navigation

Lucoin Client

Description

Lucoin Client is a command-line tool for interacting with the Lucoin cryptocurrency. It allows users to check balances, send transactions, retrieve blockchain data, and more.

Installation

Install Python 3.10. You can download it from here for Windows and here for macOS.
Make sure to select Add Python to PATH in the installer!
Head to the release page and download the install.py artefact. Download it to wherever you'd like to install the Lucoin Client.
Finally, run install.py and it'll install everything for you.

Configuration

Edit the config.py file to configure your information, fees, and other settings.

Usage

The Lucoin Client supports the following commands:

Check Balance

To check the balance of your wallet (or a specified address):

python client.py balance [optional: address]

Send LUC

To send Lucoin (LUC) to a recipient (fees are configurable):

python client.py {amount} {recipient}

Get Blockchain Data

To retrieve the blockchain data (limited to 25 blocks):

python client.py blockchain

Create a Wallet

To create a new wallet:

python client.py create

Get Unconfirmed Transactions (MemPool)

To retrieve unconfirmed transactions from the MemPool:

python client.py mempool

Mine a Block

To mine a new block:

python xminer.py

Please note that mining is very unpredictable - sometimes it will be done in a few hundred million hashes, other times it could take upwards of 15 billion hashes.

Responses

All responses from the client are in JSON format.

Updates

Check for client updates periodically and update to the latest version.

About

client to access the lucoin cryptocurrency server

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 3

  •  
  •  
  •  

Languages