GithubHelp home page GithubHelp logo

padthai-sketch / dummynet-blockchain Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 0.0 48.67 MB

Develop a private test net to explore potentials for blockchain by setting up the custom out-of-the-box blockchain using the Proof of Authority algorithm, and send a test transaction on MyCrypto application.

Jupyter Notebook 100.00%
blockchain-technology crypto puppeth proof-of-authority

dummynet-blockchain's Introduction

Proof of Authority Development Chain - Dummynet

I developed a private testnet called 'Dummynet' to explore potentials for blockchain by setting up the custom out-of-the-box blockchain using the Proof of Authority algorithm, and send a test transaction on MyCrypto application.

See the following instructions on how to utilize these blocakchain tools.

> Set up your node accounts and custom testnest

  1. Innitiate with creating two nodes accounts for your network.
  2. Using puppeth to build your new genesis block, name the network (in this case is 'Dummynet'), and choose 'Proof of Authority' as your consensus engine.
  3. Included both Nodes addresses as your sealed accounts. Only included Node 1's address as your pre-funded account.
  4. Specify your chain/network ID then configured new genesis block to generate 'dummynet.json' as shown below.

My Puppeth Configuration

Puppeth_Configuration

> Initialize your node accounts

  1. With geth command, run Node 1 to unlock the account and begin mining process by running this command line
    ./geth --datadir node1 --unlock "SEALER_ONE_ADDRESS" --mine --miner.threads 1
  2. Open the second tab for Node 2 to unlock the account, using this command line
    ./geth --datadir node2 --unlock "SEALER_TWO_ADDRESS" --port 30304 --rpc --bootnodes "enode://[email protected]:30303" --allow-insecure-unlock
  3. You should be able to see both nodes running at the same time.

> Add your network to MyCrpto app

  1. Login to your account on MyCrypto app to set up your custom network and connect the nodes with the exposed RPC port.
  2. After that send a transaction from the node1 account to the node2 account including the chain ID, and use ETH as the currency
  3. Wait until TX status shows as 'Successful' and you're done!

Transaction Metadata

TX_Status_successful

dummynet-blockchain's People

Stargazers

 avatar

Watchers

 avatar

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.