diff --git a/.idea/.gitignore b/.gitignore similarity index 59% rename from .idea/.gitignore rename to .gitignore index 27f403a..e9ab013 100644 --- a/.idea/.gitignore +++ b/.gitignore @@ -1,3 +1,3 @@ -# IDEs -.idea -.vscode +# IDEs +.idea +.vscode \ No newline at end of file diff --git a/README.md b/README.md index 6c977b0..1274b9a 100644 --- a/README.md +++ b/README.md @@ -45,14 +45,26 @@ If you prefer a custom PostgreSQL setup, ensure it meets the requirements specif ### 3. Deploy TSN Node +#### 3.1. Install PSQL + +To be able to Snapshot from the network, you need to have `psql` installed on your machine. You can install it by running: + +```bash +sudo apt -y install postgresql +``` + +#### 3.2. Run TSN Binaries Run the TSN binaries to deploy your node: ```bash -kwild --root-dir ./my-peer-config/ +kwild --root-dir ./my-peer-config/ --chain.statesync.enable=true --chain.statesync.rpc-servers='http://18.189.163.27:26657' ``` Ensure your firewall allows incoming connections on the JSON-RPC port (default: 8484) and P2P port (default: 26656). +The `--chain.statesync.enable` and `--chain.statesync.rpc-servers` flags are optional and only needed if you want to enable state sync on your node. +It will help your node to sync faster with the network with the snapshot provided by the RPC servers. + ### 4. Become a Validator (Optional) To upgrade your node to a validator: