Manual full node setup (without the wizard)
← Installation (this page is the last subpage under Installation)
This page is the operator-managed path: you install and run a COTI full node using the coti-full-node repository and Docker on your own server — not through the Nodes web app wizard, one-liner installer host, or guided spin-up UI.
New to running a node? Use the wizard first — Installation and UI guide. It is the quickest path for most people; return here only if you intentionally skip the web app.
Web app wizard (recommended for most operators): follow Installation, Server requirements (OS and sizing), and the UI guide. You get the guided flow, installer from the Networks table, HTTPS, and monitoring hooks from the product.
This page (manual path): you clone the repo, configure the host, and run start / stop scripts yourself. Reward eligibility is the same as the wizard path when your node satisfies ecosystem rules (FQDN, JSON-RPC reachability, token holdings, uptime thresholds, etc.) — see Node Ecosystem overview and Installation for authoritative requirements.
For what a COTI node is and why operators run one, see What is a COTI node? and Why run a node?.
Requirements
COTI full node software is published as a Docker image.
Certified operating system, tested Docker/Compose versions, and hardware (CPU, memory, disk by network, example cloud SKUs) are identical for the wizard and this manual path — see Server requirements.
Network Configuration
Open Ports: Protocol and Purpose
You should open the following ports in your host firewall (e.g., UFW) and in your cloud provider’s security groups to permit inbound traffic. Be aware that different ports use different protocols (TCP/UDP) depending on their purpose.
7400
TCP
Peer-to-Peer (P2P) Communication
Data layer used for establishing a connection, exchanging blocks, and synchronizing blockchain data with other nodes.
7400
UDP
Node Discovery (Discv4/Discv5)
Discovery layer used to quickly find the addresses of other nodes on the network, including the bootnodes and all other peers.
8545
TCP
HTTP-RPC API
Used for external applications to query chain data and submit transactions over HTTP.
8546
TCP
WebSocket-RPC API
Used for real-time communication, allowing external applications to receive live updates and subscribe to blockchain events.
Static IP: Required to ensure stable RPC access, enabling continuous health monitoring.
Setting up Your Node Environment
COTI full nodes are run using docker. Docker provides a way for everyone to run battle-tested, reliable images, known to work with the network.
Prerequisites
Docker
Docker Compose
Target the Docker Engine and Compose versions listed under Server requirements → Software stack so your stack matches what COTI certifies.
Installation Steps
Recommended steps:
Set host name (where
<name>is your chosen node name){% code fullWidth="false" %}
{% endcode %}
Update package lists
{% code fullWidth="false" %}
{% endcode %}
Reboot system
{% code fullWidth="false" %}
{% endcode %}
Update OS
{% code fullWidth="false" %}
{% endcode %}
Configure Docker
Add your user to the
dockergroup:{% code fullWidth="false" %}
{% endcode %}
Logout and re-login
{% code fullWidth="false" %}
{% endcode %}
Clone the COTI Full Node project
{% code fullWidth="false" %}
{% endcode %}
Checkout the stable release tag (Recommended):
Replace the tag below with the latest stable release for your network (see Networks release notes and tags in the
coti-full-noderepository).
Configure the environment
Copy
.env.exampleto.envand set at leastNETWORK(testnetormainnet),FULLNODE_FQDN, andFULLNODE_EXT_IPif auto-detection is not suitable. Chain defaults (bootnodes, network id, FRPS regional hosts) load fromnetworks/<NETWORK>.envwhen you runstart_coti-full-node.sh; host values in.envoverride profile defaults.Start Your Node
Navigate to the newly created "coti-full-node" directory
{% code fullWidth="false" %}
{% endcode %}
Execute node start script
Requires Docker Compose v2 (
docker compose). The script pulls the configured image, builds the local operator dashboard image, starts containers, and runs the liveness check.Once the stack has started, the liveness check runs automatically (or run it again manually):
Output example:
Operator status page
After the stack is up, a small local web dashboard helps you see whether the node is running, has peers, is syncing, and (when host Nginx or FRPC with its internal nginx-frpc-gateway is configured) whether DNS/HTTPS or the tunnel gateway look healthy.
Local: http://127.0.0.1:8090 on the host (localhost only; auto-refreshes about every 15 seconds).
Over SSH:
ssh -L 8090:127.0.0.1:8090 user@your-node, then open the same URL in your desktop browser.Public HTTPS (when
NGINX_ENABLED=trueorFRPC_ENABLED=true):https://<your-fqdn>/operator/.
This is separate from the Nodes web app per-operator dashboard at /my-nodes — see the UI guide.
To Check Node Logs
Restarting Your Node
To restart your node follow these steps:
Stop your node
{% code fullWidth="false" %}
{% endcode %}
Start your node
{% code fullWidth="false" %}
{% endcode %}
Node Configuration
Configuration is split between .env (this host) and networks/<network>.env (chain profile). Start/stop scripts load .env, then the network profile, then .env again so host values win on overlap. See Installation → Configuration files for the full table.
If you are running a node without joining the Node Ecosystem rewards program, no further configuration is required beyond choosing the correct NETWORK and ensuring peers can reach you on 7400. Simply ensure you are connected to the network.
For your own domain with HTTPS on the host (what the wizard does with --with-nginx), set at least:
in .env (see .env.example). Do not enable host Nginx and FRPC on the same install — the automated installer rejects that combination. For a COTI-managed tunnel instead, see Wizard tunnel (--with-frp); skip this section.
Nginx and Let's Encrypt (HTTPS on your domain)
Use this when the ecosystem must reach your node at https://<your-fqdn>/rpc (own DNS + TLS on your server). The wizard path is documented in Own domain (Nginx + TLS); here you perform the same steps by hand after cloning the repo.
Authoritative command-line reference: install_coti-full-node.sh — search for SSL AND NGINX SETUP (around lines 601–704). The examples below mirror that script; substitute your FQDN. Nginx upstreams use the Compose service name coti-full-node (container name is coti-<network>-full-node).
Prerequisites
DNS — an A record for your FQDN pointing at this server’s public IP, propagated before you request a certificate (see Own domain).
Ports — 80 and 443 free on the host and allowed through firewall / cloud security groups (in addition to 7400 from Network configuration).
Certbot on the host — the installer installs it with
aptwhen Nginx is enabled:.env—FULLNODE_FQDN,NGINX_ENABLED=true,FRPC_ENABLED=false(see Node configuration above).
Run these steps from the coti-full-node clone root. Prefer doing them before your first ./start_coti-full-node.sh with NGINX_ENABLED=true, or stop the stack (./stop_coti-full-node.sh), configure TLS, then start again.
Step 1 — Prepare Nginx directories
The repo already ships nginx/nginx.conf, nginx/default.conf, and nginx/nginx-init_default.conf for the ACME-only container.
Step 2 — Temporary Nginx for the ACME HTTP-01 challenge
Start the setup profile container (listens on host port 80 only):
This matches the installer’s $DC --profile setup up -d nginx-init ($DC is docker compose).
Step 3 — Obtain a certificate with Certbot (webroot)
Production certificate:
Dry run (Let's Encrypt staging — browsers will not trust the cert; same as installer flag --staging):
Certificates are written under /etc/letsencrypt/live/<fqdn>/ on the host. The main Nginx container mounts /etc/letsencrypt read-only (see docker-compose.yml).
Step 4 — Stop the temporary Nginx
Port 80 must be free for the production Nginx container.
Step 5 — Write the TLS reverse-proxy config
Create ./nginx/sites-enabled/fullnode.conf with the same structure the installer writes: HTTPS on 443 proxying /rpc, /ws, /metrics, and /operator/ to the Docker services, plus HTTP on 80 for /.well-known/acme-challenge/ and redirect to HTTPS.
Copy the server { ... } blocks from install_coti-full-node.sh (lines 626–704), replacing:
$FQDNwith your hostname (e.g.node1.example.com);upstream blocks already reference the Compose service
coti-full-nodeandcoti-operator-dashboard— do not substitute the container name prefix.
Public RPC for monitoring and rewards: https://<your-fqdn>/rpc.
Step 6 — Start the stack with Nginx enabled
Ensure NGINX_ENABLED=true in .env, then:
start_coti-full-node.sh adds --profile proxy-nginx when NGINX_ENABLED is true, which starts the nginx service on ports 80 and 443.
Renewal
Schedule renewal on the host (example monthly cron). Use the same webroot path as issuance:
Adjust the reload command if your Nginx container name differs.
Troubleshooting (Nginx / TLS)
Certbot failed — confirm
dig <fqdn>resolves to this server; wait for DNS; ensure port 80 is reachable from the internet whilenginx-initis up.Port in use — stop other services on 80 / 443 (including a leftover
nginx-initafter a failed run).502 / bad gateway — upstream names in
fullnode.confmust match running compose service names; ensure the full node container is healthy (docker ps,docker logs).
If you prefer not to maintain this by hand, use the own-domain wizard one-liner or run the installer script from the repo with --with-nginx after reviewing install_coti-full-node.sh.
Verifying Node Functionality
Metrics: Visit uptime.coti.io to track performance and status.
Node availability is crucial for the smooth operation of the network. To evaluate node availability, COTI leverages a monitoring platform that publishes this data. A node is considered available if it successfully responds to the
eth_blockNumberrequest. Using this request ensures the node is actively synchronized with the network and functioning correctly.
Incentives
Validation rewards are governed by the Node Ecosystem program (uptime, FQDN reachability, token holdings, epoch cadence, and other thresholds). Exact requirements can change — use the ecosystem documentation, web app, and the Node Economy section of the litepaper as the source of truth.
Licensed full nodes have commonly been expected to sustain high uptime (for example ≥ 98% over an epoch of roughly 103 hours) to remain eligible for validation rewards; confirm the current bar in the Node Ecosystem pages.
Following this manual guide instead of the ecosystem installer does not change those rules: you can still earn rewards when your deployment meets the same eligibility conditions the ecosystem enforces.
Maintenance & Monitoring
Regular Updates: Keep your node software updated to the latest version. This ensures you receive security patches and new features.
Resource Usage: Monitor CPU, RAM, and disk space to ensure uninterrupted operation.
Uptime: Use a process manager (like
systemd) or Docker auto-restart policies to keep your node running if it crashes unexpectedly.
Troubleshooting
Common Issues:
Peer Connection Errors: Ensure your ports are open and your firewall allows inbound connections.
High Resource Usage: Upgrade your hardware or adjust configuration settings to reduce overhead.
Where to Get Help:
FAQ
How many nodes can I run?
There’s no set limit, but each node requires its own resources. Running multiple nodes can help decentralize the network but comes with higher operational costs.
Can I run a node on a VPS or cloud platform?
Absolutely. Just ensure the service meets the hardware, OS, and networking requirements.
Do I earn more rewards by running a more powerful node?
No. Reward eligibility depends on uptime and token holdings (see Eligibility checks), not on hardware beyond what is needed to stay online and synced.
Next Steps
Congratulations on setting up your COTI node using the manual path. Reward eligibility still follows the Node Ecosystem rules linked below.
The following related sections may be helpful:
Node Ecosystem overview — eligibility, thresholds, and the managed experience at testnet.nodes.coti.io / nodes.coti.io, including the guided installer, UI walkthrough, and glossary.
Rewards require a valid FQDN and reachable JSON-RPC. The Node Ecosystem measures uptime by calling your node’s JSON-RPC through the domain you register. A node that syncs locally but is not publicly reachable on a valid FQDN will not accrue credited uptime and will not be eligible for rewards — whether you installed via this manual guide or via the web app wizard. See Installation.
Last updated
Was this helpful?