(Updated on 29-10-2018)
Supplier is Sonm user, who owns computational resources and provides it to Sonm for rent. Suppliers can earn tokens by selling computing power peer-to-peer to customers and performing their calculations.
Getting started as a Sonm supplier requires several steps we describe below. It includes installation, settings and monitoring the process.
You'll need to consider the following before starting the installation:
Every supplier should have an Ethereum address as his unique identifier. This address is called “Master address”, and is used for:
Do not use your main Ethereum address for master purpose! Better option is to generate a new one in Sonm GUI.
Better option is to keep safe your Master address and use Admin address instead. Admin key do not receive payment for rented resources and used only for worker node management and authentication purposes within Sonm network.
To create your Master address:
DON'T FORGET to make a BACK-UP of your KEYSTORE or WHOLE WALLET. You cannot get access to your funds if you loose the keystore.
To export wallet:
- Click the "Export wallet" button on the "Accounts" page.
- Choose the local folder and click "Save".
Supplier should have the following components to use Sonm:
Notice. After installation Sonm Optimus starts to sell your computing resources automatically. You will get income in SNM tokens to your Master account.
There are three ways to install Sonm components for supplier. Choose appropriate one. We recommend you to use the Sonm OS.
Sonm OS is an operating system designed specifically to help suppliers of computing resources connect to the decentralized Sonm platform and start work as easily and quickly as possible. Sonm OS is based on Ubuntu 18.04 Server edition and include all Sonm components and environment for supplier. To install Sonm OS follow the guide steps.
Follow the steps below:
Open cmd and execute these commands:
sudo apt-get install curl;
sudo bash -c "$(curl -s https://raw.githubusercontent.com/sonm-io/autodeploy/master/sonm-auto-deploy-supplier.sh)" -s YOUR_MASTER_ADDRESS
Warning! Do not leave “pass_phrase” field blank!
sonmcli token balance.
Sonm Worker launches several benchmarks on it's first start. You can check them and any tasks running through your machine using a command:
sudo docker ps.
Notice. Sonm Worker may not respond during benchmarking process. So you need to wait until their completion. In case you have several GPU on board, benchmarking process may take about ~1 hour.
sonmcli master list <MASTER_ADDR>.
sonmcli master list <MASTER_ADDR>again
sonmcli worker status.
sonmcli worker devices.
Video version of Sonm platform installation using auto-installation script:
You also may perform configuration manually:
sonmcli loginto generate new Ethereum address (this will create new UTC/JSON keystore with given passphrase, it will be your Admin address);
sudo service sonm-worker start;
sudo nano /etc/sonm/node-default.yaml:
sudo service sonm-node start.
Maintenance mode allows to gracefully shut down your worker instance for maintenance without risk of being blacklisted by Customers/Connor bots. It will stop the tasks, remove sell orders from Market, close all deals automatically. Maintenance mode can be engaged via maintenance scheduler in Sonm CLI.
Read the article to use the maintenance mode.
Withdraw operation is needed to transfer your earned tokens from Sonm blockchain to Ethereum blockchain.
In Sonm CLI use command:
sonmcli token withdraw <amount>.
In Sonm GUI go to “Market” -> “Withdraw” and follow the guide steps.
We use special Gate smart contracts and Gatekeeper masternodes to validate transactions for deposit SNM tokens to Sonm blockchain and withdraw them to main Ethereum network. Transactions are not rapid, there are delays for:
- validate transaction (include transaction to the block) - this depends on current workload of the main Ethereum network and transaction settings you set ("gas limit" and "gas price");
- quarantine period for the gate - 15 minutes.
Taking this into account, the normal time to deposit funds in the opposite blockchain is: <the time of mining your transaction + 15 minutes>
If you get stuck, help is always at hand. We are providing you with a 24/7 technical support.
If you experience any errors or difficulties with our product, you can get support via:
Be ready to provide all the required information that will help us to solve your issue.
Check if your SONM platform components working correctly. Do it using our self-check guide.
Also, please make step-by-step description of actions that led to the error and provide us with command outputs.