[geth]以太坊私链搭建

/ 3,189评论 / 17687阅读 / 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. RandallGuesE说道:

    cipro for sale: buy cipro online – ciprofloxacin generic price

  2. WilliamRen说道:

    https://ciprofloxacin.tech/# antibiotics cipro

  3. RonaldSwobe说道:

    https://finasteride.store/# get propecia no prescription

  4. Davidfrify说道:

    cytotec online buy cytotec online fast delivery buy misoprostol over the counter

  5. RandallGuesE说道:

    Cytotec 200mcg price: buy cytotec online – cytotec online

  6. RandallGuesE说道:

    zestril lisinopril: zestril 40 mg – lisinopril 250mg

  7. RandallGuesE说道:

    generic propecia without dr prescription: order generic propecia price – buying generic propecia pill

  8. Davidfrify说道:

    get generic propecia propecia without dr prescription order cheap propecia pills

  9. Marcelcrolf说道:

    http://canadaph24.pro/# canadianpharmacyworld com

  10. JustinTut说道:

    top online pharmacy india https://indiaph24.store/# cheapest online pharmacy india
    india pharmacy

  11. RickyAlage说道:

    legitimate canadian pharmacies Certified Canadian Pharmacies canadian pharmacy meds reviews

  12. Michaelsew说道:

    http://indiaph24.store/# indian pharmacy paypal

  13. Michaelsew说道:

    https://canadaph24.pro/# canadianpharmacymeds

  14. Michaelsew说道:

    http://mexicoph24.life/# purple pharmacy mexico price list

  15. Pedropaite说道:

    mexican mail order pharmacies: Mexican Pharmacy Online – purple pharmacy mexico price list

  16. Marcelcrolf说道:

    https://indiaph24.store/# buy prescription drugs from india

  17. Pedropaite说道:

    buying from online mexican pharmacy: Mexican Pharmacy Online – mexican pharmacy

  18. Marcelcrolf说道:

    http://indiaph24.store/# Online medicine order

  19. Pedropaite说道:

    reputable mexican pharmacies online: cheapest mexico drugs – buying prescription drugs in mexico online

  20. Pedropaite说道:

    buying prescription drugs in mexico: cheapest mexico drugs – mexico pharmacies prescription drugs

  21. RickyAlage说道:

    canadian pharmacy near me Large Selection of Medications from Canada canadian pharmacy prices

回复 java使用web3j调用以太坊私链上的智能合约 – cool薄荷 取消回复

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