Issue in Initialising the Blockchain

+2 votes
Whenever Iam executing the following command:

/home/vashist/go-ethereum/build/bin/geth --datadir ~/ethereum/net3/ init genesis/genesis3.json

Iam getting the following response:

Fatal: Failed to read genesis file: open genesis/genesis3.json: no such file or directory

How do I resolve this?
Jan 5 in Blockchain by vt
• 210 points
41 views
Hi, @vt,

Did you create your own genesis file with parameters that suit your configuration?
Nope. I copied the exact Json code provided in the tutorial video. Yet its showing the error
Are you trying to build a private or public Etherium?
A private one I think.

Have you watched the Edureka video on Blockchain on Youtube?

Basically there we are creating the go ethereum folder by cloning the github repository
You are suppossed to modify the genesis file according to your requirement if you are creating a private one.

Can you please share the link of that video you are following?

Thank you
https://youtu.be/QCvL-DWcojc?t=3484

Here's the link. I've included the exact timestamp at which the modification of the Genesis file starts.

That's true. But I don't actually know what I require. So I modified it in the way as given in the video.
Alright

Do you have the permissions to access to the genesis file?
Yup I do have access.

No answer to this question. Be the first to respond.

Your answer

Your name to display (optional):
Privacy: Your email address will only be used for sending these notifications.

Related Questions In Blockchain

+1 vote
1 answer

Can Blocks be reorganized in the blockchain?

In practical applications, invalid transactions can not ...READ MORE

answered Jul 17, 2018 in Blockchain by Varun

edited Aug 3, 2018 by Omkar 58 views
+1 vote
1 answer

How do i change the names of validating peers in IBM Bluemix blockchain?

IBM Bluemix Blockchain service Hyperledger Fabric v0.6 will ...READ MORE

answered Apr 10, 2018 in Blockchain by Perry
135 views
0 votes
1 answer

In a Blockchain, how difficult is it to modify the third to last block?

Technically, it's not difficult at all, all ...READ MORE

answered Apr 20, 2018 in Blockchain by Christine
• 15,810 points
94 views
+1 vote
1 answer

What is the best way to search for an item in blockchain?

All transactions and records in blockchain are ...READ MORE

answered Apr 20, 2018 in Blockchain by Perry
• 17,090 points
76 views
0 votes
1 answer

How is the ledger kept consistent among differnt peers in blockchain?

Bitcoin doesn't guarantee that all ledgers become ...READ MORE

answered May 25, 2018 in Blockchain by Johnathon
• 9,090 points
49 views
0 votes
1 answer

I wish to know about the data storage in blockchain

That string would be stored in the ...READ MORE

answered Jun 21, 2018 in Blockchain by Johnathon
• 9,090 points
33 views
0 votes
1 answer

Where is the data stored in blockchain?

The smart contract is just the business ...READ MORE

answered Jun 29, 2018 in Blockchain by slayer
• 29,260 points
166 views
0 votes
1 answer

How blocks are linked in the Hyperledger Fabric blockchain?

The structure of block in Hyperledger Fabric ...READ MORE

answered Jul 3, 2018 in Blockchain by Omkar
• 68,880 points
487 views
0 votes
1 answer

How to prevent the smart contract from being modified and deployed in the blockchain network?

To expand on Matthew's answer, each state ...READ MORE

answered Jul 5, 2018 in Blockchain by Aryya
• 7,350 points
73 views