Welcome to the Secret Nodes Cookbook, a living document where you can learn everything you need to know about Secret Nodes.
Last update — July 1st, 2020
Hello, Secret Agents! Today, we’re focusing on a key aspect of the Secret Network: Secret Nodes.
Here you will find a “table of contents” for all information related to “secret nodes”, the worker nodes on the Secret Network that perform privacy-preserving computations. When you operate a secret node, you are helping secure the decentralized web and providing much-needed data privacy for public blockchains and secret contracts. You're also earning fees and block rewards in return for staking your SCRT and keeping your node operational!
This blog post is primarily structured as an FAQ, answering critical questions about secret nodes and how you can participate in the Secret Network. Below is a list of questions that will be addressed in this post, followed by answers. We hope this thorough guide is helpful, well-explained, and exciting!
- What is a “secret node”?
- What is SCRT, and how is it used?
- Is there a minimum stake to operate a secret node?
- What is delegation?
- What do I get for operating a secret node? What is ROI?
- How can I run a secret node?
- What are hardware and software requirements?
What is a “secret node”?
Secret Network is a decentralized network of computers ("secret nodes") that utilize trusted execution environments (TEEs) to protect data-in-use, keeping data encrypted and "secret" at all times. This means that even the nodes in the network cannot see the data being used for computations. These computers are run by community members all over the world, and they help keep the network secure.
What is SCRT, and how is it used?
Secret Network is secured by the SCRT coin (Secret), which is used for fees, staking, and governance. That means nodes in the network receive fees and block rewards in SCRT, and they must stake SCRT in order to operate. When nodes go offline, they can be "slashed" and lose a portion of their SCRT stake.
Secret nodes can create and vote on governance proposals using SCRT, allowing for decentralized control of the network by the community. Most network parameters, such as the inflation rate, are decided through on-chain governance.
Is there a minimum stake to operate a secret node?
There is technically no minimum SCRT stake for a secret node. However, only the largest 80 nodes in the network as measured by SCRT stake are treated as active validators. If a new secret node joins the network with a larger SCRT stake than the smallest node, that smallest node is no longer treated as active.
What is delegation?
If you have SCRT coins but do not want to run your own node, delegation is a great option! Delegation involves giving some of your staking power to a specific validator on Secret Network, who will then give you a share of their fees and rewards. If there is an on-chain governance vote, a delegator's vote will be the same as their validator's, unless the delegator changes their own vote manually. Since at present there can only be 50 active nodes on the network, delegators play a crucial role in decentralization.
What do I get for operating a secret node? What is ROI?
Operating a secret node requires electricity, hardware, upkeep, and attention. In return, node operators receive a share of network fees and block rewards.
Secret Network is inflationary, meaning new SCRT is created over time and distributed to node operators based on the current inflation rate for the network. Returns for node operators depend on this inflation rate and the number of tokens staked in the network. You can find the current inflation rate, total supply of SCRT, and the number of tokens staked with the Secret Nodes block explorer.
If you want to calculate your potential return as a secret node operator or delegator, use the Secure Secrets validator ROI calculator or follow the examples below:
Say there are 100M SCRT coins in total. Annual network inflation is 15%. 50M of the 100M SCRT coins are currently being staked or delegated. There is no community tax.
(100M total / 50M staked) * 15% inflation = 30% ROI for validators (not including any fees they may earn!)
Say there are 100M SCRT coins in total. Annual network inflation is 12%. 25M of the 100M SCRT coins are currently being staked or delegated. There is a 25% community tax, meaning 25% of all block rewards goes to an on-chain community pool.
(100M total / 25M staked) * 12% inflation = 48% ROI for validators pre-tax, 36% ROI for validators post-tax.
How can I run my own secret node?
This gets technical, but if you're ready to get your hands dirty, here's what to do:
- Go here to check out the list of supported hardware
- Head over to our Node Setup guide for the steps to set up your secret node
- Once you have your node set up, secure it by following these best practices
What are hardware and software requirements?
Here you can find a list of supported CPUs and motherboards that'll allow you to run a secret node. Be aware that your CPU must support SGX via SPS—CPUs that only support SGX via IntelME will not work.
Secretnodes.org runs a secret node on mainnet and is a key contributor to the Secret Network ecosystem.
Join our community on Telegram! Contact us if you'd like to contribute anything to this guide.
To discuss Secret Network and join our community, visit our official channels:
Website | Forum | Twitter | Discord | Telegram