[geth]以太坊私链搭建

/ 1,949评论 / 7356阅读 / 4点赞

环境


注:


私链搭建

{
   "config":{
      "chainId":7,
      "homesteadBlock":0,
      "eip150Block":0,
      "eip155Block":0,
      "eip158Block":0,
      "byzantiumBlock":0,
      "constantinopleBlock":0,
      "petersburgBlock":0,
      "istanbulBlock":0,
       "ethhash":{}
   },
   "alloc":{},
   "coinbase":"0x0000000000000000000000000000000000000000",
   "difficulty":"0x2",
   "extraData":"",
   "gasLimit":"0xffffffff",
   "nonce":"0x0000000000000042",
"mixhash":"0x0000000000000000000000000000000000000000000000000000000000000000", "parentHash":"0x0000000000000000000000000000000000000000000000000000000000000000",
   "timestamp":"0x00"
}
geth --datadir ./data --networkid 7  --http --http.addr 0.0.0.0 --http.vhosts "*" --http.api "admin,debug,web3,eth,txpool,personal,ethash,miner,net" --http.corsdomain "*" --snapshot --mine --miner.threads 1 --allow-insecure-unlock  console 2> 1.log
INFO [01-15|10:34:55.186] Maximum peer count                       ETH=50 LES=0 total=50
INFO [01-15|10:34:55.186] Smartcard socket not found, disabling    err="stat /run/pcscd/pcscd.comm: no such file or directory"
WARN [01-15|10:34:55.188] Sanitizing cache to Go's GC limits       provided=1024 updated=611
INFO [01-15|10:34:55.188] Set global gas cap                       cap=50,000,000
INFO [01-15|10:34:55.188] Allocated cache and file handles         database=/home/ubuntu/eth/rungeth/data/geth/chaindata cache=16.00MiB handles=16
INFO [01-15|10:34:55.213] Writing custom genesis block 
INFO [01-15|10:34:55.217] Persisted trie from memory database      nodes=1 size=149.00B time="45.27µs" gcnodes=0 gcsize=0.00B gctime=0s livenodes=1 livesize=0.00B
INFO [01-15|10:34:55.218] Successfully wrote genesis state         database=chaindata hash=6ef04e..bd9488
INFO [01-15|10:34:55.218] Allocated cache and file handles         database=/home/ubuntu/eth/rungeth/data/geth/lightchaindata cache=16.00MiB handles=16
INFO [01-15|10:34:55.231] Writing custom genesis block 
INFO [01-15|10:34:55.232] Persisted trie from memory database      nodes=1 size=149.00B time="40.785µs" gcnodes=0 gcsize=0.00B gctime=0s livenodes=1 livesize=0.00B
INFO [01-15|10:34:55.232] Successfully wrote genesis state         database=lightchaindata hash=6ef04e..bd9488

使用remix远程连接私链并部署合约


操作命令


常见问题

      "byzantiumBlock":0,
      "constantinopleBlock":0,
  1. Charlesflarm说道:

    http://furosemide.guru/# lasix online

  2. Jamescix说道:

    ivermectin 8000: stromectol 3 mg price – ivermectin tablets uk

  3. Davidham说道:

    can i buy lisinopril over the counter in mexico zestril 5 mg lisinopril 20 mg daily

  4. Leonardlex说道:

    prednisone 5 mg tablet cost: prednisone 40 mg tablet – prednisone 50 mg coupon

  5. Jamescix说道:

    lasix generic name: Over The Counter Lasix – furosemida

  6. Davidham说道:

    zestril 20 mg price canadian pharmacy zestril 25 mg prinivil cost

  7. Charlesflarm说道:

    https://lisinopril.top/# lisinopril tabs 10mg

  8. Stephenvew说道:

    https://lisinopril.top/# lisinopril medication

  9. Jamescix说道:

    ivermectin 0.5%: stromectol otc – ivermectin human

  10. Charlesflarm说道:

    https://amoxil.cheap/# amoxicillin 500mg capsule cost

  11. Stephenvew说道:

    https://amoxil.cheap/# amoxil generic

  12. Davidham说道:

    prednisone 5mg daily prednisone uk over the counter prednisone 10mg price in india

  13. Davidham说道:

    amoxacillian without a percription amoxicillin cephalexin can you buy amoxicillin over the counter canada

  14. Jamescix说道:

    lisinopril price without insurance: zestril 20 mg cost – cost for 2 mg lisinopril

  15. Charlesflarm说道:

    https://amoxil.cheap/# where to buy amoxicillin over the counter

  16. Leonardlex说道:

    lasix 100 mg: Over The Counter Lasix – lasix furosemide 40 mg

  17. Jamescix说道:

    zestril 10 mg cost: on line order lisinopril 20mg – otc lisinopril

  18. Jamescix说道:

    lasix dosage: Buy Lasix No Prescription – lasix 20 mg

  19. Jamescix说道:

    prednisone 20 mg tablets coupon: prednisone 5 mg brand name – buy prednisone 10mg online

  20. Davidham说道:

    prednisone 10mg cost prednisone 5mg cost prednisone online india

  21. Davidham说道:

    prednisone 10mg price in india canada buy prednisone online buy prednisone canada

  22. Charlesflarm说道:

    http://stromectol.fun/# generic ivermectin cream

  23. Jamescix说道:

    lisinopril 15 mg: lisinopril from mexico – cost of lisinopril

  24. Leonardlex说道:

    order prednisone online no prescription: prednisone 20mg – prednisone 10 mg over the counter

  25. Stephenvew说道:

    http://lisinopril.top/# lisinopril 20 mg tablets

  26. Jamescix说道:

    lisinopril tabs 20mg: cheap lisinopril 40 mg – zestril price in india

  27. Charlesflarm说道:

    http://stromectol.fun/# ivermectin cost uk

  28. Stephenvew说道:

    https://amoxil.cheap/# 875 mg amoxicillin cost

  29. Jamescix说道:

    lasix generic: Over The Counter Lasix – lasix generic

  30. Davidham说道:

    prescription prednisone cost prednisone medication generic over the counter prednisone

  31. Davidham说道:

    buy lisinopril 20 mg online usa lisinopril over the counter zestril brand name

  32. Charlesflarm说道:

    http://buyprednisone.store/# prednisone generic brand name

发表回复

您的电子邮箱地址不会被公开。 必填项已用*标注