首先,环境相关的配置请参考https://www.cnblogs.com/hbright/p/9266420.html

  在这里,我们一起看年EOS权限相关的东东。我们先查看hml这个用户的相关信息

hml@Ulord-:~$ cleos --wallet-url http://127.0.0.1:8900 -u http://10.186.11.211:8888 get account  hml
permissions:
owner : EOS7Ef4kuyTbXbtSPP5Bgethvo6pbitpuEz2RMWhXb8LXxEgcR7MC
active : EOS7Ef4kuyTbXbtSPP5Bgethvo6pbitpuEz2RMWhXb8LXxEgcR7MC
memory:
quota: 1.201 GiB used: 3.731 KiB net bandwidth:
staked: 100000000.0000 SYS (total stake delegated from account to self)
delegated: 0.0000 SYS (total staked delegated to account from others)
used: bytes
available: 36.62 TiB
limit: 36.62 TiB cpu bandwidth:
staked: 100000000.0000 SYS (total stake delegated from account to self)
delegated: 0.0000 SYS (total staked delegated to account from others)
used: 1.437 ms
available: hr
limit: hr SYS balances:
liquid: 20000.0000 SYS
staked: 200000000.0000 SYS
unstaking: 0.0000 SYS
total: 200020000.0000 SYS producers: <not voted>
cleos --wallet-url http://127.0.0.1:8900 --url http://10.186.11.211:8888 set account permission hml custom '{"threshold" : 2, "keys" : [{"key": "EOS7Ef4kuyTbXbtSPP5Bgethvo6pbitpuEz2RMWhXb8LXxEgcR7MC","weight": "1"}], "accounts" : [{"permission":{"actor":"usera","permission":"active"},"weight":1}]}' active

cleos --wallet-url http://127.0.0.1:8900 --url http://10.186.11.211:8888  set account permission hml active '{"threshold" : 2, "keys" : [{"key": "EOS7Ef4kuyTbXbtSPP5Bgethvo6pbitpuEz2RMWhXb8LXxEgcR7MC","weight": "1"}], "accounts" : [{"permission":{"actor":"usera","permission":"active"},"weight":1}]}' owner
hml@ulord:~$ cleos --wallet-url http://127.0.0.1:8900 -u http://10.186.11.211:8888 get account hml
permissions:
owner : EOS7Ef4kuyTbXbtSPP5Bgethvo6pbitpuEz2RMWhXb8LXxEgcR7MC
active : EOS7Ef4kuyTbXbtSPP5Bgethvo6pbitpuEz2RMWhXb8LXxEgcR7MC1 usera@active,
custom : EOS7Ef4kuyTbXbtSPP5Bgethvo6pbitpuEz2RMWhXb8LXxEgcR7MC1 usera@active,
memory:
quota: 1.201 GiB used: 4.124 KiB net bandwidth:
staked: 100000000.0000 SYS (total stake delegated from account to self)
delegated: 0.0000 SYS (total staked delegated to account from others)
used: bytes
available: 36.62 TiB
limit: 36.62 TiB cpu bandwidth:
staked: 100000000.0000 SYS (total stake delegated from account to self)
delegated: 0.0000 SYS (total staked delegated to account from others)
used: 2.216 ms
available: hr
limit: hr SYS balances:
liquid: 20000.0000 SYS
staked: 200000000.0000 SYS
unstaking: 0.0000 SYS
total: 200020000.0000 SYS producers: <not voted> hml@ulord:~$

最新文章

  1. Linux Vsftpd 连接超时解决方法(被动模式)
  2. (转)Apache实现反向代理负载均衡
  3. java 把一个文件夹里图片复制到另一个文件夹里
  4. Java synchronized指南
  5. uva624 CD   01背包+输出最优解
  6. BZOJ 1046: [HAOI2007]上升序列 LIS -dp
  7. linux相关解压命令
  8. 高性能MySql学习笔记——锁、事务、隔离级别(转)
  9. dom03
  10. Android高斯模糊技术,实现毛玻璃效果(转)
  11. 【Alpha】第三次Daily Scrum Meeting
  12. 海思板卡SATA最佳读写块大小测试
  13. 自动化测试框架Selenium工作原理
  14. codeforces 761B Dasha and friends
  15. 玩玩微信公众号Java版之七:自定义微信分享
  16. 笔记:安卓App消息处理机制
  17. [leetcode]200. Number of Islands岛屿个数
  18. ANN算法总结
  19. 别具光芒Div CSS 读书笔记(一)
  20. APP的UI自动化测试框架及平台化探索

热门文章

  1. MySQL--Basic(一)
  2. python的random模块及加权随机算法的python实现
  3. vscode 小笔记
  4. linux命令学习笔记(39):grep 命令
  5. noip退役赛
  6. [BZOJ2962][清华集训]序列操作
  7. RenderMonkey基本使用方法
  8. HDOJ1059(多重背包)
  9. CSS 关于文本 背景 边框整理
  10. qtp ie_hook