4th Street Bar Hive-Bar

Hive-Bar Powered by Hive beta-fdb5b5b

Community post

Help with steem-python's TransactionBuilder?

I am currently working on a soft GUI wallet (keys are not stored) using python. I am working with steem-python's TransactionBuilder and I am having some trouble:

Here is the code that I am using to send a transaction:

https://steemitimages.com/DQmQaNNjhimLBkc6pwUQzaxDfSuguk9jRxT49vBx4tSr2AT/Screen Shot 2017-06-09 at 11.38.46 AM.png

First, I set up the transfer and the TransactionBuilder and then use operations.Transfer() to make my transfer readable for the TransactionBuilder. Next, I use appendMissingSignatures() to add the WIF active key that the user has provided to the TransactionBuilder, and then attempt to sign and broadcast the transaction (no_broadcast = True, as I am just testing).

Obviously, the way that I am adding the WIF key to the TransactionBuilder is incorrect, as the following MissingKeyError is raised:

https://steemitimages.com/DQmeYG5zS3Nj1CxtcFUvrVh78C9ezwgSiwf6rxH1VD6i7ZF/Screen Shot 2017-06-09 at 11.39.46 AM.png

What am I doing wrong here? I appreciate your help.

21 upvotes $3.84

Replies (3)

Review before signing

Posting as . Signing with . Keychain permission: Posting. Hive Keychain will ask you to approve this action next.


  
Technical details

Operation fingerprint: