-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy pathgui.sh
More file actions
executable file
·21 lines (15 loc) · 796 Bytes
/
gui.sh
File metadata and controls
executable file
·21 lines (15 loc) · 796 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#!/bin/bash
# creategeth.ipc
./log_nodeInfo.sh
networkId=4828
port=30303
rpcport=8545
echo "exit" |geth --verbosity 2 --datadir=$PWD/simbel/data --networkid "$networkId" --port "$port" --rpc --rpcport "$rpcport" console
# before starting DDASH, need to start IPFS andgeth daemons
#tmux new-session -d -sgeth geth --verbosity 2 --datadir=$PWD/simbel/data --networkid 4828 --port 30303 --rpcapi=\"db,eth,net,personal,web3\" --rpc --rpcport 8545 console"
tmux kill-session -tgeth
tmux kill-session -t ipfs
tmux new-session -d -sgeth geth --verbosity 3 --datadir=$PWD/simbel/data --networkid $networkId --port $port --rpcapi=\"db,eth,net,personal,web3\" --rpc --rpcport $rpcport --mine --minerthreads=1 console"
tmux new-session -d -s ipfs 'ipfs daemon'
sleep 5
python $PWD/simbel/main.py