Blockchain is a core concept behine all modern decentralized cryptocurrencies. In this repo you can check manually how does it work on the basic level.
Root repository includes submodule repository with the multi-functional wallet which allows:
- Create multiple wallets
- Send coins between wallets
- Switch between blockchain nodes (if system is fully decentralized it must not make difference which node you use for the transactions)
To feel the real taste of the decentralized applications and the power behind it I highly recoomend to follow this part of build and setup applicaiton locally. Because of complexity of deploying multiple in the docker images and network dependencies, I decided to create Client-Server build, so you can easily pull it as a docker image.
npm install
git submodule init
git submodule update
You will get installed all needed dependencies and nested blockchain-nodejs-wallet application.
Make sure you have declared variable environment DOCKER_HOST
. You can check it by running $echo $DOCKER_HOST
from your terminal.
The last step is to compose all images:
- blockchain node1
- blockchain node2
- blockchain node3
- wallet
by running:
docker-compose up -d
You can find more details in the corresponding docker-compose file.
To check your image statuses:
docker-compose -ps
Now you can open your wallet image address in the browser and explore the app!
This is simplified build of application with the connected blockchain server to wallet client. Was created to give a simple way to pull docker image and play around without any extra configuration.
It is not the way real blockchain systems work Was created just for the DEMO purpose
You can pull latest image by running
docker pull kobvel/blockchain-nodejs
Here is public link to the image: https://hub.docker.com/r/kobvel/blockchain-nodejs/