How to Participate in HCASH AI Lightning Protocol Public Beta Using CLI Wallet

Image for post
Image for post

This guide has been made for users who wish to participate in testing for the HCASH AI Lightning Protocol public beta, using the CLI wallet. Testing done by members of our community will allow them to be the first to experience new features, and also help the HCASH tech team collect valuable data about the implementation, ensuring its intended operation.

You can download the CLI wallet here.

hcctl — testnet -u admin -P 123 — wallet getnewaddress

Note: this address can only be used on the testnet.

Copy and paste your HC testnet address into the box, and click Send.

Note: the tokens you receive can only be used on the testnet.

Image for post
Image for post

Normal transactions: send 500 HC to another address by using the following command: (you can change the address and amount of tokens)

hcctl — testnet -u admin -P 123 — wallet sendtoaddress TsY5aGpApd5snxXm2yVMQ7AsXHzoK2kX1fo 500

AI Transactions: send 200 HC to another address by using the following command. (you can change the address and amount of tokens)

hcctl — testnet -u admin -P 123 — wallet aisendtoaddress TsY5aGpApd5snxXm2yVMQ7AsXHzoK2kX1fo 200

hcctl — testnet -u admin -P 123 — wallet getbalance default

Note: ‘default’ refers to you account name. In the figture below, ‘aitxconfirmed’ refers to the confirmed transaction on the AI Lightning Protocol.

Image for post
Image for post

hcctl — testnet -u admin -P 123 — wallet purchaseaiticket “default” 2000 3 “” 10

Note: ‘default’ refers to the account name; ‘2000’ refers to the maximum available fund for AITickes; ‘3’ refers to the minimum block confirmations; “” refers to override the ticket address to which voting rights are given (blank as default); ‘10’ refers to the purchase amount.

hcctl -u admin -P 123 — testnet gettxlockpoolinfo

Written by

The New Standard of Value

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store