(Updated on 20-11-2018)
The Customer is a Sonm user who rents and uses the computing resources of other users (Suppliers) through the system. Getting started on Sonm as a customer takes several steps, as described below. It includes the installation, settings, and the main steps to execute your task using Sonm.
Linux x86/64 (Debian-based, for example Ubuntu).
Mac and Windows users may use Linux VM.
We also have binaries for Mac and Windows, but it's better to use Linux because SONM Platform works on Linux as system service, and you may use script to install/update your installation to a newer version. If you still want to try SONM as a customer on Mac / Windows, please ask support to give you binaries and appropriate instructions.
sudo bash -c "$(curl -s https://raw.githubusercontent.com/sonm-io/autodeploy/master/sonm-auto-deploy-consumer.sh)"
You may also install the Sonm components manually:
You should have your own Ethereum account to pay for resources in Sonm. Your account is your unique identifier for:
We generate your personal account (UTC/JSON keystore file) during the installation. You can find the keystore path and passphrase with cat
~/.sonm/cli.yaml. Keystore file default location:
If you want to use your existing account, replace the file in the appropriate folder with yours.
To start working with your account:
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".
Also to verify the installation of Sonm CLI component and check your account please start Sonm CLI and use sonmcli login command. There should be no “Enter password” request.
Payments for the resources in Sonm is performed only in Sonm tokens (SNM). You can buy tokens on one of the cryptocurrency exchanges.
You must have on your account enough SNM to pay for the deal and some Ether to pay for the deposit operation (Ethereum transaction fee).
Deposit tokens are the next step for replenishing your balance in the Sonm blockchain, where you rent and pay for resources. You may use the Sonm Market or CLI.
We use special Gate smart contracts and Gatekeeper masternodes to validate transactions for depositing SNM tokens to the Sonm blockchain and withdrawing them to the main Ethereum network. The transactions are not instantaneous – there are delays:
- validation of transactions (including transactions to the blockchain) – this depends on the current workload of the main Ethereum network and your transaction settings ("gas limit" and "gas price");
- quarantine period for the gate – 15 minutes.
Taking this into account, the normal time it takes to deposit funds in the respective other blockchain is <the time it takes to mine your transaction + 15 minutes>.
KYC (Know Your Customer) is a procedure that allows a supplier to confirm the identity of the counterparty (customer) participating in a deal before it is conducted. After undergoing KYC verification, customers can use the resources they have rented on the Sonm platform to run individually created tasks: machine learning, rendering, etc. Users who have not yet passed the KYC procedure can run only the computational tasks included in the Sonm Whitelist.
To complete the KYC procedure and receive “Identified” status, you need to:
To quick rent resources in the Sonm Market:
Order and deal prices on the Sonm marketplace are in USD. Payments are executed in SNM tokens in accordance with the current SNM/USD exchange price. When you open a deal, SNM tokens are transferred from your address to the marketplace smart contract.
To rent resources according to your configurations, use the Sonm CLI:
To execute your task, you should prepare a docker container with it and upload the container to the Docker storage. How to do that.
For now, task execution is possible only through the Sonm CLI. Follow the next steps:
The supplier will receive payment for the deal duration. The rest of the SNM tokens frozen are returned to your account!
See Sonm CLI Guide for additional information about task management.
If you get stuck, help is always available. We provide you with 24/7 technical support. If you experience any errors or difficulties with our product, you can get support via:
Please be ready to provide all the required information to help us solve your issue. Check if your Sonm platform components are working correctly using our self-check guide.
Also, please write up a step-by-step description of the actions that led to the error and provide us with the command outputs.