您正在查看: EOS-新手教程 分类下的文章

eosio action abi 部分语义化

账号 合约 Action 语义 备注
eosio eosio.system delegatebw 抵押资源
undelegatebw 赎回资源
buyramkbytes 购买内存
sellram 卖出内存
refund 赎回退款
voteproducer 投票
claimrewards 申请奖励
bidname 竞拍账户
bidrefund 竞拍退还
newaccount 创建账户
updateauth 更新授权
deleteauth 删除授权
linkauth 链接授权
unlinkauth 取消链接授权
canceldelay 取消延迟交易
regproducer 注册生产者
unregprod 取消生产者
eosio.token eosio.token issue 代币增发
transfer 代币转账
create 创建代币

ref_block_num 和 ref_block_prefix

先简单记一下,后面再做补充

主要作用是判断下前后交易是不是在一个链上,也就是有没有分叉。

参考

https://github.com/EOSIO/eos/issues/4659
https://eos.live/detail/17094
https://github.com/EOSIO/eosjs/issues/151
http://www.zhongruitech.com/955126221.html

查看EOS主网BP配置

cleos -u https://api.eoslaomao.com get table eosheartbeat eosheartbeat hbstruct

虚拟币硬件钱包调研

最近项目打算接硬件钱包,简单记录下调研信息
目前需求 需要支持 PC浏览器以及收集APP。
APP端的话相对较多,先查下PC浏览器相关的
主要信息来源MetaMask扩展和ScatteDesktop客户端。
目前流行的两个“龙头”PC浏览器钱包解决方案。

MetaMask

支持2种硬件钱包

  • Ledger
  • TREZOR

ScatteDesktop

也支持2种

  • Ledger Nano S
  • Scatter/LiguidEOS DIY Hardware Wallet

EOSIO

YubiKey (WebAuthn)

相关介绍

Ledger

https://shop.ledger.com/products/ledger-nano-s?r=17c4991a03fa&tracker=MY_TRACKER
https://zhuanlan.zhihu.com/p/32322818
https://weidian.com/p5/diary/pages/diary.php?id=14414801
https://0xzx.com/20190504193957697.html
https://github.com/cosmos/ledger-cosmos

Scatter/LiguidEOS DIY Hardware Wallet

https://medium.com/@liquideos/how-to-build-an-eos-hardware-wallet-a-step-by-step-guide-a62445786c0f

Yubikey

https://www.zilian8.com/148763.html

目前Yubikey 是EOSIO官方在做的,目前还没有太多的介绍,相信很快就会有了。
目前EOS已经稳定,BM下一步就是商业化产品运行,

对于开发者来说,目前Ledger的周边库是最全的,一些相关的js库等