Bitcoin Forum
April 25, 2024, 09:28:45 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: « 1 2 [3]  All
  Print  
Author Topic: Alt chains and atomic transfers  (Read 27259 times)
TierNolan (OP)
Legendary
*
Offline Offline

Activity: 1232
Merit: 1083


View Profile
June 18, 2014, 04:21:09 PM
 #41

TierNolan,

Really great work on this.  Any luck with the simple client/server?  Did it work as expected.  Have you discussed this with the people like Adam Back pushing the SideChain changes, so that they can include this?

Shortage of free time.  Getting all the encryption right isn't that easy Smiley, but I have the transactions working, as long as no cheating is required.

I still need to add checking for fraud and the refund transactions.

One point of good news from the dev list is that they are relaxing some of the restrictions on standard transactions.

See this post.  As long as the transaction uses P2SH, non-standard transactions will be accepted by the network.

At the cost of some extra complexity in creating transactions, almost all non-standard transactions will be possible.  The remaining limit is 520 bytes and 15 signature operations, but that is not a major restriction (and is just to protect against DOS attacks).

1LxbG5cKXzTwZg9mjL3gaRE835uNQEteWF
1714037325
Hero Member
*
Offline Offline

Posts: 1714037325

View Profile Personal Message (Offline)

Ignore
1714037325
Reply with quote  #2

1714037325
Report to moderator
1714037325
Hero Member
*
Offline Offline

Posts: 1714037325

View Profile Personal Message (Offline)

Ignore
1714037325
Reply with quote  #2

1714037325
Report to moderator
1714037325
Hero Member
*
Offline Offline

Posts: 1714037325

View Profile Personal Message (Offline)

Ignore
1714037325
Reply with quote  #2

1714037325
Report to moderator
"With e-currency based on cryptographic proof, without the need to trust a third party middleman, money can be secure and transactions effortless." -- Satoshi
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1714037325
Hero Member
*
Offline Offline

Posts: 1714037325

View Profile Personal Message (Offline)

Ignore
1714037325
Reply with quote  #2

1714037325
Report to moderator
zccoin
Full Member
***
Offline Offline

Activity: 157
Merit: 100



View Profile WWW
June 28, 2014, 10:07:10 PM
 #42

TierNolan,

Really great work on this.  Any luck with the simple client/server?  Did it work as expected.  Have you discussed this with the people like Adam Back pushing the SideChain changes, so that they can include this?

Shortage of free time.  Getting all the encryption right isn't that easy Smiley, but I have the transactions working, as long as no cheating is required.

I still need to add checking for fraud and the refund transactions.

One point of good news from the dev list is that they are relaxing some of the restrictions on standard transactions.

See this post.  As long as the transaction uses P2SH, non-standard transactions will be accepted by the network.

At the cost of some extra complexity in creating transactions, almost all non-standard transactions will be possible.  The remaining limit is 520 bytes and 15 signature operations, but that is not a major restriction (and is just to protect against DOS attacks).

We are ZCC dev, and would love to adopt the necessary changes for cross chain trade.
Will keep an eye on this thread and thanks for your wonderful work.

ZcCoin Donation: ZVX7namJi8CinMQbFruzHA27eW53qTznXW
xHire
Newbie
*
Offline Offline

Activity: 36
Merit: 0


View Profile WWW
February 03, 2015, 01:31:02 PM
 #43

This is very valueable thread and I'm glad of all the work TierNolan and others have done! Smiley To contribute to it a little bit, I worked out both proposed protocols. The first one with a formalisation, proof and demo implementation. However, the second protocol isn't atomic so my post isn't as elaborated as the first one (on the other hand, the derived one in TierNolan's BIP has the issue fixed, but I didn't study it in much detail).

BTW, I'm implementing this as a part of a bigger project---decentralised cryptocurrency exchange (Coincer, for short Wink). And I already have a working atomic protocol that uses only standard transaction scripts. So after years this stuff is definitely moving forwards! Cheesy
Adriano
Staff
Legendary
*
Offline Offline

Activity: 1285
Merit: 1085



View Profile
February 03, 2015, 09:30:55 PM
 #44

This is very valueable thread and I'm glad of all the work TierNolan and others have done! Smiley To contribute to it a little bit, I worked out both proposed protocols. The first one with a formalisation, proof and demo implementation. However, the second protocol isn't atomic so my post isn't as elaborated as the first one (on the other hand, the derived one in TierNolan's BIP has the issue fixed, but I didn't study it in much detail).

BTW, I'm implementing this as a part of a bigger project---decentralised cryptocurrency exchange (Coincer, for short Wink). And I already have a working atomic protocol that uses only standard transaction scripts. So after years this stuff is definitely moving forwards! Cheesy

Thanks for your work... I will try to find some time to check it too.

Adriano

--
swapcoiner
Member
**
Offline Offline

Activity: 93
Merit: 10


View Profile
February 05, 2015, 06:40:15 PM
 #45

Is this the way, assets are also created and shared?
TPTB_need_war
Sr. Member
****
Offline Offline

Activity: 420
Merit: 257


View Profile
December 21, 2015, 11:11:40 PM
Last edit: December 22, 2015, 12:02:11 AM by TPTB_need_war
 #46

Maybe the following was summarized upthread, but I want to jot down my high-level conceptualization (ignoring scripting details).

Also I will offer an improvement (perhaps it was not already mentioned upthread?).

One of the parties of the trade generates Hash(x), keeps x secret, and generates the first transaction. The other party follows after first transaction is irreversibly confirmed. Both parties issue transactions on their respective block chains to other party, giving the other party the right to accept the funds if they reveal x. The first party who knows x reveals first to accept the funds. The other party then knows x to accept the funds.

If x is never revealed the transactions are refunded/canceled.

The block chains never have to monitor each other, i.e. miners don't need any knowledge about another block chain. The parties monitor the block chains and issue the transactions.

The major flaw in this protocol is it can be jammed because the refund comes much later.

An improvement would be to have both parties issue their transactions at the same time. They can both generate a Hash(x) and Hash(y), so that accepting funds requires both x and y.

So then they only have to set the refund period to the duration to irreversibly confirm both transactions.

For anti-jamming, the UTXO could be required to have been of a certain CoinDaysDestroyed (i.e. some age × coin value). This would reduce jamming resources at the cost of eliminating fast retrading. This protocol isn't really suitable for day trading any way due to its slow confirmation.

coins101
Legendary
*
Offline Offline

Activity: 1456
Merit: 1000



View Profile
February 27, 2017, 03:45:10 PM
 #47

Looking to implement this.

Is there an agreed hash function for different alts to use?
xHire
Newbie
*
Offline Offline

Activity: 36
Merit: 0


View Profile WWW
February 27, 2017, 04:04:18 PM
 #48

Looking to implement this.

Is there an agreed hash function for different alts to use?
As far as I know, there isn’t any set of pairs of usable hash functions for each two altcoins. Nonetheless, before you dive in, you need to make sure that the altcoin is tx-malleability-free or that it has BIP65 deployed. If you are interested, I have an optimised script you might use.

Be prepared to run into many hurdles if you’re going to implement this kind of exchange from scratch yourself (I mean, the script is the least issue and you can use an already invented one—but there is much more around it that you need to take care of).
FreeTrade
Legendary
*
Offline Offline

Activity: 1428
Merit: 1030



View Profile
April 29, 2017, 09:12:26 AM
 #49

Looking to implement this.

Is there an agreed hash function for different alts to use?

Is this going into Helium?

Membercoin - Layer 1 Coin used for the member.cash decentralized social network.
10% Interest On All Balances. Browser and Solo Mining. 100% Distributed to Users and Developers.
d5000
Legendary
*
Offline Offline

Activity: 3892
Merit: 6080


Decentralization Maximalist


View Profile
May 01, 2017, 03:51:47 PM
 #50

I am very interested in this technology and would like to get an overview of the "state of the art" on it if someone knows (if someone has resources, links etc. welcome). Is there another newer thread? I saw this one popping up but it's really old and outdated.

I know there is already a working implementation (AT) since 2015, but it's little used and not Bitcoin script compatible (and I don't know if its well peer reviewed or there are any vulnerabilities). And there is MercuryEx but it seems to have stalled in alpha state (probably because it needs malleability fixed). Now with Segwit in LTC and other alts it should work in theory.

█▀▀▀











█▄▄▄
▀▀▀▀▀▀▀▀▀▀▀
e
▄▄▄▄▄▄▄▄▄▄▄
█████████████
████████████▄███
██▐███████▄█████▀
█████████▄████▀
███▐████▄███▀
████▐██████▀
█████▀█████
███████████▄
████████████▄
██▄█████▀█████▄
▄█████████▀█████▀
███████████▀██▀
████▀█████████
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
c.h.
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
▀▀▀█











▄▄▄█
▄██████▄▄▄
█████████████▄▄
███████████████
███████████████
███████████████
███████████████
███░░█████████
███▌▐█████████
█████████████
███████████▀
██████████▀
████████▀
▀██▀▀
a7594li
Hero Member
*****
Offline Offline

Activity: 711
Merit: 500



View Profile
May 13, 2017, 02:13:03 AM
 #51

A lot of people do that,But I hope you do better,

I'm also interested


▄▄▄████████▄▄▄
▄▄███▀▀████████▀▀███▄▄
▄██▀▀   ██████████   ▀▀██▄
▄██▀     ████████████     ▀██▄
██▀      ██████████████      ▀██
██▀      ████████████████      ▀██
██▀      ██████████████████      ▀██
▄██      █████████  █████████      ██▄
██      █████████    █████████      ██
██     █████████      █████████     ██
██    █████████        █████████    ██
██   █████████          █████████   ██
▀██ ██████████████████████████████ ██▀
████████████████████████ ███████████
██████████████████████   █████████
████████████████████     ███████
▀██▄                      ▄██▀
▀██▄▄                ▄▄██▀
▀▀███▄▄▄      ▄▄▄███▀▀
▀▀▀████████▀▀▀
  .A.P.H.E.L.I.O.N.  [    ] 
▄████████████████████████▄
████████████▀     ████████
███████████       ████████
███████████    ███████████
███████████    ███████████
████████          ████████
████████          ████████
███████████    ███████████
███████████    ███████████
███████████    ███████████
███████████    ███████████
███████████    ███████████
▀████████████████████████▀
 
▄████████████████████████▄
██████████████████████████
████▀  ▀██████████████████
████▄  ▄██████████████████
██████████████████████████
████    ██    █▀    ▀█████
████    ██     ▄▄     ████
████    ██    ████    ████
████    ██    ████    ████
████    ██    ████    ████
████    ██    ████    ████
██████████████████████████
▀████████████████████████▀
 
▄████████████████████████▄
██████████████████████████
███████████████▀▀▀▀███████
████ ▀███████▀      ▀▀▀███
████    ▀▀██▀        ▄████
████▄               ██████
█████▄             ███████
██████▄           ████████
███▀██▀▀        ▄█████████
████▄▄       ▄▄███████████
██████████████████████████
██████████████████████████
▀████████████████████████▀
 
▄████████████████████████▄
██████████████████████████
██████████████████▀▀   ███
██████████████▀▀  ▄█▀ ▄███
██████████▀▀    ▄█▀   ████
██████▀▀      ▄█▀    ▄████
██▀▀        ▄█▀      █████
████▄▄    ▄█▀       ▄█████
████████▄█▀         ██████
██████████   ▄     ▄██████
██████████ ▄████▄▄ ███████
██████████████████████████
▀████████████████████████▀
  ▶  Whitepaper
▶  Website
▶  Register
Pages: « 1 2 [3]  All
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!