BitShares Forum

Main => Technical Support => Topic started by: clout on September 22, 2015, 02:02:57 am

Title: Blinded Transactions
Post by: clout on September 22, 2015, 02:02:57 am
Has anyone successfully used the
Code: [Select]
blind_transfer function? I get an error that I have an insufficient balance even though thats not the case at all.
Title: Re: Blinded Transactions
Post by: ElMato on September 29, 2015, 12:59:23 am
@clout, this is what worked for me.

1) Create blind account "bacc1"
2) Create blind account "bacc2"

get_blind_accounts
[[
    "bacc1",
    "GPH7EsV61saKFYh5kQwxTtd7h92BtJP51YL32EEsMeUWhZjkY4NVv"
  ],[
    "bacc2",
    "GPH824HUDikZtpP8U26aGWNddGrBCcJSFQkQ41HRSqjCZFhZJfTCA"
  ]
]

3)  transfer_to_blind nathan CORE [["GPH7EsV61saKFYh5kQwxTtd7h92BtJP51YL32EEsMeUWhZjkY4NVv", 555]] true

4) get_blind_balances bacc1
555 CORE

5) blind_transfer bacc1 GPH824HUDikZtpP8U26aGWNddGrBCcJSFQkQ41HRSqjCZFhZJfTCA 45 CORE true

6) get_blind_balances bacc2
45 CORE

7) get_blind_balances bacc1
495 CORE

[15 CORE fee!]
Title: Re: Blinded Transactions
Post by: xeroc on September 29, 2015, 06:33:33 am
[15 CORE fee!]
yes .. blinded transactions are more expensive .. unless shareholders vote them down :)