Main Menu

Stealth Transfers - HOW TO

Started by bytemaster, October 19, 2015, 10:00:18 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

bytemaster

Quote from: karnal on October 20, 2015, 05:10:46 PM
Quote from: bytemaster on October 20, 2015, 01:12:48 PM
Quote from: Chronos on October 20, 2015, 04:36:16 AM
Is it possible to place stealth bid/ask orders on the DEX? If not, what portion of balances become declared when an order is placed by the receiver of a stealth transfer?

Nope.   The best you can do is this:

1. Transfer From Blind to temp-account
2. Register new Account with temp-account
3. Transfer From Blind to new account
4.  Place orders from new account that isn't tied to any other account.

Why is 3) needed when it's public info which account registered new-account ? (i.e, why not fund new-account from the stealth funds sent to temp-account on step 1))

"temp-account" is a special account built into the blockchain that EVERYONE has permissions on, but whose balance must always be 0 at the end of every transaction.

Steps 1 and 2 must be in the same transaction.

For the latest updates checkout my blog: [url="http://bytemaster.bitshares.org"]http://bytemaster.bitshares.org[/url]
Anything said on these forums does not constitute an intent to create a legal obligation or contract between myself and anyone else.   These are merely my opinions and I reserve the right to change them at any time.

karnal

Quote from: bytemaster on October 20, 2015, 01:12:48 PM
Quote from: Chronos on October 20, 2015, 04:36:16 AM
Is it possible to place stealth bid/ask orders on the DEX? If not, what portion of balances become declared when an order is placed by the receiver of a stealth transfer?

Nope.   The best you can do is this:

1. Transfer From Blind to temp-account
2. Register new Account with temp-account
3. Transfer From Blind to new account
4.  Place orders from new account that isn't tied to any other account.

Why is 3) needed when it's public info which account registered new-account ? (i.e, why not fund new-account from the stealth funds sent to temp-account on step 1))


bytemaster

Quote from: Chronos on October 20, 2015, 04:36:16 AM
Is it possible to place stealth bid/ask orders on the DEX? If not, what portion of balances become declared when an order is placed by the receiver of a stealth transfer?

Nope.   The best you can do is this:

1. Transfer From Blind to temp-account
2. Register new Account with temp-account
3. Transfer From Blind to new account
4.  Place orders from new account that isn't tied to any other account.

For the latest updates checkout my blog: [url="http://bytemaster.bitshares.org"]http://bytemaster.bitshares.org[/url]
Anything said on these forums does not constitute an intent to create a legal obligation or contract between myself and anyone else.   These are merely my opinions and I reserve the right to change them at any time.

bytemaster

Quote from: xeroc on October 20, 2015, 05:29:12 AM
@bytemaster, if you want, you can have write access to docs.bitshares.eu. It uses restructure text (similar to markdown).
If you don't want to waste time for that, would it be ok for you that I copy&paste (reformat) your howtos over there?

Copy and paste at will!
For the latest updates checkout my blog: [url="http://bytemaster.bitshares.org"]http://bytemaster.bitshares.org[/url]
Anything said on these forums does not constitute an intent to create a legal obligation or contract between myself and anyone else.   These are merely my opinions and I reserve the right to change them at any time.

karnal


xeroc

@bytemaster, if you want, you can have write access to docs.bitshares.eu. It uses restructure text (similar to markdown).
If you don't want to waste time for that, would it be ok for you that I copy&paste (reformat) your howtos over there?

Chronos

Is it possible to place stealth bid/ask orders on the DEX? If not, what portion of balances become declared when an order is placed by the receiver of a stealth transfer?

cube

really nice. bts2 is gearing up for the real-world txs.   +5%
ID: bitcube
bitcube is a dedicated witness and committe member. Please vote for bitcube.

bytemaster

That transaction was going from BLIND to PUBLIC... so not particularly interesting :)

The GUI doesn't know how to represent the blind operations at the moment.
For the latest updates checkout my blog: [url="http://bytemaster.bitshares.org"]http://bytemaster.bitshares.org[/url]
Anything said on these forums does not constitute an intent to create a legal obligation or contract between myself and anyone else.   These are merely my opinions and I reserve the right to change them at any time.

bytemaster

Quote from: clayop on October 19, 2015, 10:08:16 PM
I found some null transactions with 15 fees on the blockchain. (e.g. #177905). It was obviously stealth transfer test :)


get_block 177905
{
  "previous": "0002b6f084f2385f83dbbf707e00effb114734d2",
  "timestamp": "2015-10-19T21:58:33",
  "witness": "1.6.14",
  "transaction_merkle_root": "62250cb777fe77e0d7cf9edcb6b70b81ed97daef",
  "extensions": [],
  "witness_signature": "2031966f1d1955a6e2fec7636b8705a88291fd7f2d178fab1044ff46ec64fd91aa40e493e6397a958a17af2e2e5f299dab2d58f7b25c45caebc0768f8436c46d9d",
  "transactions": [{
      "ref_block_num": 46831,
      "ref_block_prefix": 4073589982,
      "expiration": "2015-10-19T21:58:57",
      "operations": [[
          40,{
            "fee": {
              "amount": 1500000,
              "asset_id": "1.3.0"
            },
            "inputs": [{
                "commitment": "02ffb1c70cd8478278635d0ec6a758ef406919ef7409629fd7045989a62508299b",
                "owner": {
                  "weight_threshold": 1,
                  "account_auths": [],
                  "key_auths": [[
                      "BTS7aU6Tq1QE1C4speNrHF3DD6UoFASXzYdcWsusKKrpGHC3MJty9",
                      1
                    ]
                  ],
                  "address_auths": []
                }
              }
            ],
            "outputs": [{
                "commitment": "02ca4735d4f1b238bb4c758fdcd187eee6f9114e5f20ad4478dc11a1f58d557ba9",
                "range_proof": "",
                "owner": {
                  "weight_threshold": 0,
                  "account_auths": [],
                  "key_auths": [],
                  "address_auths": []
                }
              }
            ]
          }
        ],[
          41,{
            "fee": {
              "amount": 500000,
              "asset_id": "1.3.0"
            },
            "amount": {
              "amount": 25000000,
              "asset_id": "1.3.0"
            },
            "to": "1.2.1090",
            "blinding_factor": "561d17c8bbd311d3cb2706df173aac76281024cdc86edac52b2e20c885fb0709",
            "inputs": [{
                "commitment": "02ca4735d4f1b238bb4c758fdcd187eee6f9114e5f20ad4478dc11a1f58d557ba9",
                "owner": {
                  "weight_threshold": 0,
                  "account_auths": [],
                  "key_auths": [],
                  "address_auths": []
                }
              }
            ]
          }
        ]
      ],
      "extensions": [],
      "signatures": [
        "1f35f73d5bf40d5267161ba431b29c15b05c348e13d8f4357b81e3bdb0ed370cc058226c70dd932b6b146cc7aaad908dc869882bc96376981c988a1e22cd0c9827"
      ],
      "operation_results": [[
          0,{}
        ],[
          0,{}
        ]
      ]
    }
  ],
  "block_id": "0002b6f1f93eb132f1e995716be82a5eb82d2901",
  "signing_key": "BTS73UhnE6uD8Axdp3cU8EmvjjaFuiAAPRwARqrgRY1vZkJLFYo4u"
}
For the latest updates checkout my blog: [url="http://bytemaster.bitshares.org"]http://bytemaster.bitshares.org[/url]
Anything said on these forums does not constitute an intent to create a legal obligation or contract between myself and anyone else.   These are merely my opinions and I reserve the right to change them at any time.

clayop

I found some null transactions with 15 fees on the blockchain. (e.g. #177905). It was obviously stealth transfer test :)
Bitshares Korea - [url="http://www.bitshares.kr"]http://www.bitshares.kr[/url]
Vote for me and see Korean Bitshares community grows
delegate-clayop

bytemaster

Those of you who wish to keep your balances and transfers private and have the ability to use the CLI wallet:

https://github.com/cryptonomex/graphene/wiki/StealthTransfers

Have Fun!
For the latest updates checkout my blog: [url="http://bytemaster.bitshares.org"]http://bytemaster.bitshares.org[/url]
Anything said on these forums does not constitute an intent to create a legal obligation or contract between myself and anyone else.   These are merely my opinions and I reserve the right to change them at any time.