Coder Social home page Coder Social logo

ethbase's Introduction

ethbase

A boilerplate development environment for Ethereum. Note: due to some known issues with pyethereum and some of its dependencies, you may see some warnings during the docker build. If you believe any of theses wanrings or errors are causing problems, please create a github issue.

Usage

Requirements

Installation

Ensure the docker daemon is running and execute these commands in the shell:

git clone https://github.com/Marto32/ethbase.git
cd ethbase
docker build -t ethereum/dev .

Run the container

Pyethapp

If you want to run the container and use the pyethapp console, run the following commands:

docker run -it --entrypoint /bin/bash -p 30304:30303 ethereum/dev
# Once in the container:
$ cd /apps/pyethapp
$ pyethapp account new
$ pyethapp -d /data --profile testnet run --console

Jupyter

If you want to run the container to prototype applications that use the ethereum blockchain, run:

docker run -it -p 8888:8888 ethereum/dev

Copy and paste the url and token displayed in the shell output into your browser.

That's it!

Etherscan

Within the Jupyter notebook, you can use the etherscan apis to build scripts that interact with the blockchain. I've also built a python wrapper for that API which can be found here: pyetherscan.

Removal

To remove containers and images ensure you're in your local bash environment and run:

docker rm $(docker ps -aq)
docker rmi $(docker images -aq)

Ethereum packages installed

Misc Info

You can find tutorials on the main ethereum page and information about Solitiy (the most widely supported high-level contract language) here.

ethbase's People

Contributors

marto32 avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar

Forkers

buckysballs rmdes

ethbase's Issues

python setup.py develop' returned a non-zero code: 1

Hi there, following your instructions, when I run : docker build -t ethereum/dev .

I get this :

The command '/bin/sh -c USE_PYETHEREUM_DEVELOP=1 python setup.py develop' returned a non-zero code: 1

Any hint on how to tweak this command on the Dockerfile so that it executes well ?

I'm running this on Fedora 27 with Node, Pip, Python, Docker installed & running well for other codes but I can't get your ethbase code to finish. Ultimately I want to be able to run pyethapp.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.