0

I have an error when building a private blockchain on my computer. The code that I run is like this (Simply my concept make it without mining and only focus on smart contract):

  • genesis.json file

{ "config": { "chainId": 15, "homesteadBlock": 0, "eip150Block": 0, "eip155Block": 0, "eip158Block": 0 }, "difficulty": "0x400", "gasLimit": "0x2100000", "alloc": { "myaddress": { "balance": "0x1337000000000000000000" } } }

  • Running command "init genesis.json"

geth --datadir ~/geth init ~/mypath/genesis.json

  • Running Blockchain

geth --datadir ~/geth --rpc --rpccorsdomain "*"

my problem: success connect to Metamask and Remix, but cannot run any transaction and cannot create smartcontract.

please help for that, is there anything that I missed?

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.