Sign inSign up

mvrpl/mvrpl_blockchain

By mvrpl

Updated almost 6 years ago

BlockChain DApp Lottery and ether accounts manager with GanachiCli, Truffle, Web3, GoLang

Image
0

200

mvrpl/mvrpl_blockchain repository overview

Run Docker container:

docker run -it --name BlockChainProject -u linuxbrew -p 3000:3000 -p 8545:8545 mvrpl/mvrpl_blockchain:1.0.0

Enter on folder cd /home/linuxbrew/blockChainProj

Export env var to skip unit tests export WITHOUT_TEST=1

Run blockchain with ganachi-cli, compile smart contract and deploy to blockchain and run Django 3 server in background with Tmux

./compile_contracts.bash

Now access in your browser URL http://localhost:3000

To list all accounts in nodes of blockchain run:

./getAccounts.bash

Version 1.2.0

docker run -it --name BlockChainProject -u linuxbrew -p 5051:5051 -p 3000:3000 -p 8545:8545 mvrpl/mvrpl_blockchain:1.2.0

Block Explorer: http://localhost:5051/homepage

Credits: https://github.com/vivekganesan01/ganache-cli-block-explorer

Tag summary

Content type

Image

Digest

Size

3.5 GB

Last updated

almost 6 years ago

docker pull mvrpl/mvrpl_blockchain:1.2.0