Skip to content

jlrigau/ethereum

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 

Repository files navigation

Ethereum Toolbox

Docker images for Ethereum

Docker images are available on the Docker Hub

Embark

Framework for Ethereum DApps

Documentation on Embark framework is available here https://iurimatias.github.io/embark-framework/

Run the Demo

Create Demo application

$docker run --name demo -d -v /dapp:/dapp jlrigau/embark demo

Run the blockchain

$docker run --name blockchain -d --volumes-from demo -w /dapp/embark_demo --net host jlrigau/embark blockchain

Check logs and wait the completion of DAG generation

$docker logs -f blockchain

...

Generating DAG for epoch 0 (0000000000000000000000000000000000000000000000000000000000000000)
Still generating DAG: 0%

...

Still generating DAG: 100%
Done generating DAG for epoch 0, it took 9m16.849571169s

Run the server

$docker run --name server -d --volumes-from demo -w /dapp/embark_demo --net container:blockchain jlrigau/embark run

Now you can access to the demonstration application through the URL localhost:8000

Embark Demo Screenshot

Creating a new DApp

Create a new application

$docker run --name AppName -d -v /dapp:/dapp jlrigau/embark new AppName

Run the blockchain

$docker run --name blockchain -d --volumes-from AppName -w /dapp/AppName --net host jlrigau/embark blockchain

Check logs and wait the completion of DAG generation

$docker logs -f blockchain

...

Generating DAG for epoch 0 (0000000000000000000000000000000000000000000000000000000000000000)
Still generating DAG: 0%

...

Still generating DAG: 100%
Done generating DAG for epoch 0, it took 9m16.849571169s

Run the server

$docker run --name server -d --volumes-from AppName -w /dapp/AppName --net container:blockchain jlrigau/embark run

About

Ethereum Toolbox

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published