Setting up a 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 availabe as a convenient Docker Image that can run on any platform.
Platform specific binaries are available for NVidia Jetson and Raspberry Pi, you can learn more about those here

Create an account on VideoCoin Network Console

Login and click on the worker section

Add a New Worker

Click on "New Worker" and a automatically named worker is created for you, along with a unique worker ID
Click through on the worker name and you can now see the client ID
Save this client ID

Get the VideoCoin Worker Docker image

You can find the Docker image here.
1
docker pull videocoinnetwork/worker
Copied!

Create a Configuration File

1
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}
2
SECRET=741839f346d6e8126ae38ee76a96fd12
3
CLIENT_ID=<Your_Client_ID>
Copied!
KEY here is the contents of your VideoCoin Wallet Keyfile.
SECRET is the password for the keyfile.
Save it into a file called vars.env
Your keyfile and secret are used locally on the worker to sign transactions.

Generating a Key and triggering the bridge

VideoCoin Wallet is compatible with Ethereum, so you can use a standard wallet create tool like
1
ethkey generate
Copied!
Once you have the key, you'll need VID on the native VideoCoin Blockchain.
You can use your publisher wallet to send in ERC20, which is automatically bridged to a native VID.
Once the native VID is bridged and available, you can move it into your Worker address using the VideoCoin Bridge tool. Since the bridge tool is going to be public at the Everest Release, you can send an email to [email protected] to get your transaction processed.

Run the worker

1
docker run --rm --env-file vars.env videocoinnetwork/worker:latest
Copied!
Thats it! Your worker will now be waiting to receive work
Last modified 1yr ago