Uptrenda



Offline



Activity: 114

Merit: 10







MemberActivity: 114Merit: 10 [ANN] Coinbend: a functional decentralized cryptocurrency exchange August 16, 2015, 03:53:03 PM

Last edit: August 31, 2015, 07:24:50 PM by Uptrenda #1

Coinbend: p2p coin swaps with complete strangers.









Announcing Coinbend



Coinbend is the first functional exchange for trading cryptocurrencies that doesn't require a third party. I've been working hard on this software for a while now and this is the first version that runs so I'm releasing this early for feedback.



Keep in mind this is only a prototype so only use this with testcoins - the software is missing a lot of features and doesn't even have a functional order book - but its fully functioning when it comes to trading coins and you can test it if you connect to traders manually.



Let me know what you think of the project in the comments



Download: Windows

Linux

Source code

Online demo mode:

Alice

Bob

(You must enter the node ID of the other demo node for both sides to trade using demo mode.

Minimum order amounts and trade limits apply to prevent abuse.)



Video tutorial: https://www.youtube.com/watch?v=h7maCX8XKbg



How to install and start the software:

Download and install any cryptocurrencies you want to trade.

Open the coin clients and then close them - this will create the required data directories.

Unzip the Coinbend download.

Run the install file either called windows_install.bat or linux_install.sh. This will copy the database, UI, and config files so the software works.

Start the file called coinbend.exe or coinbend on Linux -- it will patch your coins config files. Press enter to exit.

Restart all the coins you want to use. They should now be running on the test network. Allow the blockchains to download and then run the Coinbend client again.

When all the debug statements have stopped printing, you should see a URL. Visit http://localhost:7777/ in your browser to trade.

Video tutorial: https://www.youtube.com/watch?v=FtPCTpMlcrs



Placing a test order:

You can either place a trade on the network or trade directly with another person. Network trades currently must match 100% because partial matching isn't implemented yet so I recommend you don't do that. Instead, get a friend to run the client and enter their node ID on the trade confirm page. Both trader's must enter each other's node IDs for direct trading to work and both trades must match 100%.





Why this matters



Coinbend is the first exchange to offer dynamic multi-currency support (you read that right.) What this means in English is there are no restrictions on what alt-coins can be traded. Instead, the software will simply work with any cryptocurrency based on Bitcoin (even alt-coins that don't yet exist.)



You can also trade coin pairs in arbitrary combinations. Every aspect of the software has been designed to work with standard transactions so there are no special requirements to use this software with your favourite currency on the main network.



And last but not least: this is the first practical, p2p exchange for trading cryptocurrencies. It requires no middle man to operate, no third-party trust, and strictly gives the users control of their funds at all time. This is possible because Coinbend solves the TX malleability problem with smart contracts without depending on a third-party as a fail-safe making this the first truly trustless exchange.



How it works



Coinbend works by breaking down trades into a series of micro-trades which are carried out using micro-payment channels. The trades are placed with a standard fee (0.5%) which simultaneously serves as micro-collateral. If a micro-payment channel is ever broken, any owed micro-amounts can be recovered from the trade fees which are managed by the exchange.



Since micro-transfer amounts are designed to be as small as possible: any potential losses that might occur will be negligible and the impact of a hacked exchange would have minimal effects. In order to further reduce the risk of p2p trading: Coinbend also includes a secure refund feature. Refunds ensure that an owner's coins will eventually return to them in the event of a broken trade and work by using a new cryptographic construct called the timechain instead of traditional malleable refunds.



tl; dr, you can trade directly with complete strangers using this design without relying on a third-party but the software isn't finished yet.



(Also, please let me know if I should keep working on this as I've already put in a huge amount of time with no reward and a lot more is still needed to get this to beta.)



Developer: matthew@roberts.pm



Website: www.coinbend.com



Twitter: @coinbend



White paper 1: www.coinbend.com/whitepaper.pdf



White paper 2: www.roberts.pm/timechain

Coinbend is the first functional exchange for trading cryptocurrencies that doesn't require a third party. I've been working hard on this software for a while now and this is the first version that runs so I'm releasing this early for feedback.Keep in mind this is only a prototype so only use this with testcoins - the software is missing a lot of features and doesn't even have a functional order book - but its fully functioning when it comes to trading coins and you can test it if you connect to traders manually.Let me know what you think of the project in the comments(You must enter the node ID of the other demo node for both sides to trade using demo mode.Minimum order amounts and trade limits apply to prevent abuse.)You can either place a trade on the network or trade directly with another person. Network trades currently must match 100% because partial matching isn't implemented yet so I recommend you don't do that. Instead, get a friend to run the client and enter their node ID on the trade confirm page. Both trader's must enter each other's node IDs for direct trading to work and both trades must match 100%.Coinbend is the first exchange to offer dynamic multi-currency support (you read that right.) What this means in English is there are no restrictions on what alt-coins can be traded. Instead, the software will simply work with any cryptocurrency based on Bitcoin (even alt-coins that don't yet exist.)You can also trade coin pairs in arbitrary combinations. Every aspect of the software has been designed to work with standard transactions so there are no special requirements to use this software with your favourite currency on the main network.And last but not least: this is theIt requires no middle man to operate, no third-party trust, and strictly gives the users control of their funds at all time. This is possible because Coinbend solves the TX malleability problem with smart contracts without depending on a third-party as a fail-safe making this the first truly trustless exchange.Coinbend works by breaking down trades into a series of micro-trades which are carried out using micro-payment channels. The trades are placed with a standard fee (0.5%) which simultaneously serves as micro-collateral. If a micro-payment channel is ever broken, any owed micro-amounts can be recovered from the trade fees which are managed by the exchange.Since micro-transfer amounts are designed to be as small as possible: any potential losses that might occur will be negligible and the impact of a hacked exchange would have minimal effects. In order to further reduce the risk of p2p trading: Coinbend also includes a secure refund feature. Refunds ensure that an owner's coins will eventually return to them in the event of a broken trade and work by using a new cryptographic construct called the timechain instead of traditional malleable refunds.tl; dr, you can trade directly with complete strangers using this design without relying on a third-party but the software isn't finished yet.(Also, please let me know if I should keep working on this as I've already put in a huge amount of time with no reward and a lot more is still needed to get this to beta.)

Uptrenda



Offline



Activity: 114

Merit: 10







MemberActivity: 114Merit: 10 Re: [ANN] Coinbend pre-alpha: p2p coin swaps with complete strangers August 17, 2015, 07:41:52 AM

Last edit: August 17, 2015, 09:32:58 AM by Uptrenda #4



For now: here's a short video of how to submit a mock trade with the demo nodes. I noticed some people were trying that out but you need to also submit an equivalent trade on the other node that matches against your order otherwise the coins won't transfer.



https://www.youtube.com/watch?v=h7maCX8XKbg



Edit: and here's the installation guide - Thanks for the kind replies so far. I'm in the process of editing an install / how to video since the instructions are a little unclear at this point.For now: here's a short video of how to submit a mock trade with the demo nodes. I noticed some people were trying that out but you need to also submit an equivalent trade on the other node that matches against your order otherwise the coins won't transfer.Edit: and here's the installation guide - https://www.youtube.com/watch?v=FtPCTpMlcrs . I'll add both videos to the OP.

Uptrenda



Offline



Activity: 114

Merit: 10







MemberActivity: 114Merit: 10 Re: [ANN] Coinbend pre-alpha: a functional p2p cryptocurrency exchange August 20, 2015, 07:08:43 AM #8 Quote from: Pab on August 19, 2015, 01:01:26 PM I have answered you on pm



He is great coder and programer,also he has great knowledge from area of finance and economy,investments

if you will need web designer that we know one,if he will not has time for it,i can try to contact with woman with good knowledge about web building,designe etc



Awesome. I hope this goes somewhere



Quote Very nice project you have there!



Will your software be available for others to use to start their own exchange?



It's a p2p exchange so users download the software and run it on their own computers to trade crypto-assets that they singularly control. In this way, there's no limitations on what assets can be traded and deposits aren't required making it much more secure than giving away your coins to trade on a centralized exchange.



I suppose you actually could use the software to allow anyone to setup their own exchange. Under that model, operators would run the software and accept deposits on behalf of their customers who could then trade currencies with other customers on that node in real time - quite an interesting thought because you could argue that's definitely one definition of "decentralized exchange" and the risks for trading would still be reduced by using smart contracts, however, that's not exactly what I had in mind for the software.



Still, if enough people want such a feature I can always make this a multi-user system. What's cool about this software is the UI is web-based and the code is Python - so anyone can run this software and access it from any platform with a web browser. The web is extremely flexible and accessible, so building the software in this way is like giving people an entire exchange in a box. Prettty cool. Anyway, back to work Awesome. I hope this goes somewhereIt's a p2p exchange so users download the software and run it on their own computers to trade crypto-assets that they singularly control. In this way, there's no limitations on what assets can be traded and deposits aren't required making it much more secure than giving away your coins to trade on a centralized exchange.I suppose you actually could use the software to allow anyone to setup their own exchange. Under that model, operators would run the software and accept deposits on behalf of their customers who could then trade currencies with other customers on that node in real time - quite an interesting thought because you could argue that's definitely one definition of "decentralized exchange" and the risks for trading would still be reduced by using smart contracts, however, that's not exactly what I had in mind for the software.Still, if enough people want such a feature I can always make this a multi-user system. What's cool about this software is the UI is web-based and the code is Python - so anyone can run this software and access it from any platform with a web browser. The web is extremely flexible and accessible, so building the software in this way is like giving people an entire exchange in a box. Prettty cool. Anyway, back to work

Uptrenda



Offline



Activity: 114

Merit: 10







MemberActivity: 114Merit: 10 Re: [ANN] Coinbend pre-alpha: a functional p2p cryptocurrency exchange August 31, 2015, 06:35:37 PM #10



https://github.com/robertsdotpm/coinbend



Quote from: CryptInvest on August 27, 2015, 09:19:50 PM It would be interesting if you released a demo on YouTube with comments to show how make the exchange. Any projects in the field of decentralized exchange is certainly interesting. Thanks!



That's a very good idea. I did kind of rush the videos. I'll do a proper screen cast / demo explaining the software soon.



In other news: I'm still looking for a partner who wants to help me take this to beta. If you like cryptocurrencies and want to help people trade without losing their coins to hackers - send me a PM I've just added basic instructions for developers on Github including a vagrant environment that handles installing all the dependencies and everything needed for development. Should hopefully make working on this easier.That's a very good idea. I did kind of rush the videos. I'll do a proper screen cast / demo explaining the software soon.In other news: I'm still looking for a partner who wants to help me take this to beta. If you like cryptocurrencies and want to help people trade without losing their coins to hackers - send me a PM

belcher



Offline



Activity: 261

Merit: 328







Sr. MemberActivity: 261Merit: 328 Re: [ANN] Coinbend: a functional decentralized cryptocurrency exchange September 17, 2015, 12:10:46 AM #11



Is there anywhere we can read a little more about the details of the smart contract? Is it simply this This looks interesting.Is there anywhere we can read a little more about the details of the smart contract? Is it simply this https://en.bitcoin.it/wiki/Atomic_cross-chain_trading

- CoinJoin that people will actually use.

PGP fingerprint: 0A8B 038F 5E10 CC27 89BF CFFF EF73 4EA6 77F3 1129 1HZBd22eQLgbwxjwbCtSjhoPFWxQg8rBd9 JoinMarket - CoinJoin that people will actually use.PGP fingerprint: 0A8B 038F 5E10 CC27 89BF CFFF EF73 4EA6 77F3 1129

melisande



Offline



Activity: 434

Merit: 250









Sr. MemberActivity: 434Merit: 250 Re: [ANN] Coinbend: a functional decentralized cryptocurrency exchange September 17, 2015, 06:30:14 AM #14 No doubt this is a pretty idea but the general problem with any P2P is one person trying to play smart than the other, what security measure do you put in place to check this type of ugly situation.

Uptrenda



Offline



Activity: 114

Merit: 10







MemberActivity: 114Merit: 10 Re: [ANN] Coinbend: a functional decentralized cryptocurrency exchange September 17, 2015, 06:55:28 AM #15 Quote from: melisande on September 17, 2015, 06:30:14 AM No doubt this is a pretty idea but the general problem with any P2P is one person trying to play smart than the other, what security measure do you put in place to check this type of ugly situation.



It's simple really: time.



Most of the security measures in Coinbend are all in some way a function of time. You have incremental transfers of coins that take place over a time frame and you have time-based refunds. Both of these approaches allow the risk for trading to be deterministically reduced - even between complete strangers - no third-party needed.



It's an interesting approach. Perhaps one that might eventually lead to the creation of high security databases that would make large-scale data breaches impossible. (Such technology doesn't exist yet but it could if we wanted it to.) It's simple really: time.Most of the security measures in Coinbend are all in some way a function of time. You have incremental transfers of coins that take place over a time frame and you have time-based refunds. Both of these approaches allow the risk for trading to be deterministically reduced - even between complete strangers - no third-party needed.It's an interesting approach. Perhaps one that might eventually lead to the creation of high security databases that would make large-scale data breaches impossible. (Such technology doesn't exist yet but it could if we wanted it to.)

melisande



Offline



Activity: 434

Merit: 250









Sr. MemberActivity: 434Merit: 250 Re: [ANN] Coinbend: a functional decentralized cryptocurrency exchange September 17, 2015, 07:18:49 AM #16 Quote from: Uptrenda on September 17, 2015, 06:55:28 AM Quote from: melisande on September 17, 2015, 06:30:14 AM No doubt this is a pretty idea but the general problem with any P2P is one person trying to play smart than the other, what security measure do you put in place to check this type of ugly situation.



It's simple really: time.



Most of the security measures in Coinbend are all in some way a function of time. You have incremental transfers of coins that take place over a time frame and you have time-based refunds. Both of these approaches allow the risk for trading to be deterministically reduced - even between complete strangers - no third-party needed.



It's an interesting approach. Perhaps one that might eventually lead to the creation of high security databases that would make large-scale data breaches impossible. (Such technology doesn't exist yet but it could if we wanted it to.)

It's simple really: time.Most of the security measures in Coinbend are all in some way a function of time. You have incremental transfers of coins that take place over a time frame and you have time-based refunds. Both of these approaches allow the risk for trading to be deterministically reduced - even between complete strangers - no third-party needed.It's an interesting approach. Perhaps one that might eventually lead to the creation of high security databases that would make large-scale data breaches impossible. (Such technology doesn't exist yet but it could if we wanted it to.) OK it is good to know that you take that into considerations because there are people that always try to out smart another people.

Uptrenda



Offline



Activity: 114

Merit: 10







MemberActivity: 114Merit: 10 Re: [ANN] Coinbend: a functional decentralized cryptocurrency exchange September 25, 2015, 11:48:38 AM #17 Quote OK it is good to know that you take that into considerations because there are people that always try to out smart another people.



Definitely. Security is why I'm building the software.



Regarding Coinbend: are there any features you guys can think of that -aren't- related to currency exchange? I was thinking that it has some robust P2P code and it will probably be a while before this software is user-friendly, so why not add something simple to get the network started. Definitely. Security is why I'm building the software.Regarding Coinbend: are there any features you guys can think of that -aren't- related to currency exchange? I was thinking that it has some robust P2P code and it will probably be a while before this software is user-friendly, so why not add something simple to get the network started.