http://docs.pybitshares.com/en/latest/ 这里面的 wallet-passphrase、secret-passphrase、wif-key分别代表什么,应该去哪里找啊
关于pypybitshares
看函数名,你就知道参数是什么意思了。
wallet-passphrase 和 secret-passphrase 都是钱包文件unlock的私钥。
wif-key 是私钥,在 bts 的网页钱包可以看
应该去哪找啊,,我把我的密码都试了 可就是不对
这个我找到了,可输入进去运行还是显示错误 from bitshares.market import Market market = Market(“USD:BTS”) print(market.ticker()) market.bitshares.wallet.unlock(“wallet-passphrase”) print(market.sell(300, 100))
这个wallet-passphrase 我试了各种密码 都显示graphenestorage.exceptions.WrongMasterPasswordException
from bitshares import BitShares
bitshares = BitShares("wss://api.bts.ai")
bitshares.wallet.create("123") #钱包加密密码
bitshares.wallet.unlock("123") #钱包加密密码
bitshares.wallet.addPrivateKey("5J**********") #账户的私钥
bitshares.wallet.addPrivateKey("5K*********") #账户的私钥