You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/sdk-guides/payment/hinkal-private-payments.md
+15-9Lines changed: 15 additions & 9 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -20,32 +20,36 @@ Paying a request where the payment recipient address is a Hinkal shielded addres
20
20
21
21
## Installation
22
22
23
-
To use the Hinkal Private Payments feature, install the necessary package:
23
+
To use Hinkal Private Payments, install the necessary package:
24
24
25
25
```bash
26
26
npm install @requestnetwork/payment-processor
27
-
npm install @requestnetwork/request-client.js
28
27
```
29
28
30
29
## Usage
31
30
32
31
### **Pay a request from a Hinkal shielded address**
33
32
34
-
To pay a request from a Hinkal shielded address to a public address, where only the payment sender's address is obfuscated, use the \``` payErc20FeeProxyRequestFromHinkalShieldedAddress()` `` function. Ensure the payment sender's Hinkal shielded address has a positive balance.
33
+
To pay a request from a Hinkal shielded address to a public address, where only the payment sender's address is obfuscated, use the \``` payErc20FeeProxyRequestFromHinkalShieldedAddress()` `` function. Ensure the payment sender's Hinkal shielded address has a positive balance using[#deposit-to-a-hinkal-shielded-address](hinkal-private-payments.md#deposit-to-a-hinkal-shielded-address"mention")
35
34
36
35
{% hint style="warning" %}
37
-
Strongly consider using [encryption-and-decryption](../encryption-and-decryption/"mention")to keep the request contents private, including the payer and payee identity addresses, when paying requests from a Hinkal shielded address!
36
+
Strongly consider using [encryption-and-decryption](../encryption-and-decryption/"mention")to keep the request contents private, including the payer and payee identity addresses, when paying requests from a Hinkal shielded address. Revealing the payer and payee identity addresses increases the likelihood of un-shielding the payment sender's address via on-chain analysis.
@@ -56,7 +60,7 @@ See [quickstart-browser.md](../../get-started/quickstart-browser.md "mention") f
56
60
57
61
To deposit funds to a Hinkal shielded address from a public address, where only the payment recipient's address is obfuscated, use the `sendToHinkalShieldedAddressFromPublic()` function.  
58
62
59
-
* Deposit to own Hinkal shielded address: omit the `recipientInfo`argument
63
+
* Deposit to own Hinkal shielded address: omit the `recipientInfo`argument
60
64
* Deposit to someone else's Hinkal shielded address: set `recipientInfo` to the shielded address of the payment recipient.
61
65
62
66
{% hint style="info" %}
@@ -65,12 +69,14 @@ Hinkal shielded addresses must be shared out-of-band. This SDK doesn't offer fun
0 commit comments