Introduction

Blockchain-In-A-Box

Blockchain-In-A-Box

Synopsis: Erects a self contained cloud development environment for Ethereum Solidity developers with a remote development desktop and a private blockchain network.

Subutai Blockchain-in-a-Box

Subutai Blockchain-in-a-Box

This is the Hello World Voting Ethereum Dapp Tutorial application running on a private blockchain.

Is this for me?

Ask yourself, if you are,

  • Tired of synchronizing testnets?
  • Tired of waiting to get testnet Ether?
  • Looking to learn Solidity but need a fast start without the infrastructure headaches?
  • Writing Smart Contracts for Dapps already?
  • A sysadmin tasked with running a private blockchain?
  • Own a net/chrome book, a dying laptop, without juice to run your own private blockchain?

If the answer is yes to any of these, then the Subutai Blockchain-in-a-Box Cloud development environment is exactly what you've been looking for!

Our infrastructure team developed this blueprint for our developers to write Solidity based Smart Contracts from anywhere in their own intact cloud based environment containing the best Solidity development tools and a ready go network of nodes.

What's in the box?

The user can select multiple options when installing the blueprint to create their development cloud. There's always a development desktop container in the cloud environment. If the user choses to point the tools to one of the testnets they can do that as well. When selecting a private blockchain environment additional containers are created for the network of miners. The tools are then pointed to the private blockchain network.

The blueprint installs the following applications onto a MATE + Debian Stretch desktop container:

  • Firefox
  • Geth Service
  • Ethereum
  • Ethereum Wallet
  • Mist
  • Microsoft Studio Code
  • Truffle

What's it look like?

Here's the bare MATE desktop. Developers use X2Go to get on the desktop container using Subutai Control Center:

Bare Desktop

Bare Desktop

Here's the desktop with Mist open showing an account on the private blockchain:

Mist Desktop

Mist Desktop

Here's the desktop with Truffle on the private blockchain:

With Truffle

With Truffle

I want it, how do I start?

Register or log into the Subutai Bazaar. You can use free peers that are out there. We expose some, but they're always heavily used. It's best if you can create your own cloud or edge peers with friends and family. This is a heavy blueprint and requires good resources that you can depend on. Make sure the peers are added to your favorites if not your own.

Then you're ready to install the blueprint. There are many ways to install the blueprint: i.e. into a new cloud environment, onto an existing cloud environment, onto a standalone virtual machine locally with the Subutai Vagrant Plugin. We'll cover the first option of creating a new environment via the Bazaar.

TODO: need screenshots

  • In the Bazaar, goto Products->Application Blueprints.
  • Search for blockchain in the search box to the upper right hand side.
  • Select the Blockchain-in-a-Box blueprint.
  • Press the Build button in the upper right hand corner.

During the installation you can set various parameters to impact how the environment and application is configured. See the Wizard Configuration Parameters for more details on the configuration parameters during installation.