Confidential payments (DCPP)
Users can try out HPB's confidential payment solution within the mobile HPB Wallet.
This Decentralized Confidential Payment Protocol (DCPP) uses zero-knowledge proofs and HPB's hardware processing advantage to deliver a level of privacy more typical of banking.
HPB researched, developed and released the Beta version of its confidential payment solution to HPB Wallet in 2021. To read the DCPP research paper, source code and tutorial, please visit:
The sending wallet balance and transaction amount are encrypted. Only users who provide the required zero-knowledge proof can access the details. This solution is inspired by Zether which first proposed using zero-knowledge proofs (ZKPs) for private payment on Ethereum.
Zero-knowledge proof algorithms are notoriously energy intensive, but HPB's hardware can support the extra processing at high speed with minimal gas fees. The DCPP provides the Hcash confidential token, which serves as the carrier for confidential transactions, with the ElGamal public key as an account. The ZSC smart contract on HPB MainNet contains the protocol code.
It takes a bit of time to set up a wallet and save the private key etc, but the extra steps are simple enough:
- 1.Go top right in your mobile HPB Wallet to Assets > New > Privacy Coin > Add Wallet where you can create a wallet to hold HCASH.
- 2.You have to then select an existing HPB wallet with HPB in it to pay the gas when you create a private wallet.
- 3.Once you've got a private wallet, you can 'recharge' it with HPB from an existing HPB Wallet for a 1 for 1 swap from HPB to HCASH.
- 4.You should then be able to transfer your first 1 HCASH incognito to another private wallet.
For full instructions with screen grabs, see:
Transfer amounts are currently capped at 100 HPB for testing purposes.