Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
28 changes: 14 additions & 14 deletions src/running-a-node.md
Original file line number Diff line number Diff line change
Expand Up @@ -78,10 +78,10 @@ If something went wrong, please visit the [Docker documentation](https://docs.do

## Get the latest SORA Node version number

Users should use version **4.6.0** for the time being. We will update this article with the latest version after every update.
Users should use version **4.7.0** for the time being. We will update this article with the latest version after every update.

You should use the latest SORA Node version in order to run a
node. You can see the latest build number here, and find the last
node. You can see the latest build number [here](https://hub.docker.com/r/sora2/substrate/tags), and find the last
version with the`x.y.z` format.

![](/.gitbook/assets/running-node-version-tag.png)
Expand All @@ -95,7 +95,7 @@ Use this version number for further `docker` commands in this guide. The number
1. Pull the docker image from the docker repository:

```bash
docker pull sora2/substrate:4.6.0
docker pull sora2/substrate:4.7.0
```

2. Create a folder for the node configuration:
Expand Down Expand Up @@ -123,15 +123,15 @@ Use this version number for further `docker` commands in this guide. The number
4. Run the docker image (don’t forget to insert your version below!)

```bash
docker run --rm -p 127.0.0.1:9933:9933 -p 127.0.0.1:9944:9944 -v `pwd`:/chain sora2/substrate:4.6.0 --name sora2-node --chain main --base-path /chain --unsafe-ws-external --unsafe-rpc-external --wasm-execution compiled
docker run --rm -p 127.0.0.1:9933:9933 -p 127.0.0.1:9944:9944 -v `pwd`:/chain sora2/substrate:4.7.0 --name sora2-node --chain main --base-path /chain --unsafe-ws-external --unsafe-rpc-external --wasm-execution compiled
```

### On Windows

1. Pull the docker image from the docker repository:

```bash
docker pull sora2/substrate:4.6.0
docker pull sora2/substrate:4.7.0
```

2. Create a folder for the node configuration:
Expand All @@ -151,7 +151,7 @@ Use this version number for further `docker` commands in this guide. The number
4. Run the docker command:

```bash
docker run --rm -p 127.0.0.1:9933:9933 -p 127.0.0.1:9944:9944 -v sora2-node:/chain -u 0 sora2/substrate:4.6.0 --name sora2-node --chain main --base-path /chain --unsafe-ws-external --unsafe-rpc-external --wasm-execution compiled
docker run --rm -p 127.0.0.1:9933:9933 -p 127.0.0.1:9944:9944 -v sora2-node:/chain -u 0 sora2/substrate:4.7.0 --name sora2-node --chain main --base-path /chain --unsafe-ws-external --unsafe-rpc-external --wasm-execution compiled
```

5. Now you can connect to your node with [polkadot.js apps](https://polkadot.js.org/apps/#/explorer). Select Local node and click Switch.
Expand All @@ -167,7 +167,7 @@ Now your node should sync!
1. Pull the docker image from the docker repository:

```bash
docker pull sora2/substrate:4.6.0
docker pull sora2/substrate:4.7.0
```

2. Create a folder for the node configuration
Expand Down Expand Up @@ -195,7 +195,7 @@ Now your node should sync!
4. Run the Docker command:

```
docker run --rm -p 127.0.0.1:9933:9933 -p 127.0.0.1:9944:9944 -v `pwd`:/chain sora2/substrate:4.6.0 --name sora2-node --chain main --base-path /chain --validator --rpc-methods Unsafe --rpc-cors all --execution Wasm --wasm-execution compiled
docker run --rm -p 127.0.0.1:9933:9933 -p 127.0.0.1:9944:9944 -v `pwd`:/chain sora2/substrate:4.7.0 --name sora2-node --chain main --base-path /chain --validator --rpc-methods Unsafe --rpc-cors all --execution Wasm --wasm-execution compiled
```

You can add the following flag to enable [Telemetry](https://telemetry.polkadot.io/#list/SORA) for your node
Expand All @@ -207,7 +207,7 @@ Now your node should sync!
1. Pull the docker image from the docker repository

```
docker pull sora2/substrate:4.6.0
docker pull sora2/substrate:4.7.0
```

2. Create a folder for the node configuration
Expand All @@ -227,7 +227,7 @@ Now your node should sync!
4. Run the Docker command

```
docker run --rm -p 127.0.0.1:9933:9933 -p 127.0.0.1:9944:9944 -v `pwd`:/chain sora2/substrate:4.6.0 --name sora2-node --chain main --base-path /chain --validator --rpc-methods Unsafe --rpc-cors all --execution Wasm --wasm-execution compiled
docker run --rm -p 127.0.0.1:9933:9933 -p 127.0.0.1:9944:9944 -v `pwd`:/chain sora2/substrate:4.7.0 --name sora2-node --chain main --base-path /chain --validator --rpc-methods Unsafe --rpc-cors all --execution Wasm --wasm-execution compiled
```

## Get session keys
Expand Down Expand Up @@ -345,7 +345,7 @@ You can change the name of your node by editing the parameter value of:
1. Pull the docker image from the docker repository

```bash
docker pull sora2/substrate:4.6.0
docker pull sora2/substrate:4.7.0
```

2. Create a folder for the node configuration
Expand Down Expand Up @@ -373,15 +373,15 @@ You can change the name of your node by editing the parameter value of:
4. Run the Docker command

```bash
docker run --rm -p 127.0.0.1:9933:9933 -p 127.0.0.1:9944:9944 -v `pwd`:/chain sora2/substrate:4.6.0 --name sora2-my-node --chain main --base-path /chain --unsafe-ws-external --pruning archive --unsafe-rpc-external --wasm-execution compiled
docker run --rm -p 127.0.0.1:9933:9933 -p 127.0.0.1:9944:9944 -v `pwd`:/chain sora2/substrate:4.7.0 --name sora2-my-node --chain main --base-path /chain --unsafe-ws-external --pruning archive --unsafe-rpc-external --wasm-execution compiled
```

### On Windows

1. Pull the docker image from the docker repository

```bash
docker pull sora2/substrate:3.2.2
docker pull sora2/substrate:4.7.0
```

2. Create a folder for the node configuration:
Expand All @@ -401,7 +401,7 @@ You can change the name of your node by editing the parameter value of:
4. Run the Docker command:

```bash
docker run --rm -p 127.0.0.1:9933:9933 -p 127.0.0.1:9944:9944 -v sora2-node:/chain -u 0 sora2/substrate:4.6.0 --name sora2-my-node --chain main --base-path /chain --unsafe-ws-external --pruning archive --unsafe-rpc-external --wasm-execution compiled
docker run --rm -p 127.0.0.1:9933:9933 -p 127.0.0.1:9944:9944 -v sora2-node:/chain -u 0 sora2/substrate:4.7.0 --name sora2-my-node --chain main --base-path /chain --unsafe-ws-external --pruning archive --unsafe-rpc-external --wasm-execution compiled
```

The node will take some time to sync. The output in logs should look like this:
Expand Down