All Projects → javahippie → Geth Dev

javahippie / Geth Dev

Licence: epl-2.0
A Docker Image to create a set of mining, local Ethereum nodes for development

Projects that are alternatives of or similar to Geth Dev

Swarmdb
Wolk SWARMDB - Decentralized Database Services for Web3
Stars: ✭ 34 (-68.81%)
Mutual labels:  ethereum, swarm
Bee
Bee is a Swarm client implemented in Go. It’s the basic building block for the Swarm network: a private; decentralized; censorship-resistant and self-sustaining network for storing your (application) data.
Stars: ✭ 108 (-0.92%)
Mutual labels:  ethereum, swarm
Ethdroid
Easy-to-use Ethereum Geth wrapper for Android
Stars: ✭ 47 (-56.88%)
Mutual labels:  ethereum, geth
Baseline
The Baseline Protocol is an open source initiative that combines advances in cryptography, messaging, and blockchain to execute secure and private business processes at low cost via the public Ethereum Mainnet. The protocol will enable confidential and complex collaboration between enterprises without leaving any sensitive data on-chain
Stars: ✭ 479 (+339.45%)
Mutual labels:  ethereum, geth
Ethnode
Run an Ethereum node (Geth or Openethereum) for development
Stars: ✭ 74 (-32.11%)
Mutual labels:  ethereum, geth
Ethermint Archive
Ethereum on Tendermint using Cosmos-SDK!
Stars: ✭ 667 (+511.93%)
Mutual labels:  ethereum, geth
Geth Jsonrpc Php Client
API client lib for communication with geth (go-ethereum) node.
Stars: ✭ 64 (-41.28%)
Mutual labels:  ethereum, geth
Temporal
☄️ Temporal is an easy-to-use, enterprise-grade interface into distributed and decentralized storage
Stars: ✭ 202 (+85.32%)
Mutual labels:  ethereum, swarm
Nethereum
Ethereum .Net cross platform integration library
Stars: ✭ 1,191 (+992.66%)
Mutual labels:  ethereum, geth
Ico Contracts
🎉 ICO Contracts of the ALIS.
Stars: ✭ 69 (-36.7%)
Mutual labels:  ethereum, geth
Swarm
swarm docs
Stars: ✭ 403 (+269.72%)
Mutual labels:  ethereum, swarm
Myetherapi
An API by MyEtherWallet. ETH / Ropsten / JSON RPC / Web3
Stars: ✭ 95 (-12.84%)
Mutual labels:  ethereum, geth
Embark
Framework for serverless Decentralized Applications using Ethereum, IPFS and other platforms
Stars: ✭ 3,478 (+3090.83%)
Mutual labels:  ethereum, swarm
Go Ethereum
Official Go implementation of the Ethereum protocol
Stars: ✭ 34,169 (+31247.71%)
Mutual labels:  ethereum, geth
Web3swift
Elegant Web3js functionality in Swift. Native ABI parsing and smart contract interactions.
Stars: ✭ 237 (+117.43%)
Mutual labels:  ethereum, geth
Violationsystem
Ethernum ViolationSystem
Stars: ✭ 50 (-54.13%)
Mutual labels:  ethereum, geth
Ethereum
以太坊开发 HelloWorld for Java
Stars: ✭ 191 (+75.23%)
Mutual labels:  ethereum, geth
Web3x
Ethereum TypeScript Client Library - for perfect types and tiny builds.
Stars: ✭ 197 (+80.73%)
Mutual labels:  ethereum, swarm
Core Geth
A highly configurable Go implementation of the Ethereum protocol.
Stars: ✭ 66 (-39.45%)
Mutual labels:  ethereum, geth
Deepblockchains
Deep Blockchains - reference implementation of Plasma, Stark, SMT and more
Stars: ✭ 93 (-14.68%)
Mutual labels:  ethereum, swarm

Local Ethereum Network

A set of Docker images to create a local Ethereum network with three nodes and a monitor. This was built to understand how local Ethereum networks have to be set up and to provide a local test environment. Never use this in a productive environment, as the docker-compose.yml contains hardcoded passwords and private keys for convenience

The testnet consists out of multiple parts :

  • 1 Bootnode - registers existing nodes on the network, discovery service.
  • 2 Miners - Also called sealers with proof-of-authority. They validate the blocks. No RPC is exposed as they are required to be unlocked.
  • 1 Node - This serves as transaction relay and is a fullnode that does not mine, is locked but has RPC exposed
  • 2 Swarm nodes - These nodes make up the peer-to-peer CDN
  • 1 Blockchain explorer - Lightweight web application to explore the blockchain through web application.

Usage

Setting up this networks requires you to install Docker. Clone the repository, and run docker-compose up from the repository root. The network should start and synchronize without any further configuration. The networks always uses the latest available versions of Ethereum and Swarm, the network is set up for clique proof-of-authority similar to the Ethereum Rinkeby testnet. For more information on clique POA see https://github.com/ethereum/EIPs/issues/225 .

The bootnode

The nodes in the network are connecting with the bootnode. This is a special ethereum node, designed to provide a register of the existing nodes in the network. The parameter nodekeyhexin the docker-compose.yml is needed to derive the enodeID which is later passed to the other nodes. The IP needs to be fixed, as the other nodes need to know where to find the bootnode, and DNS is not supported. The bootnode does not participate in synchronization of state or mining.

Miners / Geth Nodes

There are three nodes that participate in the network. The state is synchronized between them and they are trying to create blocks with mining. Initially they connect to the bootnode with the information derived from the fixed IP and the nodekeyhex. If you want to interact with the network, you need to connect via RPC. You can attach a geth instance, connect Remix IDE or connect your browser with web3 and build a ÐApp.

The RPC Ports of the nodes are mapped to your localhost, the addresses are:

  • geth-dev-miner-1 : No RPC exposed
  • geth-dev-miner-2: No RPC exposed
  • geth-dev-node: http://localhost:8545

Swarm (/BZZ:/)

Swarm is a distributed storage platform and content distribution service, a native base layer service of the ethereum web3 stack. The primary objective of Swarm is to provide a sufficiently decentralized and redundant store of Ethereum’s public record, in particular to store and distribute dapp code and data as well as blockchain data. From an economic point of view, it allows participants to efficiently pool their storage and bandwidth resources in order to provide these services to all participants of the network, all while being incentivised by Ethereum. Files on Swarm are represented by their KECCAK256 Checksum.

The RPC Ports of the nodes are mapped to your localhost, the addresses are:

Whisper (/SHH:/)

Coming soon ...

Blockchain Explorer

The blockchain explorer is a simple node.js web application being provided by a seperate container: geth-explorer. The application uses the web3 javascript API to fetch the data from geth-dev-node through RPC calls. The blockchain explorer can be found at http://localhost:8080.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].