There is a new blockchain based project called bitradio. You will get paid for listening radio streams on theirs web page. So everyone is able to become a blockchain miner easily )).
More effectively you can earn BRO tokens if you hold a master node. You will earn 0.5 BRO every confirmed block (1 BRO a hour). The only problem is you have to deposit 2500.00 BRO on master node. It is currently difficult, to get BRO because ICO round is over and only one exchange - cryptodao.com has BRO tokens without life currently
Another one possibility to earn tokens for staking BRO on a constantly running wallet. Thus I chosen this option. I bought some tokens (125BRO) on the exchange. I already have server, so I just had to bring bitradio wallet to the server.
Because nowadays the docker is a very good option for this, so I wrote a script, which builds a docker image and added some scripts for managing container.
The project you can find on github https://github.com/gropox/docker-bitradio
On the target server you should install git и docker. Most likely you can install git using packet manager of your distributive. Docker you can install following these instructions over there
Clone the github repository
git clone https://github.com/gropox/docker-bitradio
enter new folder docker-bitradio. There is already some scripts and sub-folder data with empty config file for bitradio.
In docker-bitradio at first run the build.sh script, which will build an docker image containing bitradio-wallet.
./build.sh
It takes some time depending on your server.
If container completed, you can nun start this container using this script
./run.sh
docker prints a hash of new container and starts simultaneous the bitradio-wallet in this container. You should already be able to see new files in data folder.
In order to communicate with bitradio-wallet you have to enter into container using enter.sh
./enter.sh
Now you see command line with root users of that container. All programs running in this container with root rights but it safe, because the container has own file system. Only /bitcoind is mounted as your ~/docker-bitradio/data/ folder. Bitradio-wallet puts all files in that folder and can access only this folder.
To make sure, bitradio wallet is running run this command
brad getinfo
whereby brad is a script which simple calls /usr/local/bin/Bitradiod and passes through parameters. All available bitradio commands you can get using this command brad help
So, you should get an answer from wallet like on following image. As you can see, the wallet started synchronization with bitradio network and already downloaded 21035 blocks. Bitradio network is now young and has less then 80000 blocks.
Now you can already obtain a new address of the wallet using following command.
brad getaccountaddress ropox
Whereby ropox is account. If such account is not existing, the wallet will create one and generate a new address for this account.
I transfered 125 BRO to this new address. The balance and status you can check using following commands.
brad getbalance
или
brad getinfo
That's it. Do not forget to make a backup of your wallet.
brad backupwallet wallet_staker.bck
chmod a+r /bitradio/wallet_staker.bck
chmod because the backup file created in ~/docker-bitradio/data/ order hast id of root and normally you cannot read it.
In order to leave docker container use exit
.
You can start and stop container using stop.sh и start.sh. run.sh is needed only once to create and run container initially.
Now I'm waiting for first BRO tokens for staking. Weither it works? I don't know it yet.