1 | ======================== |
---|
2 | Storage Server Donations |
---|
3 | ======================== |
---|
4 | |
---|
5 | The following is a configuration convention which allows users to anonymously support the operators of storage servers. |
---|
6 | Donations are made using `Zcash shielded transactions`_ to limit the amount of personal information incidentally conveyed. |
---|
7 | |
---|
8 | Sending Donations |
---|
9 | ================= |
---|
10 | |
---|
11 | To support a storage server following this convention, you need several things: |
---|
12 | |
---|
13 | * a Zcash wallet capable of sending shielded transactions |
---|
14 | (at least until Zcash 1.1.1 this requires a Zcash full node) |
---|
15 | * a shielded address with sufficient balance |
---|
16 | * a running Tahoe-LAFS client node which knows about the recipient storage server |
---|
17 | |
---|
18 | For additional protection, you may also wish to operate your Zcash wallet and full node using Tor. |
---|
19 | |
---|
20 | Find Zcash Shielded Address |
---|
21 | --------------------------- |
---|
22 | |
---|
23 | To find an address at which a storage server operator wishes to receive donations, |
---|
24 | launch the Tahoe-LAFS web UI:: |
---|
25 | |
---|
26 | $ tahoe webopen |
---|
27 | |
---|
28 | Inspect the page for the storage server area. |
---|
29 | This will have a heading like *Connected to N of M known storage servers*. |
---|
30 | Each storage server in this section will have a nickname. |
---|
31 | A storage server with a nickname beginning with ``zcash:`` is signaling it accepts Zcash donations. |
---|
32 | Copy the full address following the ``zcash:`` prefix and save it for the next step. |
---|
33 | This is the donation address. |
---|
34 | Donation addresses beginning with ``z`` are shielded. |
---|
35 | It is recommended that all donations be sent from and to shielded addresses. |
---|
36 | |
---|
37 | Send the Donation |
---|
38 | ----------------- |
---|
39 | |
---|
40 | First, select a donation amount. |
---|
41 | Next, use a Zcash wallet to send the selected amount to the donation address. |
---|
42 | Using the Zcash cli wallet, this can be done with commands like:: |
---|
43 | |
---|
44 | $ DONATION_ADDRESS="..." |
---|
45 | $ AMOUNT="..." |
---|
46 | $ YOUR_ADDRESS="..." |
---|
47 | $ zcash-cli z_sendmany $YOUR_ADDRESS "[{\"address\": \"$DONATION_ADDRESS\", \"amount\": $AMOUNT}]" |
---|
48 | |
---|
49 | Remember that you must also have funds to pay the transaction fee |
---|
50 | (which defaults to 0.0001 ZEC in mid-2018). |
---|
51 | |
---|
52 | Receiving Donations |
---|
53 | =================== |
---|
54 | |
---|
55 | To receive donations from users following this convention, you need the following: |
---|
56 | |
---|
57 | * a Zcash shielded address |
---|
58 | |
---|
59 | Configuring Tahoe-LAFS |
---|
60 | ---------------------- |
---|
61 | |
---|
62 | The Zcash shielded address is placed in the storage server's ``nickname`` field. |
---|
63 | Edit ``tahoe.cfg`` and edit the ``nickname`` field in the ``node`` section like so:: |
---|
64 | |
---|
65 | [node] |
---|
66 | nickname = zcash:zcABCDEF.... |
---|
67 | |
---|
68 | Then restart the storage server. |
---|
69 | |
---|
70 | Further Reading |
---|
71 | =============== |
---|
72 | |
---|
73 | To acquaint yourself with the security and privacy properties of Zcash, |
---|
74 | refer to the `Zcash documentation`_. |
---|
75 | |
---|
76 | .. _Zcash shielded transactions: https://z.cash/support/security/privacy-security-recommendations.html#transaction |
---|
77 | |
---|
78 | .. _Zcash documentation: http://zcash.readthedocs.io/en/latest/ |
---|