THE AMAZING ATOMIC SWAP

in #ico6 years ago

The Definition

Set simply, a great atomic change (as well often referred to seeing that a good cross-chain exchange or perhaps control) is a good almost instantaneous trade of one cryptocurrency to the other which will not require a middleman or third party to oversee the exchange. In pc programming, the term atomic denotes a unitary process of action or concept that is usually indivisible, unchangeable, entire, and very much irreducible. This means is normally that whether the craft will end up being finished in total or it will end up being terminated, and both gatherings will acquire their coins back,weiDex. As well, exchanges happen to be centralized. These centralized exchanges choose against the very element cryptocurrencies placed out to correct! Anything that is usually centralized can be weak to attack. Perhaps the virtually all great exchange crack of all period was the Mt Gox invasion, when over $473 million worthwhile of Bitcoin was taken, about 7% of the total world’s resource. But actually today hacks happen on a standard basis, many of these as Bithumb’s Come July 1st of 2017.
weiDex.JPG

Efficient Functionality

This example will use Bitcoin as the nation-Ethereum cryptocurrency being traded. Even so, it gets results with any cryptocurrency that aids the same level of scripting as Bitcoin; adding, but not limited to, Bitcoin Funds, Bitcoin Gold, and LiteCoin. For this example, Alison keeps Ether and Adam also retains Bitcoin. Alison is normally searching to provide her Ether to Tom in exchange for his Bitcoins.

  1. Adam creates a random key main P and hashes it by using the code SHA256 to generate a top-secret lock L(K).

  2. Adam uses the magic formula lock, and a Bitcoin Script, to arrange a purchase to Alison on the condition that she generates the secret key element. If she does certainly not carry out hence within A time, therefore David can take away the funds,weiDex.

  3. David delivers the magic formula fastening L(T) to Alison along with the address of his business deal on the Bitcoin blockchain,weiDex.

  4. Alison checks John's transfer, making sure the facts of the craft. If she does not really agree with that case, she will certainly not need to have to do anything. After X time, Tom can withdraw his cash,weiDex.

  5. Alison contact a deal function with a different id that offers been discussed between both merchants. She also uses the key freeze L(E) that was presented by Mark. This is usually a payable contact and Alison must mail her Ether when she makes this phone.

  6. John calls up another agreement function to confirm the specifics of the investment. If he will not really agree, after that he does certainly not need to have to carry out anything. After A time, Alison can invoke an agreement function, getting a return of her Ether,weiDex.

  7. Mark can right now put up the key primary P connected with the technique locking mechanism to a good deal. If he provides furnished the right top secret key, the deal will transfer Alison's Ether to Adam and retailer the hidden knowledge main.
    weiDex1.JPG

  8. Alison can nowadays get the top secret major E.

  9. Alison provides the secret key P to John's Bitcoin Script and receives his Bitcoin. This same method can be used to substitute any other ERC Expression for BTC.

ICO NAMEweiDex
Websitehttps://weidex.market/welcome
Whitepaperhttps://weidex.market/images/whitepaper.pdf
Twitterhttps://twitter.com/weiDexExchange
Telegramhttps://t.me/joinchat/IvU-mxJSkHeHzcms-S1ZYQ
ANNhttps://bitcointalk.org/index.php?topic=4638484.0
Author Bitcointalk IDcroptodic
Bitcointalk profile linkhttps://bitcointalk.org/index.php?action=profile;u=1433115
ETH wallet address0x0c205136765289ddb9711eAF5EA60E03d0Fc9863
Sort:  

This post was resteemed by @steemvote and received a 99.69% Upvote. Send 0.5 SBD or STEEM to @steemvote


Quick delegation links: 25SP | 50SP | 100SP | 250SP | 500SP | 1000SP | 2000SP | 5000SP | Custom AmountYou got a 6.83% upvote from @upme thanks to @abahad! Send at least 3 SBD or 3 STEEM to get upvote for next round. Delegate STEEM POWER and start earning 100% from your share, daily payouts ( no commission ).

You got a 45.15% upvote from @emperorofnaps courtesy of @abahad!

Want to promote your posts too? Send 0.05+ SBD or STEEM to @emperorofnaps to receive a share of a full upvote every 2.4 hours...Then go relax and take a nap!

Congratulations @abahad! You have completed the following achievement on the Steem blockchain and have been rewarded with new badge(s) :

<p dir="auto"><a href="http://steemitboard.com/@abahad" target="_blank" rel="noreferrer noopener" title="This link will take you away from hive.blog" class="external_link"><img src="https://images.hive.blog/768x0/https://steemitimages.com/70x80/http://steemitboard.com/notifications/payout.png" srcset="https://images.hive.blog/768x0/https://steemitimages.com/70x80/http://steemitboard.com/notifications/payout.png 1x, https://images.hive.blog/1536x0/https://steemitimages.com/70x80/http://steemitboard.com/notifications/payout.png 2x" /> Award for the total payout received <p dir="auto"><sub><em>Click on the badge to view your Board of Honor.<br /> <sub><em>If you no longer want to receive notifications, reply to this comment with the word <code>STOP <blockquote> <p dir="auto">Support <a href="https://steemit.com/@steemitboard" target="_blank" rel="noreferrer noopener" title="This link will take you away from hive.blog" class="external_link">SteemitBoard's project! <strong><a href="https://v2.steemconnect.com/sign/account-witness-vote?witness=steemitboard&approve=1" target="_blank" rel="noreferrer noopener" title="This link will take you away from hive.blog" class="external_link">Vote for its witness and <strong>get one more award!