0 Members and 1 Guest are viewing this topic.
How easy would it be to implement this in BitShares? TLDR; Payments are locked for nBlocks and refunded unless a secret from receiver is revealed.https://bitcointalk.org/index.php?topic=628547.0http://upcoder.com/11/atomic-cross-chain-exchange/I would love to be able to trade BitUSD for Bitcoin or other alts directly and not have to deal with going though BTS everytime.
Quote from: vikram on January 26, 2015, 08:41:39 amQuote from: xeroc on January 26, 2015, 07:24:22 amAs for CrossChain trading a "password" is shared it should be possible to test transactions without a second chain ..basically it is just a "redeem with password"-kind of transaction .. those have to be enabled in devshares ..@vikram : any chance to have withdraw_by_password_type transactions enabled in devshares so that people can finally test the implementation?No plans to enable it at the moment; every small thing we add will further delay 1.0. If the community thinks it is necessary though we can work on it.IMHO an easy to use BTC<->bitBTC would be forth it ..How much work is left to get those transactions to work?
Quote from: xeroc on January 26, 2015, 07:24:22 amAs for CrossChain trading a "password" is shared it should be possible to test transactions without a second chain ..basically it is just a "redeem with password"-kind of transaction .. those have to be enabled in devshares ..@vikram : any chance to have withdraw_by_password_type transactions enabled in devshares so that people can finally test the implementation?No plans to enable it at the moment; every small thing we add will further delay 1.0. If the community thinks it is necessary though we can work on it.
As for CrossChain trading a "password" is shared it should be possible to test transactions without a second chain ..basically it is just a "redeem with password"-kind of transaction .. those have to be enabled in devshares ..@vikram : any chance to have withdraw_by_password_type transactions enabled in devshares so that people can finally test the implementation?
Quote from: bernard on January 01, 2015, 03:06:18 pmQuote from: bytemaster on January 01, 2015, 01:36:05 pmAlready supported at protocol levelNot sure what that means.. I guess technically Bitcoin supports this at a protocol level as long as someone changes the client to create and accept these two new tx types (PayOnSecretReveal & SecretReveal).So i'm assuming it also needs to be implemented in Bitshares? How much work would it be? Is anyone interested in implementing it? I think it would increase demand for BitUSD if people can swap it for their own prefered coin.What can I do to help make this happen? A couple of new API calls would be a good start perhaps?We don't have a scripting engine like BTC so "supported a protocol level" is slight more significant - there had to be deliberate effort to add that feature and it is there. But yes, someone has to change the wallet to craft the proper transaction.
Quote from: bytemaster on January 01, 2015, 01:36:05 pmAlready supported at protocol levelNot sure what that means.. I guess technically Bitcoin supports this at a protocol level as long as someone changes the client to create and accept these two new tx types (PayOnSecretReveal & SecretReveal).So i'm assuming it also needs to be implemented in Bitshares? How much work would it be? Is anyone interested in implementing it? I think it would increase demand for BitUSD if people can swap it for their own prefered coin.What can I do to help make this happen? A couple of new API calls would be a good start perhaps?
Already supported at protocol level
Quote from: bytemaster on January 01, 2015, 01:36:05 pmAlready supported at protocol levelMaybe this is something to implement before 1.0. I could see it being very useful once Peertracks and other DACs are running.