PayInst as an example, the channel chain account address example:
It can be seen that the above address is divided into three segments, namely the common account address part 1PytoNB53MX2bi1Nw2S6Fyharzv4zGTDDD , the channel ID part 4d295889c6e0e1fc64237e01cd480fd6 and the payment service provider identifier part PayInst . The three parts are connected by underscores to form a complete channel chain account address. When logging in to the channel chain wallet, you need to provide this complete form of account address, that is, the login/payment address.
When the user terminal collects money, if the account address only opens the only channel with the service provider, or the same address opens multiple channel services, and the service provider needs to automatically select the appropriate payment channel, the middle of the address can be omitted The channel ID part is abbreviated as:
After the HIP-6 proposal (Hacash Diamond Name Service) that HDNS uses the diamond name for account address DNS resolution services, the payment address can be further simplified to, for example:
At this time, the receiving address will be automatically resolved to the owner's address of the diamond, and the target service provider will automatically select the appropriate channel.
Please select and contact your channel payment service provider , they'll help you open an account channel, and the channel purse login address to you. Note: Please do not disclose your private key under any circumstances.
The layer-2 payment network has a separate wallet, which needs to be logged in with the address private key and kept online. However, just logging in on the local client will not spread your private key and other security information on the network. Click the button below to download the wallet client of the corresponding system:
⇩ Hacash Channel Payment User Client ( for windows-64bit)
⇩ Hacash Channel Payment User Client ( for ubuntu-64bit)
⇩ Hacash Channel Payment User Client ( for MacOS-64bit)
⇩ Download Hacash All Softwares ( for MacOS)
Run the software after downloading the layer-2 wallet. Please be careful not to double-click to open the software directly in the ZIP compressed package, you need to unzip it to the computer desktop or other folder, and then run the software to be available. because the software needs to create a directory in the folder to save the channel bill data, and running the software in the ZIP compression package cannot create a folder, which leads to an error.
Run it, and you can see the following login interface:
There are three input boxes on the login interface, the first two of which are required, and the third "reconciliation or payment note" is optional. The first item "Hacash Channel Address" is the complete channel account address mentioned above, for example "1PytoNB53MX2bi1Nw2S6Fyharzv4zGTDDD_4d295889c6e0e1fc64237e01cd480fd6_PayInst". The second place is the private key of the account, which is the private key of the address "1PytoNB53MX2bi1Nw2S6Fyharzv4zGTDDD" [Note, this private key should not be disclosed to anyone including your payment service provider].
When logging in to the channel wallet on a new device, the new device does not store your latest reconciliation notes locally. If you have already made payments or collections, you need to provide the latest "reconciliation or payment receipt" when logging in. If it is the first time to log in or there has been no payment or collection behavior, you do not need to provide it.
When you use a new device, you can click the Export bill tab of the login interface , enter your channel ID, and export the old bill for use on the new device. As follows:
Please note that your device must be connected to the Internet. If there is no error, you can see the interface of the channel chain wallet after logging in:
In the wallet display item, Channel Balance is your available balance; Collection Capacity is the collection capacity, which means the maximum amount of funds you can collect in this channel; [Reconciliation meta info] is your real-time reconciliation bill information, please make sure to back it up in time . If you lose the reconciliation bill, the counterparty of the channel may choose the reconciliation bill that is beneficial to you to steal your funds.
Enabling the Collection button can automatically collect payments. When it is closed, any collections will be rejected directly. As long as you log in and stay connected, you can automatically receive payments without any action.
In the Payment under the terms of the two input boxes were filled channel purse address, and the payment amount payee, you can initiate transfers. After filling in the transfer information and checking that it is correct, click the Start Transfer button, and the client will request the service provider to query routing and initiate payment. If there is no routing parsing error or non-existent service provider identifier and other errors, you will see the following routing path Payment confirmation dialog box for selection, transaction fee check, etc.:
After clicking to select the payment path (usually there is only one optional path), click the Confirm payment button to initiate payment immediately.
Please note that the payment is effective immediately and cannot be reversed. Please check carefully whether the payment address and amount are correct.
If the other party's collection channel does not exist, is unavailable, or the other party is not online, the log print area will give a corresponding error prompt:
If the payee stays online at this time, and the payment amount does not exceed the limit, and the network signature is correct, the payment will be successful immediately and the corresponding prompt information will be printed:
The above green message indicates that the payment has been successful. After the payment is completed, the balance, channel capacity, and reconciliation notes displayed in the wallet interface will change in real time. Please pay attention to the changes in the balance and back up the reconciliation notes in time:
In the information displayed in the above interface, [Reuse version] represents the channel reuse version number. This version number will automatically increase when you modify the channel capacity in the future. [Bill serial number] is the self-increasing serial number of the payment and reconciliation bill, every time it is initiated When you make a payment or complete a collection, the bill number will be automatically +1. The character string in the input box is the latest reconciliation bill data.
[Note] Please make sure to back up the channel reconciliation bill in time, which is proof of your available balance. If you lose the channel ticket or do not back up the latest channel ticket in time, you cannot prove that your available balance is valid. The perpetrator may provide a reconciliation bill of expired but beneficial for them, thus steal you money on the mainnet.
Under normal circumstances, as long as your device does not experience data loss failure, or manually delete the data directory, the client will create a folder in the directory where the software is located to save and update the latest channel reconciliation bills after each payment and collection, but The expired tickets will not be saved. If you log in to multiple channels, the bills of each channel will be stored separately and will not affect each other.