Public | Automated Build

Last pushed: 2 years ago
Short Description
A containerized Framework for Ethereum DApps based on Embark
Full Description

Embark

Framework for Ethereum DApps

Documentation on Embark framework is available here

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

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
Docker Pull Command
Owner
jlrigau
Source Repository