Operate a node
Today the network runs only the 4 storage nodes operated by the project. A beta for outside operators is being prepared, on IOTA testnet and by invitation: the project adds each node to the committee allowlist. This page explains what a node does and how one is set up and joins the network.
What a storage node does
- Follows IOTA. It reads the epoch, the committee and its shards from the
Stakingobject, and follows the events of theiota_storagepackage (registrations, certifications, renewals, deletions). - Stores data. It accepts the metadata and the slivers of registered blobs for its shards, checks the metadata against the blob ID and each sliver against the metadata, and keeps them on disk. What it stored is never replaced. It bounds the uploads it receives at once and the time each one takes (limits).
- Signs confirmations. When it has the metadata and all its slivers of a blob, it signs a confirmation with its BLS key. Clients aggregate these confirmations to certify the blob on IOTA.
- Serves reads of metadata and slivers through its HTTP API.
- Deletes expired data, when a blob ID has no valid registration left.
- Proves that it keeps its data. Every epoch it challenges the other nodes of the committee and
answers their challenges. With the signatures of nodes holding a quorum of shards, it submits its
storage certificate (
system::certify_storage). A node that ends the epoch without one gets no rewards for it (storage challenges). - Advances the epochs. It calls
voting_endhalfway through the epoch,initiate_epoch_change_v2at its end, andepoch_sync_doneonce it is ready for the new epoch. If another node did it first, nothing is spent. It sends its transactions one at a time, each once the previous one is final: two at once with the same key could take the same coins and leave them locked until the end of the IOTA epoch.
It keeps its state on disk (event cursor, index of blobs and confirmed epochs), so it continues where it left off after a restart.
Software
The node is written in Node.js, with the REST API, the BCS formats
and the RS2 encoding described in these pages. During the beta, the project gives the node
software to the invited operators. It comes with the operator kit, operator.mjs: a command
line that creates the node's keys, registers it on IOTA, deposits its bond and its stake, writes the
configuration of the proxy and of the service, and checks the node (status). The node itself runs
with serve.mjs.
On the project's server each node is a systemd service with its own system user that only receives its own keys: its operator key and its BLS key. Its network key is only held by the proxy in front of it, which presents its TLS certificate (TLS and the network key). The kit sets up an outside node the same way.
What you need
- A server with Linux and systemd, Node.js 22, a public IP address with ports 80 and 443 open, and disk for the data of its shards: the node votes for the capacity it offers.
- A DNS name for the node (for example
node.example.com) pointing to that server. Its network address is that name and port 443. - Caddy in front of the node: it gets the node's TLS certificate from Let's Encrypt with its network key and renews it.
- IOTA in the operator account:
- gas: the node pays for its own transactions every epoch and, when it is the first to send them,
for the committee election and the epoch change, which cost more the larger the committee
(about 0.03 IOTA an epoch with 5 nodes, 0.4 with 50 and 1.4 with 100).
operator.mjs statussays what to keep: 0.5 IOTA is enough for a small committee; - the operator bond: at least 5 IOTA on testnet, better 10;
- stake: at least 1 IOTA. Shards are assigned by stake.
- gas: the node pays for its own transactions every epoch and, when it is the first to send them,
for the committee election and the epoch change, which cost more the larger the committee
(about 0.03 IOTA an epoch with 5 nodes, 0.4 with 50 and 1.4 with 100).
On testnet, IOTA comes from the faucet.
Set up a node
With the software in place (the commands run from its client directory, as root), step by step:
-
Create the node's directory. It takes the network from the app's configuration:
node operator.mjs init /etc/iota-storage-node --network https://app.iotastorage.com/config.json \--name "My node" --address node.example.com:443It writes three files, readable only by root:
network.json(the network's IDs),node.json(the node, its operator key and its BLS key) andnetwork.key(the network key, for Caddy). It prints the operator account's address: send IOTA to it. -
Put Caddy in front.
node operator.mjs caddy /etc/iota-storage-nodewrites the Caddyfile and prints the commands that putnetwork.keywhere Caddy keeps the key of the node's certificate, before Caddy starts with it. The certificate must have that key: with another one, the clients do not talk to the node. -
Register the node on IOTA:
node operator.mjs register /etc/iota-storage-node --commission 10 --capacity 100It registers the name, the network address, the keys (with a proof of possession of the BLS key), the commission (a percentage of the node's rewards) and its votes: the current prices of the network and the capacity in GiB. The node's ID and its
StorageNodeCapare saved innode.json. -
Deposit the bond and stake:
node operator.mjs bond /etc/iota-storage-node deposit 10node operator.mjs stake /etc/iota-storage-node 1With
--key <file>, the stake comes from another account, which receives the stake receipt. -
Hand over the node's powers to a key kept offline:
node operator.mjs hand-over /etc/iota-storage-node <address of a key kept offline>The operator key has to be on the server, because the node signs with it every epoch. Without this step, whoever entered the server could vote for the node, collect its commission and take its bond. After it, that key signs (
--key) the withdrawal of the bond and the collection of the commission. Do it before running the node: while it runs, the kit does not sign with the operator key (keeping the node running). -
Run the node.
node operator.mjs service /etc/iota-storage-nodewrites the systemd unit and prints how to install it. The service runs with its own dynamic user, receives onlynode.jsonandnetwork.json, and keeps its data in/var/lib/iota-storage-node. Its log:journalctl -u iota-storage-node. -
Join the committee. During the beta, send the node ID (in
node.jsonand instatus) to the project, which adds it to the committee allowlist. The node gets shards at the next committee election, halfway through an epoch, and from the next epoch on it stores data. -
Check it:
node operator.mjs status /etc/iota-storage-node. It says what the chain knows of the node (stake, bond, allowlist, committee and shards, storage certificate, governance and commission), whether the account has enough gas, whether the node answers at its network address with a certificate for its network key, and whether the app talks to it.✘marks what keeps it out of the committee or the clients from reaching it. Those who stake see the node in the Nodes tab of the app, with its commission, bond and storage proofs (see Compare the storage nodes): its name shows only if it is plain (letters, digits,-,_and., up to 40 characters).
Joining the committee
On-chain, a node joins with IOTA:
staking::register_candidate: registers the node with its name, network address, BLS public key and proof of possession of that key, network public key, commission, the storage and write prices it votes for, and its capacity. The operator receives aStorageNodeCap.staking::deposit_bond: the operator bond (from version 9 ofiota_storage).staking::stake_with_pool: stake of at least 1 IOTA on the node.- At the committee election, halfway through each epoch, the committee of the next one is chosen by stake and shards are assigned to its nodes.
While the network is not open to third-party operators, only the nodes on the committee
allowlist (staking::committee_allowlist, kept by the project) can be selected: anyone can
register a node and stake on it, but it gets no shards. This keeps someone with a little stake
from taking more than a third of the shards of a network whose total stake is still small. During
the beta, the project also caps how much of the stake of each outside node counts in the election,
for the same reason.
The address that registers a node governs it: it votes on its behalf for upgrades of the package
(upgrade::vote_for_upgrade) and for slashing other nodes. Its commission is collected with its
StorageNodeCap, and so is its bond withdrawn. The node uses that operator key every epoch, so it
has to be online: to keep a stolen server from voting, collecting or taking the bond, hand them over
to a key you keep offline (operator.mjs hand-over, with staking::set_governance_authorized,
staking::set_commission_receiver and staking::set_bond_owner). The project's nodes hand their
governance over to the project's timelock and their commission and bond
to its multisig.
The network address (for example node-1.iotastorage.com:443) is where clients reach the node,
over HTTPS with its network key (TLS and the network key). Nodes also
talk to each other there: to fetch the
data they lack and the slivers of the shards they gain, and to invalidate badly encoded blobs (see
storage nodes). A node that gains shards
confirms the new epoch only once it has their data, or after waiting 1/24 of the epoch (an hour with
epochs of a day); what it still lacks then, it keeps fetching, and it needs it for the storage
challenges of the epoch. So a new node with a lot of stake needs time and bandwidth to catch up at
its first change of epoch.
The network address is just a host and a port: a DNS name or a public IP address (an IPv6 one goes
in brackets). Clients and the other nodes do not talk to a node registered on their own machine or
on a private network: localhost, 127.0.0.1, 10.x, 192.168.x, .local or .internal names,
and the like. Neither do the reference client, the aggregator and the other nodes when its DNS name
resolves to one of those addresses. For them, such a node is down.
The app runs in the browser, and its security policy
(Content-Security-Policy) only lets it connect to the nodes it lists. Each time the project
publishes the app, it lists the nodes of the committee, of the next one and of the committee
allowlist, once it has checked that their names resolve only to public addresses. A node that
joins, or that changes its network address, is not used by the app until the project publishes it
again (the project's monitoring warns about it); the reference client, the aggregator, the publisher
and the other nodes use it at once. The policy cannot name an IPv6 address: for the app, give the
node a DNS name. operator.mjs status says whether the app talks to the node.
The operator bond
From version 9 of iota_storage, the operator of each node deposits IOTA of their own as a bond
(staking::deposit_bond). It is kept apart from the stake: it gives no shards and no rewards, and
penalties come out of it first, so those who stake on a node only risk their rewards, never their
IOTA. On testnet:
- A node with less than 5 IOTA of bond, or whose withdrawal was requested, does not enter the committee (from version 10, on testnet since 2026-10-28, not even the active set the committee is elected from).
- Each epoch the node ends in the committee without a storage certificate costs 2 % of that minimum (0.1 IOTA), besides its rewards of the epoch; each slashing, 25 % (1.25 IOTA). Both go to the treasury. With 10 IOTA, a few penalties do not leave the node below the minimum.
- Its owner (the
StorageNodeCapuntil it is handed over) withdraws it: it requests the withdrawal (operator.mjs bond <dir> request), the node leaves the committee at the next election, and 4 epochs later, with the node out of the committees, it withdraws it (bond <dir> withdraw).
Keeping the node running
- Gas.
statuswarns when the operator account has less than it should. If no node of the committee can pay for the epoch change, the epoch does not advance. - Updates. Changes of the network's contracts go through the timelock and are public two epochs before they apply. The node software has to be updated before an upgrade applies: the project announces each one to the operators.
- The operator key, with the node stopped. The node signs with the operator key, so the kit
does not sign with it while the node runs (its unit is active, or it answers at its local port or
at its network address): two transactions of the same key at once can take the same coins or the
StorageNodeCapand leave them locked until the end of the IOTA epoch, with the node unable to confirm its epochs. For what that key signs (votes,address, depositing bond,hand-over, and stake, commission or bond without--key), stop the node (systemctl stop iota-storage-node), run the command and start it again (systemctl start iota-storage-node). What another key signs (--key) can go with the node running. - Votes.
operator.mjs votes <dir> --capacity <GiB>changes the capacity the node offers, and--storage-priceand--write-pricethe prices it votes for (nanos of IOTA per MiB). The network takes the lowest price voted by a quorum of the committee. - Commission.
operator.mjs commission <dir>says what is pending, andcommission <dir> collectcollects it (signed by whoever it was handed over to, with--key). - Leaving. Request the withdrawal of the bond and wait for the node to leave the committee: the
other nodes take over its shards and fetch their data. Stop the node only then. After that,
operator.mjs stake <dir> withdrawtakes the stake out, and the bond is withdrawn after its delay.
TLS and the network key
A node registers a network key on IOTA (secp256r1, network_public_key), and that key is the key
of its TLS certificate. The reference client, the aggregator, the publisher and the other nodes only
talk to a node if its TLS connection is made with the key registered for it. For them, who signed
the certificate does not count: a node is identified by IOTA, not by DNS or by a certificate
authority. A connection with another key is closed before anything is sent.
Browsers cannot check that key, so they apply the usual certificate checks. A public node therefore
needs a certificate from a certificate authority issued for its network key: for example from
Let's Encrypt, requested with that key and with the same key at each renewal. The network's nodes
work this way: on the project's server, the proxy in front of them requests and renews each node's
certificate with its network key, and the operator kit sets up Caddy to do the same
(operator.mjs caddy). A node that only serves clients outside the browser can use a self-signed
certificate of its network key.
The operator changes the key with staking::set_network_public_key, which applies at once:
clients use the new key from then on, and the other nodes from the next epoch at the latest.
Content and the law
A storage node keeps and serves what anyone pays to store, so its operator is a hosting provider:
when it learns that some content is illegal (a notice, an order of an authority), it has to stop
serving it quickly, and delete it when the law requires it (in the EU, the Digital Services Act). The
node does it with its operator's blocklist, a JSON file that it reads again whenever it changes,
without restarting. The kit's service reads it from /etc/iota-storage/blocklist.json; without that
file, nothing is blocked.
{
"blobs": [
{ "id": "<blob ID>", "note": "notice of 2026-10-26" },
{ "id": "<blob ID>", "delete": true, "note": "order of …" }
]
}
- A blocked blob is not served outside the committee (answer 451), and the other nodes still get it, so it is stored and challenged like any other. Taking it off the list undoes it.
- With
"delete": true, for content that is illegal to keep at all, the node deletes its data, neither serves nor stores it, and, together with the other nodes whose operators also list it, deletes it from the network (delete_deny_listed_blob, with nodes holding f + 1 shards). That cannot be undone. noteis only for you: write down the notice or the order and its date.
During the beta, the project passes on the notices it receives to the operators. Check also the terms of your hosting provider: some do not allow nodes of crypto networks on their servers.
Current limitations
- Nodes keep serving reads during storage challenges, so a challenge does not prove possession cryptographically: a node that lost its data and sat very close to the other nodes could rebuild it in time. Challenges make not keeping the data slow and costly.
- The kit does not vote for upgrades or slashings yet: during the beta, the project's nodes hold the quorum.