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/installing.md
+26-14Lines changed: 26 additions & 14 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,11 +1,13 @@
1
-
# Set up environment
1
+
# Build and run Haveno
2
2
3
-
These are the steps needed to build Haveno. You can test it locally or on our test network.
3
+
These are the steps needed to build and run Haveno. You can test it locally or on our test network using the official Haveno repository.
4
4
5
5
> [!note]
6
-
> Trying to install Haveno for mainnet?
6
+
> Trying to use Haveno on mainnet?
7
7
>
8
-
> Find a third party network and use their installer or build their repository. We do not operate or endorse any mainnet network.
8
+
> The official Haveno repository does not operate or endorse any mainnet network. Find a third party network and use their installer or build their repository.
9
+
>
10
+
> Alternatively you can [create your own mainnet network](create-mainnet.md).
9
11
10
12
## Install dependencies
11
13
@@ -49,13 +51,23 @@ git pull
49
51
make clean && make
50
52
```
51
53
52
-
When you run Haveno, your application folder will be installed to:
54
+
## Run Haveno
53
55
54
-
* Linux: `~/.local/share/Haveno/`
55
-
* macOS: `~/Library/Application\ Support/Haveno/`
56
-
* Windows: `~\AppData\Roaming\Haveno\`
56
+
> [!note]
57
+
> When you run Haveno, your application folder will be installed to:
If you are building a third party repository which supports mainnet, you can start Haveno with:
65
+
66
+
```
67
+
make haveno-desktop-mainnet
68
+
```
57
69
58
-
## Join the public test network
70
+
###Join the public test network
59
71
60
72
If you want to try Haveno in a live setup, launch a Haveno instance that will connect to other peers on our public test environment, which runs on Monero's stagenet (you won't need to download the blockchain locally). You'll be able to make test trades with other users and have a preview of Haveno's trade protocol in action. Note that development is very much ongoing. Things are slow and might break.
61
73
@@ -69,19 +81,19 @@ Steps:
69
81
6. Now if you are taking a trade you'll be asked to confirm you have sent the payment outside Haveno. Confirm in the app and wait for the confirmation of received payment from the other trader.
70
82
7. Once the other trader confirms, deposits are sent back to the owners and the trade is complete.
71
83
72
-
## Run a local test network
84
+
###Run a local test network
73
85
74
86
If you are a developer who wants to test Haveno in a more controlled way, follow the next steps to build a local test environment.
75
87
76
-
### Run a local XMR testnet
88
+
####Run a local XMR testnet
77
89
78
90
1. In a new terminal window run `make monerod1-local`
79
91
1. In a new terminal window run `make monerod2-local`
80
92
3. Now mine the first 150 blocks to a random address before using, so wallets only use the latest output type. Run in one of the terminal windows opened above:
If you are a *screen* user, simply run `make deploy`. This command will open all needed Haveno instances (seednode, user1, user2, arbitrator) using *screen*.
87
99
@@ -95,14 +107,14 @@ If you don't use *screen*, open 4 terminal windows and run in each one of them:
95
107
96
108
If this is the first time launching the arbitrator desktop application, register the arbitrator after the interface opens. Go to the *Account* tab and press `cmd+r`. Confirm the registration of the arbitrator.
97
109
98
-
### Fund your wallets
110
+
####Fund your wallets
99
111
100
112
When running user1 and user2, you'll see a Monero address prompted in the terminal. Send test XMR to the addresses of both user1 and user2 to be able to initiate a trade.
101
113
102
114
You can fund the two wallets by mining some test XMR coins to those addresses. To do so, open a terminal where you ran monerod and run: `start_mining ADDRESS 1`.
103
115
104
116
monerod will start mining local testnet coins on your device using one thread. Replace `ADDRESS` with the address of user1 first, and then user2's. Run `stop_mining` to stop mining.
105
117
106
-
### Start testing
118
+
####Start testing
107
119
108
120
You are all set. Now that everything is running and your wallets are funded, you can create test trades between user1 and user2. Remember to mine a few blocks after opening and accepting the test trade so the transaction will be confirmed.
0 commit comments