-
Notifications
You must be signed in to change notification settings - Fork 8
Technical Approach
The integration with the ZCash RPC API will enable the ZCash Grant System to display balances of funded proposals.
- Sapling
- No private keys stored on hot server.
Rely on a combination of user provided payment disclosures and memo input data to track which funds should be directed towards which proposals.
Our backend will compute the balance of a payment disclosure by running z_validatepaymentdisclosure against the payment disclosure provided by the user. After verification, our backend will be able to record the deposit against a specific proposal by matching against the memo field, or in the case the memo field was not provided, the balance would be recorded against the general pool.
Funds with no associated payment disclosure / memo data are left to be disbursed at the discretion of the ZcF.
This approach can be greatly simplified with the addition of view keys for Sapling addresses. Although there has been no target date set as of yet, a future implementation could take advantage of Sapling based viewkeys to remove memo fields and payment disclosures.