SlideShare a Scribd company logo
Genesis
Introduction
Geth is widely used to interact with Ethereum networks. Ethereum software enables a user to set up a
“private” or “testnet” Ethereum chain. This chain will be totally different from main chain.
Component that tell ​geth​ that we want to use/create a private Ethereum Chain:
1. Custom Genesis file
2. Custom Data Directory
3. Custom Network Id
4. Disable Node Discovery
Genesis
Genesis block is the start block of the blockchain, i.e., ​block 0. ​A block which not points to a predecessor
block.
Coinbase
This is ​meaningless​ in the genesis block, but the goal was to make the genesis block look identical to any
other block on the blockchain, so the value exist.
Mixhash, Nonce
Both used together to determine if the block was mined properly. These are ​meaningless​ in genesis block.
But make them a random value is good, so that other peers don’t accidently connect to your chain by
having the same exact genesis.
Gaslimit
The maximum number of computations any block on that chain can support. (Set it to a high value to avoid
being limited when testing).
Difficulty
It is mining difficulty. It should be set to low so miner can easily mine.
ParentHash
The 256-bit hash of the previous blocks header. This is ​meaningless​ in the genesis block since block 0
has no parent.
Timestamp
Output of Unix time() function, when the block was created.
Alloc
Pre-funded address (40 digits hex string). This will not create an account in genesis.
Config
Blockchain Configuration
eip155Block
Ethereum Improvement Proposal, where developers propose ideas to improve Ethereum.
homesteadBlock
Second major release of Ethereum. First one was ​Frontier.

More Related Content

PPTX
Building real-time apps with WebSockets
KEY
Why Bundler 1.1 will be much faster
PPTX
Miner lock
PPT
Java concurrency introduction
PDF
My ruby gems toolbox
KEY
RVM, Bundler and Ruby Tracker
KEY
SWORD2 and Bittorrent
PDF
Nachos3 - Theoretical Part
Building real-time apps with WebSockets
Why Bundler 1.1 will be much faster
Miner lock
Java concurrency introduction
My ruby gems toolbox
RVM, Bundler and Ruby Tracker
SWORD2 and Bittorrent
Nachos3 - Theoretical Part

Similar to Ethereum genesis (20)

DOCX
How does ethereum work, anyway?
PDF
Build your first blockchain
PDF
Blockchain Chapter #4.pdf
PPTX
Introduction to Blockchain Web3 Session
PPTX
Blockchain
PDF
Ethereum Mining How To
PDF
Build your own private blockchain based on ethereum
PPTX
Blockchain Session 1
PPTX
Ethereum Casper Protocol
PDF
BCHGraz - Meetup #8 - Intro & Ethereum
PPT
Demystifying Blockchain for businesses
PDF
Ethereum bxl
PPTX
Aeternity blockchain
PDF
What is a testnet and how does it differ from a mainnet.pdf
PDF
BlockChain Public
PPTX
Blockchain. A Guide For Beginners
PPTX
unit3consesence.pptx
PPTX
What is tezos
PPTX
Introduction to Ethereum,accounts, smart contract.pptx
PPTX
NEAT: Neuroevolution of Augmenting Topologies
How does ethereum work, anyway?
Build your first blockchain
Blockchain Chapter #4.pdf
Introduction to Blockchain Web3 Session
Blockchain
Ethereum Mining How To
Build your own private blockchain based on ethereum
Blockchain Session 1
Ethereum Casper Protocol
BCHGraz - Meetup #8 - Intro & Ethereum
Demystifying Blockchain for businesses
Ethereum bxl
Aeternity blockchain
What is a testnet and how does it differ from a mainnet.pdf
BlockChain Public
Blockchain. A Guide For Beginners
unit3consesence.pptx
What is tezos
Introduction to Ethereum,accounts, smart contract.pptx
NEAT: Neuroevolution of Augmenting Topologies
Ad

More from NexThoughts Technologies (20)

PDF
PDF
Docker & kubernetes
PDF
Apache commons
PDF
Microservice Architecture using Spring Boot with React & Redux
PDF
Solid Principles
PDF
Introduction to TypeScript
PDF
Smart Contract samples
PDF
My Doc of geth
PDF
Geth important commands
PPTX
Springboot Microservices
PDF
An Introduction to Redux
PPTX
Google authentication
ODP
Java 9 Features
Docker & kubernetes
Apache commons
Microservice Architecture using Spring Boot with React & Redux
Solid Principles
Introduction to TypeScript
Smart Contract samples
My Doc of geth
Geth important commands
Springboot Microservices
An Introduction to Redux
Google authentication
Java 9 Features
Ad

Recently uploaded (20)

PDF
Encapsulation_ Review paper, used for researhc scholars
PDF
Building Integrated photovoltaic BIPV_UPV.pdf
PPT
Teaching material agriculture food technology
PPTX
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
PDF
Getting Started with Data Integration: FME Form 101
PPTX
Group 1 Presentation -Planning and Decision Making .pptx
PDF
Architecting across the Boundaries of two Complex Domains - Healthcare & Tech...
PDF
Assigned Numbers - 2025 - Bluetooth® Document
PPTX
Digital-Transformation-Roadmap-for-Companies.pptx
PDF
7 ChatGPT Prompts to Help You Define Your Ideal Customer Profile.pdf
PDF
Encapsulation theory and applications.pdf
PDF
Heart disease approach using modified random forest and particle swarm optimi...
PDF
Spectral efficient network and resource selection model in 5G networks
PPTX
TLE Review Electricity (Electricity).pptx
PPTX
Machine Learning_overview_presentation.pptx
PPTX
Spectroscopy.pptx food analysis technology
PDF
Machine learning based COVID-19 study performance prediction
PPTX
1. Introduction to Computer Programming.pptx
PDF
NewMind AI Weekly Chronicles - August'25-Week II
PPTX
A Presentation on Artificial Intelligence
Encapsulation_ Review paper, used for researhc scholars
Building Integrated photovoltaic BIPV_UPV.pdf
Teaching material agriculture food technology
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
Getting Started with Data Integration: FME Form 101
Group 1 Presentation -Planning and Decision Making .pptx
Architecting across the Boundaries of two Complex Domains - Healthcare & Tech...
Assigned Numbers - 2025 - Bluetooth® Document
Digital-Transformation-Roadmap-for-Companies.pptx
7 ChatGPT Prompts to Help You Define Your Ideal Customer Profile.pdf
Encapsulation theory and applications.pdf
Heart disease approach using modified random forest and particle swarm optimi...
Spectral efficient network and resource selection model in 5G networks
TLE Review Electricity (Electricity).pptx
Machine Learning_overview_presentation.pptx
Spectroscopy.pptx food analysis technology
Machine learning based COVID-19 study performance prediction
1. Introduction to Computer Programming.pptx
NewMind AI Weekly Chronicles - August'25-Week II
A Presentation on Artificial Intelligence

Ethereum genesis

  • 1. Genesis Introduction Geth is widely used to interact with Ethereum networks. Ethereum software enables a user to set up a “private” or “testnet” Ethereum chain. This chain will be totally different from main chain. Component that tell ​geth​ that we want to use/create a private Ethereum Chain: 1. Custom Genesis file 2. Custom Data Directory 3. Custom Network Id 4. Disable Node Discovery Genesis Genesis block is the start block of the blockchain, i.e., ​block 0. ​A block which not points to a predecessor block. Coinbase This is ​meaningless​ in the genesis block, but the goal was to make the genesis block look identical to any other block on the blockchain, so the value exist. Mixhash, Nonce Both used together to determine if the block was mined properly. These are ​meaningless​ in genesis block. But make them a random value is good, so that other peers don’t accidently connect to your chain by having the same exact genesis. Gaslimit The maximum number of computations any block on that chain can support. (Set it to a high value to avoid being limited when testing). Difficulty It is mining difficulty. It should be set to low so miner can easily mine. ParentHash The 256-bit hash of the previous blocks header. This is ​meaningless​ in the genesis block since block 0 has no parent. Timestamp Output of Unix time() function, when the block was created. Alloc Pre-funded address (40 digits hex string). This will not create an account in genesis. Config Blockchain Configuration eip155Block Ethereum Improvement Proposal, where developers propose ideas to improve Ethereum. homesteadBlock Second major release of Ethereum. First one was ​Frontier.