This repository contains the necessary files and scripts to easily set up and manage a COTI Full Node for the COTI blockchain network.
Visit the Running a COTI Node section of the COTI Documenation for full instructions.
To update your node to the latest version, follow these steps:
-
Clone or Pull Changes: If you don't have the repository cloned, clone it. If you already have it, navigate to the directory and pull the latest changes.
- Clone:
git clone https://github.com/coti-io/coti-full-node.git - Pull:
cd ~/coti-full-nodeand thengit pull
- Clone:
-
Checkout the Tag: Ensure you are on the correct version by checking out the new tag.
git checkout tags/v1.1.4-testnet -
Stop Old Containers: Stop the existing containers by running the stop script.
./stop_coti-full-node.sh -
Start New Containers: Start the new containers with the updated Docker Compose file.
./start_coti-full-node.sh
If you encounter any bugs or issues, please report them by opening an issue on GitHub. Include as much detail as possible, including steps to reproduce the bug, the environment you encountered it in, and any other relevant information.
The stack can run an FRP client (frpc) container that creates an outbound-only tunnel from your node to gateway.fullnode.testnet.coti.io:7000.
- FRPC is used only for JSON-RPC relay to the node RPC service on port
8545. - P2P sync and peer connectivity still use the normal full-node bootnodes and port
7400. - You do not need inbound RPC ports on your home PC for this relay mode.
- Required outbound connectivity for relay is
gateway.fullnode.testnet.coti.io:7000. - Gateway-side routing can forward external requests (for example
https://<node-id>.fullnode.testnet.coti.io/rpc) through FRPS to your FRPC client, then to the local full-node RPC endpoint.
Relevant environment variables are documented in .env.example.
After ./start_coti-full-node.sh, a small local web dashboard helps non-technical operators see whether the node is running, has peers, is syncing, and (when configured) whether DNS/HTTPS or the FRPC gateway look healthy. On the machine where Docker runs, open http://127.0.0.1:8090. It is bound to localhost only and auto-refreshes about every 15 seconds.
If you manage the server over SSH, use port forwarding, for example: ssh -L 8090:127.0.0.1:8090 user@your-node then open http://127.0.0.1:8090 in your desktop browser.