Code Monkey home page Code Monkey logo

createprivateethereum's Introduction

Create Private Ethereum Blockchain

Quickly set up and run a local private Ethereum blockchain.

Customizable Genesis block (difficulty, initial balance, ...)

Connected to Ethereum/Mist Wallet, where you can deploy and test your contracts. Note : Open your wallet after starting your blockchain

This script provides easy functions to pilot geth:

  • ./pgeth.py init: this function create the blockchain with an account. Use it the first time.
  • ./pgeth.py start: this function starts geth daemon and mining. Use it when you want to use geth.
  • ./pgeth.py stop: this functions stops geth. Use it not to burn your CPU on stupid blocks.
  • ./pgeth.py destroy: A function to delete quickly your private blockchain.

Private key

Initial password set to "apasswordtochange" in mypassword.txt

Contributors

Laurent MALLET Regis PIETRASZEWSKI

createprivateethereum's People

Contributors

camtosh avatar ellis2323 avatar regispietra avatar regispietra1 avatar timhovius avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

createprivateethereum's Issues

AttributeError: 'dict' object has no attribute 'has_key'

$ python3 ./pgeth.py init
Traceback (most recent call last):
  File "./pgeth.py", line 364, in <module>
    args.func(args)  # call the default function
  File "./pgeth.py", line 257, in init
    initAccount()
  File "./pgeth.py", line 210, in initAccount
    datadir = getDataDir()
  File "./pgeth.py", line 91, in getDataDir
    datadir = load_config_keys("datadir")
  File "./pgeth.py", line 85, in load_config_keys
    if d.has_key(key):
AttributeError: 'dict' object has no attribute 'has_key'

(on Debian Linux)

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.