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
Start truebit-os in the background. You will also need to be running an ipfs daemon on port 5001
28
+
In a separate terminal window start truebit-os in the background.
23
29
24
30
```
25
31
cd truebit-os
@@ -31,7 +37,7 @@ This will start up the shell. We can start a solver on account 1 like so:
31
37
start solve -a 1
32
38
```
33
39
34
-
We need to deploy the Scrypt contract that the webapp will be interfacing with. We can do this by running:
40
+
In a new terminal window, we need to deploy the Scrypt contract that the webapp will be interfacing with. We can do this by running:
35
41
36
42
```
37
43
node deploy.js
@@ -46,9 +52,9 @@ node index.js
46
52
47
53
And navigate to `localhost:3000` in a MetaMask compatible browser.
48
54
49
-
Make sure to connect MetaMask to localhost:8545, and send the initial account some Ether so it can send transactions.
55
+
Make sure to connect MetaMask to localhost:8545, and send the initial account some Ether so it can send transactions. The easiest way is to import the private key of an account in `ganache-cli` and then send some Ether to Account 1.
50
56
51
-
Once you send the transaction it will wait for the task to complete. The TrueBit task requires to periods of timeouts so you will need to use the skip command in the truebit-os shell.
57
+
Once you enter some text, and press Submit. It will fire off a TrueBit task and wait for the task to complete. The TrueBit task requires two periods of timeouts so you will need to use the skip command in the truebit-os shell.
52
58
53
59
For best results (skip can be a bit finnicky):
54
60
```
@@ -63,5 +69,5 @@ skip 300
63
69
skip 300
64
70
```
65
71
66
-
Task is finalized, and result should show up on the web page.
72
+
Once the task is finalized the results should show up on the web page.
0 commit comments