Author Topic: Workflow for a proposed transfer  (Read 3311 times)

0 Members and 1 Guest are viewing this topic.

jakub

  • Guest
I'm trying to understand the workflow described in the docs for creating a proposed transaction for a simple transfer.

On the testnet, first I did this:
Code: [Select]
begin_builder_transactionI got 0 as the Handle ID, so I did the next step: 
Code: [Select]
add_operation_to_builder_transaction 0 [0,{"from": "1.2.41","to": "1.2.51","amount": {"amount": 7777774,"asset_id": "1.3.0"}}]which went through without errors.

Now, when I do this:
Code: [Select]
propose_builder_transaction 0 "2016-01-27T00:00:00" 36000 falsethere is no error.

But when I try to broadcast it:
Code: [Select]
propose_builder_transaction 0 "2016-01-27T00:00:00" 36000 trueI get this error:
Code: [Select]
0 exception: unspecified
3030006 invalid_committee_approval: committee account cannot directly approve transaction
Committee account may only propose transactions

(1) Why is this happening?
How can I propose a transaction without broadcasting the proposal first?

(2) How do I get hold of the Proposal ID, so that the other party can approve the proposal?

(3) The CLI command propose_builder_transaction2 seems to be no longer available.
Can I use propose_builder_transaction instead?
What is the difference between propose_builder_transaction and propose_builder_transaction2?
« Last Edit: January 27, 2016, 10:21:02 am by jakub »