forked from cheapETH/cheapeth-website
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.html
61 lines (48 loc) · 1.54 KB
/
setup.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
<!DOCTYPE html>
<html>
<head>
<link rel="stylesheet" href="style.css" />
<link rel="icon" type="image/ico" href="images/favicon.ico" />
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta
name="description"
content="You like ethereum? You wish you could use it, BUT TRANSACTIONS ARE 100 FUCKING DOLLARS?!? You need cheapETH. It's 100% compatible with eth, except 1000x cheaper!!*"
/>
<title>cheapETH | Setup</title>
</head>
<body>
<pre id="setup">
Instructions for node setup
Create a 600GB storage optimized digital ocean droplet (32 GB ram, 4 CPU)
<hr />
Create a user:
adduser goku
sudo visudo
# goku ALL=(ALL) NOPASSWD:ALL
su goku
cd ~/
mkdir ~/.ssh
cat > ~/.ssh/authorized_keys
wget https://raw.githubusercontent.com/geohot/configuration/master/.tmux.conf
git clone https://github.com/geohot/go-ethereum.git -b cheapeth
cd go-ethereum
sudo apt install make golang-go
make geth
./build/bin/geth --syncmode fast --cache 26000 --rpc --rpcaddr 127.0.0.1 --rpcapi eth,web3,debug,net --rpcvhosts=* --networkid 777 --mine
# for miner (in new window)
# WARNING: CPU MINER NOT GOOD ANYMORE
# USE GPU MINER
geth attach
> personal.newAccount()
> miner.start()
# for GPU miner (after chain is synced)
# download ethminer
ethminer -G -P http://127.0.0.1:8545/
# or if you have friend with chain you can use their ip
# for RPC server, setup nginx
sudo apt-get install nginx
https://www.nginx.com/resources/wiki/start/topics/recipes/geth/
</pre>
</body>
</html>