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

Hcash
Hcash
Jul 3 · 2 min read

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.

1. Obtaining an address:

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

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

2. Collect HC tokens at https://faucet.h.cash/requestfaucet

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.

3. Sending HC tokens to other addresses:

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

4. Checking your balance:

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.

5. Registering to be an AInode by purchasing AI tickets:

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.

6. Reviewing AI transaction history in AInode mempool:

hcctl -u admin -P 123 — testnet gettxlockpoolinfo

Hcash

Written by

Hcash

The New Standard of Value

Welcome to a place where words matter. On Medium, smart voices and original ideas take center stage - with no ads in sight. Watch
Follow all the topics you care about, and we’ll deliver the best stories for you to your homepage and inbox. Explore
Get unlimited access to the best stories on Medium — and support writers while you’re at it. Just $5/month. Upgrade