You are viewing a single comment's thread from:

RE: A Cursory Overview of How Vaporchains Work

in #vaporchain6 years ago

Wow, thank you for the great questions!

can we directly store the commands in JSON or is there a length limit ?

You should be able to do that. The Vaporchain Transfer and Trade commands will be in JSON. The reason why I didn't use JSON in the transfer's memo is due to a couple of reasons:

  1. It's quicker to detect a valid Vaporchain memo if I only have to scan the first argument "!vapor"
  2. Less clutter in the memo makes it easier to follow visually

vaporchain-test Creator of the Vaporchain (Sender of Memo)

Curious if we really need this information when sending the memo?

Yes, we do. That is because any user can create their own Vaporchain called "vapor" like we did. Each Vaporchain is tied to its creator indefinitely.

Maybe not last question, do you have an example on how to send a bid?

There is an example between Vapor Block 2 and Vapor Block 3. I'll paste it again below:

!vapor vapor vaporchain-test 2 a3a31f032bd1607b3c8434d14d0b2396eb0d0c4b52f3a54d3c6af8e34bda8184

That BID was sent AFTER Vapor Block 2 and BEFORE Vapor Block 3.

Sort:  

That BID was sent AFTER Vapor Block 2 and BEFORE Vapor Block 3.

Oh thank you, missed it.

!vapor vapor vaporchain-test 2 a3a31f032bd1607b3c8434d14d0b2396eb0d0c4b52f3a54d3c6af8e34bda8184

Is 2 the bid number, the actual value we want to give to get the reward?

The "2" is the block you're mining, which should always be the most recent one created by the Vaporchain.

Did I miss where the user input the bid value?

The input for the amount is taken from the Steem Blockchain not from the memo. All transfers on the Steem Blockchain already require a minimum amount of 0.001 STEEM/SBD before sending. So, that is what Vaporchains read. They only work with STEEM though.

Oh yes that's obvious, thank you very much.

During the bidding process, only one winner will be able to obtain the reward and all the other ones will lose their bid because sending an amount to @null is like burning STEEM coins. Is it right?

If understood correctly, one alternative could be to share the reward proportionally among all the bidders.

I did put some thought into that option when I first started but it ends up defeating the whole purpose of Proof-of-Burn. This is because the same person could have multiple accounts and if he never burns his STEEM he'll just keep getting his money back.

Didn't know about proof-of-burn, this is interesting.

Posted using Partiko Android

Coin Marketplace

STEEM 0.17
TRX 0.16
JST 0.028
BTC 76338.99
ETH 2965.83
USDT 1.00
SBD 2.62