• EOS 多主机多节点配置终极命令


    eosio 10.186.11.211
    hml 10.186.11.223
    lwz 10.186.11.220
    lx  10.186.11.141
    
    //eosio private key
    5K463ynhZoCDDa4RDcr63cUwWLTnKqmdcoTKTHBjqoKfv4u5V7p
    EOS8Znrtgwt8TfpmbVpTKvA2oB8Nqey625CLN8bCN3TEbgx86Dsvr
    
    //eosio signature key
    5KQwrPbwdL6PhXujxW37FSSQZ1JiwsST4cqQzDeyXtP79zkvFD3
    EOS6MRyAjQq8ud7hVNYcfnVPJqcVpscN5So8BhtHuGYqET5GDW5CV
    
    //hml private key
    5K6qk1KaCYYWX86UhAfUsbMwhGPUqrqHrZEQDjs9ekP5j6LgHUu
    EOS7Ef4kuyTbXbtSPP5Bgethvo6pbitpuEz2RMWhXb8LXxEgcR7MC
    
    //hml signature key
    5KgwZuKvR13P3pU6yeZpLKtafEspLCU15MsUfo5Cw4T4zLW7YUV
    EOS8Hn8Bbp5oska1LULgHFr2JPP2pGZmkktdYF5e1c1HBPVBakrBY
    
    //lwz private key
    5KLGj1HGRWbk5xNmoKfrcrQHXvcVJBPdAckoiJgFftXSJjLPp7b
    EOS8imf2TDq6FKtLZ8mvXPWcd6EF2rQwo8zKdLNzsbU9EiMSt9Lwz
    
    //lwz signature key
    EOS7wZq62R4oBjTsy65ZGCeRJNqLkdeNp16Wi4G8p1pPWr4w1FHcg
    5KaUbHuZ1ba8XD5uJd7qLTF6wDEyEwXNNP54ZpPzwi3gYJjYCfZ
    
    //lx private key
    5JCStvbRgUZ6hjyfUiUaxt5iU3HP6zC1kwx3W7SweaEGvs4EPfQ
    EOS5n442Qz4yVc4LbdPCDnxNSseAiUCrNjRxAfPhUvM8tWS5svid6
    
    //lx signature key
    EOS7Dt6jbWcxMjoXjC9GjUHKrDKqfwgqptgSY625b8vsX1GHnwhu2
    5JggjKbEo9XFW8c9GFkb7ZSVQo8KZzqL15D7m3DcbCGFjpqmGYK
    
    //eosio.bpay
    5KL3B8V9LpnMK6TQdPqPfaWB16tAycV826UQ4FWwKXcF27cJLQY
    EOS7DtTWZ2eMBgZPeS59sukrvUby5u5oEq8muRbPfnRWRTnr86EsU
    
    //eosio.msig
    5K6m6CTu4B8r9Fz1jEetjAuke3n1CcJER8WoMTUBZ8qbcE6pqur
    EOS5NPLsgvE5q7PfxMFm7a9u71GpKA8zuP52D1zR99tcYj55vTrGc
    
    //eosio.names
    5J3mn1MkQsUUs7WoJ3TGrhFNH56fxtX1aU8sSEA7kCwfVsTCkPc
    EOS7dNHbgqr2SQRXcjnBtCRgWBg88UaFxd5TKuaZjDrF17tGoJv3x
    
    //eosio.ram
    5JaDJSJ7sgW1jywvSA77UFHYKjgiRANT8XtzvymyemceqeBgaX6
    EOS6XpxPXQz9zxpRoZwcX7qxZBGM5AW9UXmXx5gPj8TQsce2djSkn
    
    //eosio.ramfee
    5KRb1HAcYSLoL1z4LaPesZmEzSLt6cZaAAS7p8QUaDhCUR38DcQ
    EOS5AwNKvaF7UymqXQqUyM6nYZFh4zw7Bgh1jAYFoZbfs4TLGiWjz
    
    //eosio.saving
    5J4NCtcMJtYhUfwj3np8E3zWHZfyqNfBWnSWdc4ztZy6DSBXRLz
    EOS8ANpZSjeg4pXLzwugBP1SVCURnppSBWVBza3GJ2P2viJavLQAY
    
    //eosio.stake
    5JPG7fQkqqfrX6gnscDa1hnoLJyEXxXDqt86NDnRJDjXogwdP9Q
    EOS7o9HpypoTQHN2jS6MgvM7CDfQde1YWHhWWNLLeGh2t5Q3cCv3U
    
    //eosio.token
    5JzMPNQGbd5kznU4GasPEy6xpe7T3vxM8GiF4dkExHJNas39gZr
    EOS57FezXU45Ubhyak6USBC31qo5bAuShw1xBxKk5G7RDN6UEjuAA
    
    //eosio.vpay
    5JkevCKHMnefLGpeg7QvFNLuDNbYz9zLuxpsdRmEZJGEWHeCkGs
    EOS6cLS284YouiS2Ym1vgmp4GnkcaW5p3Pmo48qKCEgiJoYP8gr9X
    
    
    
    cleos --wallet-url http://127.0.0.1:8900 --url http://10.186.11.211:8888 wallet create -n eosio
    PW5Ke9P6h8M7DpLkRUKehbHHiLjFB8ndoM4fAt22zWdaHSe4LPjak
    
    cleos --wallet-url http://127.0.0.1:8900 --url http://10.186.11.211:8888 wallet create -n eosiobpay
    PW5JcL12gLyTtvWnUtyezowk2ymHWW3o2WrKjaxqZZssWr1NaQGMD
    
    cleos --wallet-url http://127.0.0.1:8900 --url http://10.186.11.211:8888 wallet create -n eosiomsig
    PW5KkGXSmdvwamLE5iqrWp7AYJYR97V39YToDZoEhSgnfL5KetzU4
    
    cleos --wallet-url http://127.0.0.1:8900 --url http://10.186.11.211:8888 wallet create -n eosionames
    PW5JMcY8vaJkSnV9tsSAjG93yjzTeMa5h3MJXpKCWVwhPPCwSbrov
    
    cleos --wallet-url http://127.0.0.1:8900 --url http://10.186.11.211:8888 wallet create -n eosioram
    PW5JrMW9PuGvUCk5UmFkvqDjiMHKzqB9D9yntmMfJWXAPh9fJ1gUA
    
    cleos --wallet-url http://127.0.0.1:8900 --url http://10.186.11.211:8888 wallet create -n eosioramfee
    PW5K7L4wwjfCAivrytLsA2ena1Xf2NyANFiyAMBeJzB489cmbFSBy
    
    cleos --wallet-url http://127.0.0.1:8900 --url http://10.186.11.211:8888 wallet create -n eosiosaving
    PW5KihqijX1P4kpkR4QzAXoCqaCpFqF1Jj8DffV5C71ouEtwK3bVC
    
    cleos --wallet-url http://127.0.0.1:8900 --url http://10.186.11.211:8888 wallet create -n eosiostake
    PW5JVgWnU3vSTE9aoAeyKTK7JK3gobvG77cYtuLVx1miU6yc9BigK
    
    cleos --wallet-url http://127.0.0.1:8900 --url http://10.186.11.211:8888 wallet create -n eosiotoken
    PW5JCnrrfcuKQ4SQdKjBwWaBLptbPQQjQsKV5FvujG7o9XzSTTMMv
    
    cleos --wallet-url http://127.0.0.1:8900 --url http://10.186.11.211:8888 wallet create -n eosiovpay
    PW5HwZt6PmuctSw3rAqJFirdgWZJzmkuKvLnCXU48ogxEx6dQ58Np
    
    cleos --wallet-url http://127.0.0.1:8900 --url http://10.186.11.211:8888 wallet import -n eosio 5K463ynhZoCDDa4RDcr63cUwWLTnKqmdcoTKTHBjqoKfv4u5V7p
    cleos --wallet-url http://127.0.0.1:8900 --url http://10.186.11.211:8888 wallet import -n eosio 5KQwrPbwdL6PhXujxW37FSSQZ1JiwsST4cqQzDeyXtP79zkvFD3
    
    cleos --wallet-url http://127.0.0.1:8900 --url http://10.186.11.211:8888 wallet import -n eosiobpay 5KL3B8V9LpnMK6TQdPqPfaWB16tAycV826UQ4FWwKXcF27cJLQY
    cleos --wallet-url http://127.0.0.1:8900 --url http://10.186.11.211:8888 wallet import -n eosiomsig 5K6m6CTu4B8r9Fz1jEetjAuke3n1CcJER8WoMTUBZ8qbcE6pqur
    cleos --wallet-url http://127.0.0.1:8900 --url http://10.186.11.211:8888 wallet import -n eosionames 5J3mn1MkQsUUs7WoJ3TGrhFNH56fxtX1aU8sSEA7kCwfVsTCkPc
    cleos --wallet-url http://127.0.0.1:8900 --url http://10.186.11.211:8888 wallet import -n eosioram 5JaDJSJ7sgW1jywvSA77UFHYKjgiRANT8XtzvymyemceqeBgaX6
    cleos --wallet-url http://127.0.0.1:8900 --url http://10.186.11.211:8888 wallet import -n eosioramfee 5KRb1HAcYSLoL1z4LaPesZmEzSLt6cZaAAS7p8QUaDhCUR38DcQ
    cleos --wallet-url http://127.0.0.1:8900 --url http://10.186.11.211:8888 wallet import -n eosiosaving 5J4NCtcMJtYhUfwj3np8E3zWHZfyqNfBWnSWdc4ztZy6DSBXRLz
    cleos --wallet-url http://127.0.0.1:8900 --url http://10.186.11.211:8888 wallet import -n eosiostake 5JPG7fQkqqfrX6gnscDa1hnoLJyEXxXDqt86NDnRJDjXogwdP9Q
    cleos --wallet-url http://127.0.0.1:8900 --url http://10.186.11.211:8888 wallet import -n eosiotoken 5JzMPNQGbd5kznU4GasPEy6xpe7T3vxM8GiF4dkExHJNas39gZr
    cleos --wallet-url http://127.0.0.1:8900 --url http://10.186.11.211:8888 wallet import -n eosiovpay 5JkevCKHMnefLGpeg7QvFNLuDNbYz9zLuxpsdRmEZJGEWHeCkGs
    
    cleos --wallet-url http://127.0.0.1:8900 --url http://10.186.11.211:8888 create account eosio eosio.bpay EOS7DtTWZ2eMBgZPeS59sukrvUby5u5oEq8muRbPfnRWRTnr86EsU
    cleos --wallet-url http://127.0.0.1:8900 --url http://10.186.11.211:8888 create account eosio eosio.msig EOS5NPLsgvE5q7PfxMFm7a9u71GpKA8zuP52D1zR99tcYj55vTrGc
    cleos --wallet-url http://127.0.0.1:8900 --url http://10.186.11.211:8888 create account eosio eosio.names EOS7dNHbgqr2SQRXcjnBtCRgWBg88UaFxd5TKuaZjDrF17tGoJv3x
    cleos --wallet-url http://127.0.0.1:8900 --url http://10.186.11.211:8888 create account eosio eosio.ram EOS6XpxPXQz9zxpRoZwcX7qxZBGM5AW9UXmXx5gPj8TQsce2djSkn
    cleos --wallet-url http://127.0.0.1:8900 --url http://10.186.11.211:8888 create account eosio eosio.ramfee EOS5AwNKvaF7UymqXQqUyM6nYZFh4zw7Bgh1jAYFoZbfs4TLGiWjz
    cleos --wallet-url http://127.0.0.1:8900 --url http://10.186.11.211:8888 create account eosio eosio.saving EOS8ANpZSjeg4pXLzwugBP1SVCURnppSBWVBza3GJ2P2viJavLQAY
    cleos --wallet-url http://127.0.0.1:8900 --url http://10.186.11.211:8888 create account eosio eosio.stake EOS7o9HpypoTQHN2jS6MgvM7CDfQde1YWHhWWNLLeGh2t5Q3cCv3U
    cleos --wallet-url http://127.0.0.1:8900 --url http://10.186.11.211:8888 create account eosio eosio.token EOS57FezXU45Ubhyak6USBC31qo5bAuShw1xBxKk5G7RDN6UEjuAA
    cleos --wallet-url http://127.0.0.1:8900 --url http://10.186.11.211:8888 create account eosio eosio.vpay EOS6cLS284YouiS2Ym1vgmp4GnkcaW5p3Pmo48qKCEgiJoYP8gr9X
    
    
    //create contract
    cleos --wallet-url http://127.0.0.1:8900 --url http://10.186.11.211:8888 set contract eosio.token ~/eos/build/contracts/eosio.token/
    cleos --wallet-url http://127.0.0.1:8900 --url http://10.186.11.211:8888 set contract eosio.msig ~/eos/build/contracts/eosio.msig/
    cleos --wallet-url http://127.0.0.1:8900 --url http://10.186.11.211:8888 push action eosio.token create '["eosio", "1000000000.0000 SYS"]' -p eosio.token
    cleos --wallet-url http://127.0.0.1:8900 --url http://10.186.11.211:8888  push action eosio.token issue '["eosio", "1000000000.0000 SYS", "memo"]' -p eosio
    cleos --wallet-url http://127.0.0.1:8900 --url http://10.186.11.211:8888 set contract eosio ~/eos/build/contracts/eosio.system/ 
    cleos --wallet-url http://127.0.0.1:8900 --url http://10.186.11.211:8888 push action eosio setpriv '["eosio.msig", 1]' -p eosio@active
    
    //create and transfer to producer
    cleos --wallet-url http://127.0.0.1:8900 --url http://10.186.11.211:8888 system newaccount --transfer eosio lwz EOS8imf2TDq6FKtLZ8mvXPWcd6EF2rQwo8zKdLNzsbU9EiMSt9Lwz --stake-net "100000000.0000 SYS" --stake-cpu "100000000.0000 SYS" --buy-ram "20000.0000 SYS"   
    cleos --wallet-url http://127.0.0.1:8900 --url http://10.186.11.211:8888 transfer eosio lwz "20000.0000 SYS"
    
    cleos --wallet-url http://127.0.0.1:8900 --url http://10.186.11.211:8888 system newaccount --transfer eosio hml EOS7Ef4kuyTbXbtSPP5Bgethvo6pbitpuEz2RMWhXb8LXxEgcR7MC --stake-net "100000000.0000 SYS" --stake-cpu "100000000.0000 SYS" --buy-ram "20000.0000 SYS"   
    cleos --wallet-url http://127.0.0.1:8900 --url http://10.186.11.211:8888 transfer eosio hml "20000.0000 SYS"
    
    cleos --wallet-url http://127.0.0.1:8900 --url http://10.186.11.211:8888 system newaccount --transfer eosio lx EOS5n442Qz4yVc4LbdPCDnxNSseAiUCrNjRxAfPhUvM8tWS5svid6 --stake-net "100000000.0000 SYS" --stake-cpu "100000000.0000 SYS" --buy-ram "20000.0000 SYS"   
    cleos --wallet-url http://127.0.0.1:8900 --url http://10.186.11.211:8888 transfer eosio lx "20000.0000 SYS"
    
    //create and transfer to user
    cleos --wallet-url http://127.0.0.1:8900 --url http://10.186.11.211:8888 system newaccount --transfer eosio usera EOS69X3383RzBZj41k73CSjUNXM5MYGpnDxyPnWUKPEtYQmTBWz4D --stake-net "50000000.0000 SYS" --stake-cpu "50000000.0000 SYS" --buy-ram "20000.0000 SYS"   
    cleos --wallet-url http://127.0.0.1:8900 --url http://10.186.11.211:8888 transfer eosio usera "20000.0000 SYS"
    
    cleos --wallet-url http://127.0.0.1:8900 --url http://10.186.11.211:8888 system newaccount --transfer eosio userb EOS7yBtksm8Kkg85r4in4uCbfN77uRwe82apM8jjbhFVDgEgz3w8S --stake-net "50000000.0000 SYS" --stake-cpu "50000000.0000 SYS" --buy-ram "20000.0000 SYS"   
    cleos --wallet-url http://127.0.0.1:8900 --url http://10.186.11.211:8888 transfer eosio userb "20000.0000 SYS"
    
    cleos --wallet-url http://127.0.0.1:8900 --url http://10.186.11.211:8888 system newaccount --transfer eosio userc EOS7WnhaKwHpbSidYuh2DF1qAExTRUtPEdZCaZqt75cKcixuQUtdA --stake-net "50000000.0000 SYS" --stake-cpu "50000000.0000 SYS" --buy-ram "20000.0000 SYS"   
    cleos --wallet-url http://127.0.0.1:8900 --url http://10.186.11.211:8888 transfer eosio userc "20000.0000 SYS"
    
    ////regproducer 
    cleos --wallet-url http://127.0.0.1:8900 --url http://10.186.11.211:8888 system regproducer lwz EOS8imf2TDq6FKtLZ8mvXPWcd6EF2rQwo8zKdLNzsbU9EiMSt9Lwz https://lwz.com/EOS8imf2TDq6FKtLZ8mvXPWcd6EF2rQwo8zKdLNzsbU9EiMSt9Lwz
    cleos --wallet-url http://127.0.0.1:8900 --url http://10.186.11.211:8888 system regproducer hml EOS7Ef4kuyTbXbtSPP5Bgethvo6pbitpuEz2RMWhXb8LXxEgcR7MC https://hml.com/EOS7Ef4kuyTbXbtSPP5Bgethvo6pbitpuEz2RMWhXb8LXxEgcR7MC
    cleos --wallet-url http://127.0.0.1:8900 --url http://10.186.11.211:8888 system regproducer lx EOS5n442Qz4yVc4LbdPCDnxNSseAiUCrNjRxAfPhUvM8tWS5svid6 https://lx.com/EOS5n442Qz4yVc4LbdPCDnxNSseAiUCrNjRxAfPhUvM8tWS5svid6
    
    
    cleos --wallet-url http://127.0.0.1:8900 --url http://10.186.11.211:8888 system voteproducer prods usera lwz  
    cleos --wallet-url http://127.0.0.1:8900 --url http://10.186.11.211:8888 system voteproducer prods userb hml  
    cleos --wallet-url http://127.0.0.1:8900 --url http://10.186.11.211:8888 system voteproducer prods userc lx
    

      

  • 相关阅读:
    作业5

    Linux系统管理4
    作业
    递归训练1:在两个长度相等的排序数组中找到上中位数
    LeetCode:面试题 08.05. 递归乘法
    LeetCode:面试题 08.06. 汉诺塔问题
    LeetCode:22. 括号生成
    如何仅用递归函数和栈操作逆序一个栈
    LeetCode:面试题 03.02. 栈的最小值
  • 原文地址:https://www.cnblogs.com/hbright/p/9266420.html
Copyright © 2020-2023  润新知