0 Comments

As I’ve blogged a while ago (july 2019), I made my pi a docker host. I used a pi 3, but moved now to a pi 4 with ubuntu as host.

If you want to know how I did it, my collegeau Johan explains it on his blog How to install Ubuntu on a Raspberry PI – Johan the Developer and the followup How to install Docker on a Raspberry PI – Johan the Developer

Once you have that in place, you can proceed to get a Nebl Docker container.

The Nebl Docker container

I found this official one on dockerhub neblioteam/nebliod-rpi (docker.com)

The instructions are always clear at dockerhub. Step 1 is to get the image:

docker pull neblioteam/nebliod-rpi

Step 2 is to use the image to run a container:

sudo docker run -d --restart=always --name nebliod -v $HOME/neblio-data:/root/.neblio -p 6325:6325 neblioteam/nebliod-rpi


If you are less familiar with Docker, this does mount the folder /root/.neblio in your container to the folder on your docker host at the home or ~ and then neblio-data. This contains your wallet which password is generated at the 1st start of the container.


Use the container

I started a shell in the container, so it will save me some typing:

sudo docker exec -it nebliod bash

you can get your wallet address with this command:

nebliod listreceivedbyaddress 0 true


If you would not start bash first, but just run it from your docker host:

sudo docker exec -it nebliod nebliod listreceivedbyaddress 0 true


You can see that the password is random on line 16 here

docker-nebliod/neblio_init at master · NeblioTeam/docker-nebliod (github.com)

You should transfer Nebl to your wallet. It will take 24 hours to mature. Then the weight will gain for staking.

Run the nebliod getstakeinginfo to see the weight, if the coins are mature and the expectedtime in seconds for staking.

You can also use nebliod getbalance to just get the balance from your wallet without the address and confirmations which the listreceivedbyaddress returns.

So it’s all up and running 24/7 on my Raspberry Pi 4. Now it’s just a matter of time before I will receive the first stake.


If you want to know more about Neblio, please check out their website at Neblio - Blockchain. Simplified.


Good luck! I hope it’s helpful

Post on LinkedIn
0 Comments

I followed the guide but did not got it to work.

It just failed at step 3 and there was no error at all. I thought it had to do with me changing the project from .net Core 1.x to 2.0

image

But it was partially related to the dropdown below it.

The startup object was not set.

I had to set it to “Neo.Compiler.Program”

But after that, the publish did not work because “neon.dll” was missing in some folder.

This GitHub comment pointed me in the right direction:

https://github.com/neo-project/docs/issues/368#issuecomment-362181887

you should copy “neon.dll” manually in that dir. it’s just one dir below.

after that, the publish succeeded and the neon.exe reference was already in the path variable, so the Visual Studio and manually commandline option both worked!

image

https://github.com/neo-project/neo-compiler/issues/90

Good luck building for the Neo blockchain!

NEO (NEO) cryptocurrency

Post on LinkedIn