source: trunk/docs/accepting-donations.rst

Last change on this file was 4f04521f, checked in by Jean-Paul Calderone <exarkun@…>, at 2018-07-17T17:14:36Z

encourage use of variables and copy/paste of command

  • Property mode set to 100644
File size: 2.7 KB
Line 
1========================
2Storage Server Donations
3========================
4
5The following is a configuration convention which allows users to anonymously support the operators of storage servers.
6Donations are made using `Zcash shielded transactions`_ to limit the amount of personal information incidentally conveyed.
7
8Sending Donations
9=================
10
11To 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
18For additional protection, you may also wish to operate your Zcash wallet and full node using Tor.
19
20Find Zcash Shielded Address
21---------------------------
22
23To find an address at which a storage server operator wishes to receive donations,
24launch the Tahoe-LAFS web UI::
25
26  $ tahoe webopen
27
28Inspect the page for the storage server area.
29This will have a heading like *Connected to N of M known storage servers*.
30Each storage server in this section will have a nickname.
31A storage server with a nickname beginning with ``zcash:`` is signaling it accepts Zcash donations.
32Copy the full address following the ``zcash:`` prefix and save it for the next step.
33This is the donation address.
34Donation addresses beginning with ``z`` are shielded.
35It is recommended that all donations be sent from and to shielded addresses.
36
37Send the Donation
38-----------------
39
40First, select a donation amount.
41Next, use a Zcash wallet to send the selected amount to the donation address.
42Using 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
49Remember that you must also have funds to pay the transaction fee
50(which defaults to 0.0001 ZEC in mid-2018).
51
52Receiving Donations
53===================
54
55To receive donations from users following this convention, you need the following:
56
57* a Zcash shielded address
58
59Configuring Tahoe-LAFS
60----------------------
61
62The Zcash shielded address is placed in the storage server's ``nickname`` field.
63Edit ``tahoe.cfg`` and edit the ``nickname`` field in the ``node`` section like so::
64
65  [node]
66  nickname = zcash:zcABCDEF....
67
68Then restart the storage server.
69
70Further Reading
71===============
72
73To acquaint yourself with the security and privacy properties of Zcash,
74refer 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/
Note: See TracBrowser for help on using the repository browser.