Skip to content
Snippets Groups Projects
Commit 4462748f authored by Patrick Elsen's avatar Patrick Elsen
Browse files

instructions: fixes formatting

Change-Id: Ib1c5da7008666c1f8fb10ca7fe529f0454c10a9a
parent bdfff40a
No related branches found
No related tags found
No related merge requests found
......@@ -2,22 +2,27 @@
These instructions are valid for OS X and Linux hosts, Windows hosts should check the syntax.
Step 1: Get the latest Go-Ethereum client from https://geth.ethereum.org/downloads/
Step 2: Unzip the contents of the tar archive above to a location on your computer - for the rest of the guide we assume you are on a Linux machine and you have unzipped the contents to /home/jamichain - you can use a different location, in which case please make sure to use it for the rest of the instruction guide
Step 3: Copy the geth executable (just a file) to /home/jamichain and delete the tar archive and the left-over directory
Step 4: Inside /home/jamichain create a folder called data
Step 5: Copy the genesis.json file from this repository into /home/jamichain
Step 6: Inside the /home/jamichain run the command ./geth --datadir data/ init genesis.json (if the command fails check that the data folder has been created and that you are allowed to execute geth)
Step 7: Run the command geth --datadir=/home/jamichain/data --syncmode=full --networkid 1551 --rpc --rpcaddr 0.0.0.0 --rpcapi "eth,net,web3,personal,admin" --bootnodes "enode://11ba6d3bfdc29a8afb24dcfcf9a08c8008005ead62756eadb363523c2ca8b819efbb264053db3d73949f1375bb3f03090f44cacfb88bade38bb6fc2cb3d890a5@173.231.120.228:30301" console
1. Get the latest Go-Ethereum client from <https://geth.ethereum.org/downloads/>
2. Unzip the contents of the tar archive above to a location on your computer - for the rest of the guide we assume you are on a Linux machine and you have unzipped the contents to `/home/jamichain` - you can use a different location, in which case please make sure to use it for the rest of the instruction guide
3. Copy the geth executable (just a file) to `/home/jamichain` and delete the tar archive and the left-over directory
4. Inside `/home/jamichain` create a folder called data
5. Copy the `genesis.json` file from this repository into `/home/jamichain`
6. Inside the `/home/jamichain` run the command
./geth --datadir data/ init genesis.json
The above steps will allow you to sync with the Jami blockchain in read-only mode (i.e. you cannot mine blocks - however you can submit transactions).
If the command fails check that the data folder has been created and that you are allowed to execute geth.
7. Run the command
geth --datadir=/home/jamichain/data --syncmode=full --networkid 1551 --rpc --rpcaddr 0.0.0.0 --rpcapi "eth,net,web3,personal,admin" --bootnodes "enode://11ba6d3bfdc29a8afb24dcfcf9a08c8008005ead62756eadb363523c2ca8b819efbb264053db3d73949f1375bb3f03090f44cacfb88bade38bb6fc2cb3d890a5@173.231.120.228:30301" console
The above steps will allow you to sync with the Jami blockchain in read-only mode (i.e. you cannot mine blocks - however you can submit transactions).
## Running as a SystemD Service
If you want to run the Jami blockchain as a SystemD service, you can use the following example file (call it jami.service in your SystemD script directory):
```toml
[Unit]
Description=Geth Node
[Service]
......@@ -27,8 +32,6 @@ Restart=always
User=geth
[Install]
WantedBy=multi-user.target
```
Please note that the --rpc, --rpcaddr and --rcpapi are OPTIONAL. You are welcome not to include them if you do not want to access the node via JSON-RPC.
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment