THE AMAZING ATOMIC SWAP by abahad

View this thread on steempeak.com
· @abahad ·
$28.84
THE AMAZING ATOMIC SWAP
# The Definition <h1>

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](https://weidex.market/welcome). 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](https://cdn.steemitimages.com/DQmd2dNEmrMDc6se3s9RtNeocvhsAi94bGS294qeTn7umuQ/weiDex.JPG)
# Efficient Functionality <h1>

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](https://bitcointalk.org/index.php?topic=4638484.0). 

3. David delivers the magic formula fastening L(T) to Alison along with the address of his business deal on the Bitcoin blockchain,[weiDex](https://weidex.market/welcome). 

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](https://weidex.market/welcome). 

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](https://t.me/joinchat/IvU-mxJSkHeHzcms-S1ZYQ). 

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](https://cdn.steemitimages.com/DQmeF3CjKuJzNX9tSos57Ha1XeNgYY5G9MuGDzGgmoeGu8a/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 NAME | weiDex
------------ | -------------
Website | https://weidex.market/welcome
Whitepaper | https://weidex.market/images/whitepaper.pdf
Twitter | https://twitter.com/weiDexExchange
Telegram | https://t.me/joinchat/IvU-mxJSkHeHzcms-S1ZYQ
ANN | https://bitcointalk.org/index.php?topic=4638484.0
Author Bitcointalk ID | croptodic
Bitcointalk profile link | https://bitcointalk.org/index.php?action=profile;u=1433115
ETH wallet address | 0x0c205136765289ddb9711eAF5EA60E03d0Fc9863
👍  , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , and 27 others
properties (23)
post_id62,505,992
authorabahad
permlinkthe-amazing-atomic-swap
categoryico
json_metadata{"tags":["ico","crypto","steemit","bitcoin","weidex"],"image":["https:\/\/cdn.steemitimages.com\/DQmd2dNEmrMDc6se3s9RtNeocvhsAi94bGS294qeTn7umuQ\/weiDex.JPG"],"format":"markdown","links":["https:\/\/weidex.market\/welcome","https:\/\/bitcointalk.org\/index.php?topic=4638484.0","https:\/\/t.me\/joinchat\/IvU-mxJSkHeHzcms-S1ZYQ","https:\/\/weidex.market\/images\/whitepaper.pdf","https:\/\/twitter.com\/weiDexExchange","https:\/\/bitcointalk.org\/index.php?action=profile;u=1433115"],"app":"steemit\/0.1"}
created2018-09-15 10:50:51
last_update2018-09-15 10:50:51
depth0
children4
net_rshares24,969,153,449,201
last_payout2018-09-22 10:50:51
cashout_time1969-12-31 23:59:59
total_payout_value21.780 SBD
curator_payout_value7.062 SBD
pending_payout_value0.000 SBD
promoted0.000 SBD
body_length4,189
author_reputation4,444,038,142,600
root_title"THE AMAZING ATOMIC SWAP"
beneficiaries[]
max_accepted_payout1,000,000.000 SBD
percent_steem_dollars10,000
author_curate_reward""
vote details (91)
@upme ·
re-abahad-the-amazing-atomic-swap-20180915t123220694z
You 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 ). <br>  Quick delegation links: <a target="_blank:" href="https://steemconnect.com/sign/delegateVestingShares?delegator=&delegatee=upme&vesting_shares=25%20SP">25SP</a> | <a target="_blank:" href="https://steemconnect.com/sign/delegateVestingShares?delegator=&delegatee=upme&vesting_shares=50%20SP">50SP</a> | <a target="_blank:" href="https://steemconnect.com/sign/delegateVestingShares?delegator=&delegatee=upme&vesting_shares=100%20SP">100SP</a> | <a target="_blank:" href="https://steemconnect.com/sign/delegateVestingShares?delegator=&delegatee=upme&vesting_shares=250%20SP">250SP</a> | <a target="_blank:" href="https://steemconnect.com/sign/delegateVestingShares?delegator=&delegatee=upme&vesting_shares=500%20SP">500SP</a> | <a target="_blank:" href="https://steemconnect.com/sign/delegateVestingShares?delegator=&delegatee=upme&vesting_shares=1000%20SP">1000SP</a> | <a target="_blank:" href="https://steemconnect.com/sign/delegateVestingShares?delegator=&delegatee=upme&vesting_shares=2000%20SP">2000SP</a> | <a target="_blank:" href="https://steemconnect.com/sign/delegateVestingShares?delegator=&delegatee=upme&vesting_shares=5000%20SP">5000SP</a> | <a target="_blank:" href="https://steembottracker.com/delegation.html?delegatee=upme">Custom Amount</a>
properties (22)
post_id62,511,844
authorupme
permlinkre-abahad-the-amazing-atomic-swap-20180915t123220694z
categoryico
json_metadata{"app":"postpromoter\/2.1.0"}
created2018-09-15 12:32:21
last_update2018-09-15 12:32:21
depth1
children0
net_rshares0
last_payout2018-09-22 12:32:21
cashout_time1969-12-31 23:59:59
total_payout_value0.000 SBD
curator_payout_value0.000 SBD
pending_payout_value0.000 SBD
promoted0.000 SBD
body_length1,471
author_reputation587,339,066,841
root_title"THE AMAZING ATOMIC SWAP"
beneficiaries[]
max_accepted_payout1,000,000.000 SBD
percent_steem_dollars10,000
@steembots.info ·
$0.21
This post was resteemed by @steemvote and received a 99.69% Upvote. Send 0.5 SBD or STEEM to @steemvote
👍  , ,
properties (23)
post_id62,513,756
authorsteembots.info
permlinkthe-amazing-atomic-swap2018-09-15
categoryico
json_metadata{"tags":[""],"app":"steemjs\/steemvote"}
created2018-09-15 13:03:12
last_update2018-09-15 13:03:12
depth1
children0
net_rshares183,774,647,253
last_payout2018-09-22 13:03:12
cashout_time1969-12-31 23:59:59
total_payout_value0.159 SBD
curator_payout_value0.051 SBD
pending_payout_value0.000 SBD
promoted0.000 SBD
body_length103
author_reputation86,430,428,607,483
root_title"THE AMAZING ATOMIC SWAP"
beneficiaries[]
max_accepted_payout1,000,000.000 SBD
percent_steem_dollars10,000
author_curate_reward""
vote details (3)
@emperorofnaps ·
re-abahad-the-amazing-atomic-swap-20180915t142012168z
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!
properties (22)
post_id62,519,304
authoremperorofnaps
permlinkre-abahad-the-amazing-atomic-swap-20180915t142012168z
categoryico
json_metadata{"app":"postpromoter\/2.1.0"}
created2018-09-15 14:20:12
last_update2018-09-15 14:20:12
depth1
children0
net_rshares0
last_payout2018-09-22 14:20:12
cashout_time1969-12-31 23:59:59
total_payout_value0.000 SBD
curator_payout_value0.000 SBD
pending_payout_value0.000 SBD
promoted0.000 SBD
body_length224
author_reputation-5,370,317,963
root_title"THE AMAZING ATOMIC SWAP"
beneficiaries[]
max_accepted_payout1,000,000.000 SBD
percent_steem_dollars10,000
@steemitboard ·
Congratulations @abahad! You have completed the following achievement on the Steem blockchain and have been rewarded with new badge(s) :

[![](https://steemitimages.com/70x80/http://steemitboard.com/notifications/payout.png)](http://steemitboard.com/@abahad) Award for the total payout received

<sub>_Click on the badge to view your Board of Honor._</sub>
<sub>_If you no longer want to receive notifications, reply to this comment with the word_ `STOP`</sub>



> Support [SteemitBoard's project](https://steemit.com/@steemitboard)! **[Vote for its witness](https://v2.steemconnect.com/sign/account-witness-vote?witness=steemitboard&approve=1)** and **get one more award**!
properties (22)
post_id63,000,128
authorsteemitboard
permlinksteemitboard-notify-abahad-20180922t005108000z
categoryico
json_metadata{"image":["https:\/\/steemitboard.com\/img\/notify.png"]}
created2018-09-22 00:51:06
last_update2018-09-22 00:51:06
depth1
children0
net_rshares0
last_payout2018-09-29 00:51:06
cashout_time1969-12-31 23:59:59
total_payout_value0.000 SBD
curator_payout_value0.000 SBD
pending_payout_value0.000 SBD
promoted0.000 SBD
body_length675
author_reputation38,705,954,145,809
root_title"THE AMAZING ATOMIC SWAP"
beneficiaries[]
max_accepted_payout1,000,000.000 SBD
percent_steem_dollars10,000