BitShares Forum

Main => 中文 (Chinese) => Topic started by: wudouzheng on October 22, 2018, 04:26:41 am

Title: 请问如果获得ref_block_num, ref_block_prefix, signatures?
Post by: wudouzheng on October 22, 2018, 04:26:41 am
使用broadcast API
需要三个参数,尤其是signatures。
Title: Re: 请问如果获得ref_block_num, ref_block_prefix, signatures?
Post by: abit on October 23, 2018, 05:35:19 pm
使用broadcast API
需要三个参数,尤其是signatures。
signature就是签名。几个方法
* 调 cli_wallet 的 sign_transaction 命令 ,或者看C++代码实现 https://github.com/bitshares/bitshares-core/blob/2.0.180823/libraries/wallet/wallet.cpp#L1881-L1942
* python 库 https://github.com/bitshares/python-bitshares
* js 库 https://github.com/bitshares/bitsharesjs
* java 库 https://github.com/Agorise/graphenej