Linux Setup Guide for VideoCoin Worker

How to set up a VideoCoin Worker

VideoCoin Workers accept video workloads from the VideoCoin Network, processes and submits it back to the network. This worker is available as a convenient Docker Image that can run on Linus.

Create an account on VideoCoin Console

You can sign up here https://console.videocoin.network/sign-up​

Navigate to the worker tab

Log in and click on the worker section

Add a New Worker

Click on “New Worker” and an automatically named worker is created for you, along with a unique worker ID called CLIENT_ID

Click through on the worker name and you can now see the client ID

Save this client ID

Setting up Docker

Click here to learn how to set up Docker on Ubuntu.

Click here to learn how to set up Docker on Fedora.

Click here to learn how to set up Docker on Debian.

Click here to learn how to set up Docker on Centos.

Get the VideoCoin Worker Docker image

You can find the Docker image here.

docker pull videocoinnetwork/worker

Generating a Key

VideoCoin Wallet is compatible with Ethereum, so you can use a standard wallet create a tool like

ethkey generate

Once you have the key, fund the account with ERC-20 VID Tokens to this account on Ethereum Mainnet. You may have to transfer tokens equal to self-stake and some additional tokens to cover transaction fees/gas on the VideoCoin network. For example 50000 VID tokens as required for the current minimum self-stake plus 10 tokens to cover worker transactions.
You also need to fund this account with some Ethereum (for example ~0.1 ETH) for transaction fee on Ethereum Mainnet. This is required to transfer VID tokens between Etherem Mainnet and VideoCoin network.

You can use the worker self-staking tool described in the following document.


Look at the following link for the minimum self-stake required, approval wait periods to run the worker

Create a Configuration File

KEY={"address":"799d259411ed9355e403e91398c0855bb5272117","crypto":{"cipher":"aes-128-ctr","ciphertext":"84810fe84b4fbc24228884a6a08119472e14f7afb0944ee57141ab52c2c6f815","cipherparams":{"iv":"77feb1d4fb24ee317dfbf90d9e785e6e"},"kdf":"scrypt","kdfparams":{"dklen":32,"n":262144,"p":1,"r":8,"salt":"c20e7612270c99bcfae8938801832134315c16a8563f2d544f7cd86a9e3b472f"},"mac":"2d4f061e9494b2dd4f555892e28f4aae49a289250e05fdd087333747c395da6f"},"id":"6b639617-620c-4d9b-a68b-eae68cd2870a","version":3}

SECRET=741839f346d6e8126ae38ee76a96fd12

CLIENT_ID=<Your_Client_ID>

Please use a text editor to create the configuration file.
The text that appears after “KEY=” is the content of the key-file created in the section “Generating a Key”.
The text that appears after “SECRET=” is the same as the password created in the section “Generating a Key”.
The text that appears after “CLIENT_ID=” is the client ID obtained in section “Add a New Worker”

Save it into a file called vars.env

Your keyfile and secret are used locally on the worker to sign transactions.

Run the worker

docker run --rm --env-file vars.env videocoinnetwork/worker:latest

That’s it! Your worker will now be waiting to receive work

I followed step by step ,but finally not work
docker returns:

time=“2020-05-28T20:24:14.808249694Z” level=fatal msg=“abi: improperly formatted output: \b\xc3y\xa0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00 \x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x19Transcoder not registered\x00\x00\x00\x00\x00\x00\x00 - Bytes: [[8 195 121 160 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 32 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 25 84 114 97 110 115 99 111 100 101 114 32 110 111 116 32 114 101 103 105 115 116 101 114 101 100 0 0 0 0 0 0 0]]” version=v1.0.0-everest-9bb45a7

The error message says you’ve not registered a worker. Did you create a clinet-id?

I got this error on docker run command
standard_init_linux.go:211: exec user process caused “exec format error”
Im using Ubuntu

I have on current address 50K of vid. Do I need to self-stake this in some way? like in this: Worker Self Staking
this process gives me error standard_init_linux.go:211: exec user process caused “exec format error”