Skip to content

Devkon69/Liquidcash

Repository files navigation

  • Copyright (c) 2009-2019 The Bitcoin Core developers
  • Copyright (c) 2017-2019 The Raven Core developers
  • Copyright (c) 2018-2019 The Rito Core Developers
  • Copyright (c) 2019 The Liquidcash Core Developers

What is Liquidcash?

Liquidcash is an experimental new digital currency that enables instant payments to anyone, anywhere in the world. Liquidcash uses state of the art scientific ASIC proof "X21s" algorithm. Liquidcash's blockchain can be used to deploy assets within few clicks, easier than ever.

  • 25 second block target
  • 1.4 Billion total supply
  • Block Reward: 10 LCASH
  • Reward Maturity: 30 blocks
  • Concensus Algorithm: X21s
  • Difficulty Retargeting: Dark Gravity Wave
  • Asset Activation Height: 86400
  • P2P Port: 36969
  • RPC Port: 42812

License

Liquidcash is released under the terms of the MIT license. See COPYING for more information or see http://opensource.org/licenses/MIT.

Get Started

  1. For Linux: You can use both GUI and CLI version of Liquidcash depending upon your needs.

We recommend any stable version of Ubuntu 16.04 or 18.04

1.1 Installing Dependencies

Open the terminal and run following commands one by one:

sudo apt-get install git

sudo apt-get install build-essential libtool autotools-dev automake pkg-config libssl-dev libevent-dev bsdmainutils

sudo apt-get install libboost-system-dev libboost-filesystem-dev libboost-chrono-dev libboost-program-options-dev libboost-test-dev libboost-thread-dev

sudo apt-get install libboost-all-dev

sudo apt-get install software-properties-common

sudo add-apt-repository ppa:bitcoin/bitcoin

sudo apt-get update

sudo apt-get install libdb4.8-dev libdb4.8++-dev

sudo apt-get install libminiupnpc-dev

sudo apt-get install libzmq3-dev

sudo apt-get install libqt5gui5 libqt5core5a libqt5dbus5 qttools5-dev qttools5-dev-tools libprotobuf-dev protobuf-compiler

sudo apt-get install libqt4-dev libprotobuf-dev protobuf-compiler

1.2 Cloning liquidcash

git clone https://github.com/liquidcashproject

1.3 Giving Permissions

Once you have installed all dependencies and cloned the repository, next step is to give read write and execute permissions to folder. For that, go to the directory where Liquidcash folder is located and then run:

sudo chmod -R 777 Liquidcash/

1.4 Compilation

After sucessfully giving all permissions, go inside folder and run:

./autogen.sh && ./configure && make && make install

It will take a while depending upon your system's hardware configuration (RAM and Processor)

1.5 Running Liquidcash CLI

Once compilation successfully ends, you can run Liquidcash daemon with following steps:

a) Make sure you are in src folder of LCASH( your_directory/Liquidcash/src ) b) Run: ./liquidcashd -daemon h) Run: ./Liquidcashd getinfo (To check conenction status, blocks and other information)

You have a running CLI wallet now

1.6 Running GNU Linux GUI Wallet

If you are using a GNU Linux GUI distribution like ubuntu or debian, you can run the GUI wallet:

a) Make sure you are in src/qt folder of Liquidcash( your_directory/Liquidcash/src/qt ) b) Run: ./liquidcash-qt

Enjoy your GUI wallet

  1. For Windows: GUI client is available.

2.1 Use the QT Executable file (liquidcash-qt.exe) to run Liquidcash GUI Wallet on your PC.

2.2 Data Directory is located at: Users/your_windows_user/AppData/Roaming/liquidcash

  1. CLI Commands

Addressindex

  • getaddressbalance
  • getaddressdeltas
  • getaddressmempool
  • getaddresstxids
  • getaddressutxos

Assets

  • getassetdata "asset_name"
  • getcacheinfo issue "asset_name" qty "( to_address )" "( change_address )" ( units ) ( reissuable ) ( has_ipfs ) "( ipfs_hash )"
  • issueunique "root_name" [asset_tags] ( [ipfs_hashes] ) "( to_address )" "( change_address )"
  • listassets "( asset )" ( verbose ) ( count ) ( start )
  • listmyassets "( asset )" ( verbose ) ( count ) ( start )
  • reissue "asset_name" qty "to_address" "change_address" ( reissuable ) ( new_unit) "( new_ipfs )"
  • transfer "asset_name" qty "to_address"

Blockchain

  • getbestblockhash

  • getblock "blockhash" ( verbosity )

  • getblockchaininfo

  • getblockcount

  • getblockhash height

  • getblockhashes timestamp

  • getblockheader "hash" ( verbose )

  • getchaintips

  • getchaintxstats ( nblocks blockhash )

  • getdifficulty

  • getmempoolancestors txid (verbose)

  • getmempooldescendants txid (verbose)

  • getmempoolentry txid

  • getmempoolinfo

  • getrawmempool ( verbose )

  • getspentinfo

  • gettxout "txid" n ( include_mempool )

  • gettxoutproof ["txid",...] ( blockhash )

  • gettxoutsetinfo

  • preciousblock "blockhash"

  • pruneblockchain

  • savemempool

  • verifychain ( checklevel nblocks )

  • verifytxoutproof "proof"

Control

  • getinfo
  • getmemoryinfo ("mode")
  • help ( "command" )
  • stop
  • uptime

Generating

  • generate nblocks ( maxtries )
  • generatetoaddress nblocks address (maxtries)
  • getgenerate
  • setgenerate generate ( genproclimit )

Mining

  • getblocktemplate ( TemplateRequest )
  • getmininginfo
  • getnetworkhashps ( nblocks height )
  • prioritisetransaction
  • submitblock "hexdata" ( "dummy" )

Network

  • addnode "node" "add|remove|onetry"
  • clearbanned
  • disconnectnode "[address]" [nodeid]
  • getaddednodeinfo ( "node" )
  • getconnectioncount
  • getnettotals
  • getnetworkinfo
  • getpeerinfo
  • listbanned
  • ping
  • setban "subnet" "add|remove" (bantime) (absolute)
  • setnetworkactive true|false

Rawtransactions

  • combinerawtransaction ["hexstring",...]
  • createrawtransaction [{"txid":"id","vout":n},...] {"address":(amount or object),"data":"hex",...} ( locktime ) ( replaceable )
  • decoderawtransaction "hexstring"
  • decodescript "hexstring"
  • fundrawtransaction "hexstring" ( options )
  • getrawtransaction "txid" ( verbose )
  • sendrawtransaction "hexstring" ( allowhighfees )
  • signrawtransaction "hexstring" ( [{"txid":"id","vout":n,"scriptPubKey":"hex","redeemScript":"hex"},...] ["privatekey1",...] sighashtype )

Util

  • createmultisig nrequired ["key",...]
  • estimatefee nblocks
  • estimatesmartfee conf_target ("estimate_mode")
  • signmessagewithprivkey "privkey" "message"
  • validateaddress "address"
  • verifymessage "address" "signature" "message"

Wallet

  • abandontransaction "txid"
  • abortrescan
  • addmultisigaddress nrequired ["key",...] ( "account" )
  • addwitnessaddress "address"
  • backupwallet "destination"
  • bumpfee has been deprecated on the LCASH Wallet.
  • dumpprivkey "address"
  • dumpwallet "filename"
  • encryptwallet "passphrase"
  • getaccount "address"
  • getaccountaddress "account"
  • getaddressesbyaccount "account"
  • getbalance ( "account" minconf include_watchonly )
  • getrawchangeaddress
  • getreceivedbyaccount "account" ( minconf )
  • getreceivedbyaddress "address" ( minconf )
  • gettransaction "txid" ( include_watchonly )
  • getunconfirmedbalance
  • getwalletinfo
  • importaddress "address" ( "label" rescan p2sh )
  • importmulti "requests" ( "options" )
  • importprivkey "privkey" ( "label" ) ( rescan )
  • importprunedfunds
  • importpubkey "pubkey" ( "label" rescan )
  • importwallet "filename"
  • keypoolrefill ( newsize )
  • listaccounts ( minconf include_watchonly)
  • listaddressgroupings
  • listlockunspent
  • listreceivedbyaccount ( minconf include_empty include_watchonly)
  • listreceivedbyaddress ( minconf include_empty include_watchonly)
  • listsinceblock ( "blockhash" target_confirmations include_watchonly include_removed )
  • listtransactions ( "account" count skip include_watchonly)
  • listunspent ( minconf maxconf ["addresses",...] [include_unsafe] [query_options])
  • listwallets
  • lockunspent unlock ([{"txid":"txid","vout":n},...])
  • move "fromaccount" "toaccount" amount ( minconf "comment" )
  • removeprunedfunds "txid"
  • rescanblockchain ("start_height") ("stop_height")
  • sendfrom "fromaccount" "toaddress" amount ( minconf "comment" "comment_to" )
  • sendmany "fromaccount" {"address":amount,...} ( minconf "comment" ["address",...] replaceable conf_target "estimate_mode")
  • sendtoaddress "address" amount ( "comment" "comment_to" subtractfeefromamount replaceable conf_target "estimate_mode")
  • setaccount "address" "account"
  • settxfee amount
  • signmessage "address" "message"