Welcome to the Dash Forum!

Please sign up to discuss the most innovative cryptocurrency!

P2P Exchange - Scala developers needed to help with code review and estimates

Discussion in 'Projects' started by kot, Nov 10, 2015.

  1. kot

    kot Well-known Member
    Dash Core Team Foundation Member

    Joined:
    Mar 17, 2015
    Messages:
    685
    Likes Received:
    1,843
    Trophy Points:
    263
    Hi Guys,

    oaxaca gave ma a very interesting idea of having decentralized P2P exchange for Dash - thank you!

    Coinffeine is shutting down, but the code still lives at: https://github.com/Coinffeine/coinffeine
    The Caffeine project is mainly written in Scala. They use Akka to handle concurrency and BitcoinJ to work with Bitcoin.
    Does anyone of You have an experience with these technologies and would be interested to review the existing code and estimate how much effort would be required to change the code to make it working with Dash blockchain?

    The next step would be to re-write the code but it needs to be agreed with Coinffeine first. Coinffeine is an "open source" but propietary code, so you cannot modify or redistribute it. I will talk to them about this in the meantime.
     
    • Like Like x 6
  2. TanteStefana

    TanteStefana Grizzled Member
    Foundation Member

    Joined:
    Mar 9, 2014
    Messages:
    2,860
    Likes Received:
    1,854
    Trophy Points:
    1,283
    I've been saying this on another thread, but since this is related, and since you might read my "idea" (i'm sure I'm not unique) I'll restate it :)

    I want to see crypto currency grow, and to do that, we need a stable exchange and marketplace. My argument is that the Masternode network Dash has is uniquely qualified to run other services besides securing transactions and mixing.

    If we created another layer, another service that masternodes run, the service could easily be secured exactly the same way the blockchain is / or will be.

    What I want to see is a combination of masternode run decentralized exchange that works alone and in combination with a decentralized market place. Why? So that any coin can be used in this market place. I think a singular market place, that is as easy or easier to use than Ebay for both buyer and seller, with any coin accepted, would bring the world together in trade. This would be the ultimate realization of the crypto-currency dream. This would be a service Dash provides for the whole crypto-currency ecosystem.

    Although open source, etc... I feel that a singular marketplace (though distributed) is important, at least at first. We need to build a massive marketplace so that the lure of buying and selling is there. That is what makes Ebay so powerful and able to charge, along with Paypal, nearly 15% on every sale. It's where EVERYONE goes. Ebay offers everything under the sun for sale. You need something? You can find it there.

    We need a marketplace that is just as central to find, yet decentralized, safe, EASY and CHEAP to use, for all of crypto. We also need an exchange that can't run off with the funds. As well as an exchange that can translate a buyer's favorite coin to a seller's favorite coin seamlessly. So they ultimately should compliment each other. An exchange and a marketplace.

    And only the Masternode network can do this currently, safely, securely and in a decentralized manner.

    I'm ready to help any way I can, but I'm no coder.
     
    • Like Like x 4
  3. TanteStefana

    TanteStefana Grizzled Member
    Foundation Member

    Joined:
    Mar 9, 2014
    Messages:
    2,860
    Likes Received:
    1,854
    Trophy Points:
    1,283
    To continue, the way this is being approached, seperately, is not going to work. Open Bazaar requires everyone to run a server and client. This is far too hard for the average old lady who wants to sell home made doll clothes. Or really anyone. They find Ebay hard enough.

    Same goes for an exchange, though that's usually used by crypto-nerds. The problem here is that it keeps everything in the crypto-nerd family and does nothing to help expand the user base.

    As a "centralized" acting, but decentralized secure service, you get the best of both worlds. Isn't that what Evan's been saying? Don't throw the baby out with the bath water. Centralized service is efficient and easy, but to make something that feels centralized but is entirely secure via a decentralized, trustless system is the holy grail. And it can be done. Uniquely by Dash. Or more correctly by the Autonomous Decentralized Virtual Corporation known as Dash.
     
    #3 TanteStefana, Nov 11, 2015
    Last edited by a moderator: Nov 11, 2015
    • Like Like x 3
  4. kot

    kot Well-known Member
    Dash Core Team Foundation Member

    Joined:
    Mar 17, 2015
    Messages:
    685
    Likes Received:
    1,843
    Trophy Points:
    263
    I am f... impressed! Let me talk with Evan about this and understand what do we need to build this on top of Evolution..
     
    • Like Like x 1
  5. Dunedoo

    Dunedoo Well-known Member
    Foundation Member

    Joined:
    Feb 25, 2015
    Messages:
    568
    Likes Received:
    600
    Trophy Points:
    263
    Dash Address:
    XyoSz4xviVGfks1pLhaXw2Baqmhfw5k7MG
    :what: Oh shit yeah! a Dash run exchange.
    ADVC
     
  6. stan.distortion

    stan.distortion Active Member

    Joined:
    Oct 30, 2014
    Messages:
    839
    Likes Received:
    492
    Trophy Points:
    133
    Not sure its feasible with that code but something to create a distributed pool of various cryptos would do away with the need for exchanges, same kind of service as shapeshift but the pool of funds to draw from is whatever users hold in their various wallets assigned to the system as a pool rather than a through a central service. I'd guess it could be done fairly elegantly with multisig but I'd never tried to plan it through, just a thought is all. It doesn't handle fiat but there's plenty of services around bitcoin to handle that part.
     
  7. Naruto

    Naruto Member

    Joined:
    Dec 26, 2014
    Messages:
    176
    Likes Received:
    89
    Trophy Points:
    88
    Can I ask why Coinffeine shut down? Lack of demand?
     
  8. oaxaca

    oaxaca Well-known Member
    Foundation Member

    Joined:
    Jul 8, 2014
    Messages:
    573
    Likes Received:
    832
    Trophy Points:
    263
    My guess is that they could not make any money coding a P2P exchange. Nice idea does not equal nice business plan. It would be perfect for us though...
     
    • Like Like x 3
  9. GermanRed+

    GermanRed+ Active Member

    Joined:
    Aug 28, 2014
    Messages:
    299
    Likes Received:
    109
    Trophy Points:
    113
    May I add another plea for a bitcoin mixing service on this exchange/marketplace?
     
  10. GermanRed+

    GermanRed+ Active Member

    Joined:
    Aug 28, 2014
    Messages:
    299
    Likes Received:
    109
    Trophy Points:
    113
    Don't they have some technical issues with decentralized exchange due to the latency of the network? I'm just asking.
     
  11. oaxaca

    oaxaca Well-known Member
    Foundation Member

    Joined:
    Jul 8, 2014
    Messages:
    573
    Likes Received:
    832
    Trophy Points:
    263
    Why "give" bitcoin the ability to mix funds? It's an advantage DASH has over bitcoin. Let them figure it out for themselves.
     
    • Like Like x 2
  12. GermanRed+

    GermanRed+ Active Member

    Joined:
    Aug 28, 2014
    Messages:
    299
    Likes Received:
    109
    Trophy Points:
    113
    It is a way to convert the BTC folks into DASH folks. It is also a profitable business so it does not hurt. After all, why should we limit ourselves to DASH only service with the second tier network? Think of the volume in BTC, it should be profitable. It is more like we are eating their market gradually instead of giving them something for free. It may also be a much more effective way to attract new DASH users.
     
    • Like Like x 3
  13. oaxaca

    oaxaca Well-known Member
    Foundation Member

    Joined:
    Jul 8, 2014
    Messages:
    573
    Likes Received:
    832
    Trophy Points:
    263
    How about bitcoin mixing in version 2.0? Let's get the DASH P2P up and running first, then build other services on it.
     
    • Like Like x 1
  14. GermanRed+

    GermanRed+ Active Member

    Joined:
    Aug 28, 2014
    Messages:
    299
    Likes Received:
    109
    Trophy Points:
    113
    That makes very good sense to me.
     
  15. Naruto

    Naruto Member

    Joined:
    Dec 26, 2014
    Messages:
    176
    Likes Received:
    89
    Trophy Points:
    88
    As long as it can make it more easy to buy and sell DASH with fiat currency, I will support the suggestion
     
  16. GrandMasterDash

    GrandMasterDash Well-known Member
    Masternode Owner/Operator

    Joined:
    Jul 12, 2015
    Messages:
    2,667
    Likes Received:
    952
    Trophy Points:
    183
    Super-like the idea of supporting any coin, it is absolutely the way forward. When third party developers want to interface with marketplaces, they're going to want a list of marketplace networks with a standard universal DAPI.
     
  17. TanteStefana

    TanteStefana Grizzled Member
    Foundation Member

    Joined:
    Mar 9, 2014
    Messages:
    2,860
    Likes Received:
    1,854
    Trophy Points:
    1,283
    The difficulty is that we need programmers. We need labor, how do we find it?
     
  18. oaxaca

    oaxaca Well-known Member
    Foundation Member

    Joined:
    Jul 8, 2014
    Messages:
    573
    Likes Received:
    832
    Trophy Points:
    263
    Let's see what kot can come up with.
     
    • Like Like x 1
  19. yidakee

    yidakee Well-known Member
    Foundation Member

    Joined:
    Apr 16, 2014
    Messages:
    1,812
    Likes Received:
    1,168
    Trophy Points:
    283
    I beta tested Coinffeine, and IMHO, it was a completely crappy. Their intranet must have rocked, but out in the world it was rubbish. But *grin grin? - bitcoinj cannot interact with a fully dedicated second tier network *wink wink, nudge nudge* ;)

    .
     
    • Like Like x 1
  20. oaxaca

    oaxaca Well-known Member
    Foundation Member

    Joined:
    Jul 8, 2014
    Messages:
    573
    Likes Received:
    832
    Trophy Points:
    263
    What was crappy?
    Performance?
    Number of users?
    Crashes?
    Interface?
     
  21. yidakee

    yidakee Well-known Member
    Foundation Member

    Joined:
    Apr 16, 2014
    Messages:
    1,812
    Likes Received:
    1,168
    Trophy Points:
    283
    Slow, unresponsive, interface was sub-par to say the least, no crashes my side, and I suspect very low numbers of users also helped the negative experience (though I have no actual numbers, just speculating) ... trading graphics very sucky.

    All in all, I didnt mind the interface, it's not priority, like our own QT... but the experience was slow and buggy
     
    • Like Like x 1
  22. TaoOfSatoshi

    TaoOfSatoshi Grizzled Member

    Joined:
    Jul 15, 2014
    Messages:
    2,688
    Likes Received:
    2,600
    Trophy Points:
    1,183
    Super excited about this, it will look great from a marketing perspective too, "Dash makes a decentralized exchange work" using a program that failed under Bitcoin. I will strongly support any proposal to get this done. Good luck to you kot and all involved.
     
  23. kot

    kot Well-known Member
    Dash Core Team Foundation Member

    Joined:
    Mar 17, 2015
    Messages:
    685
    Likes Received:
    1,843
    Trophy Points:
    263
    I have asked Evan about the opinion and possibility to work on the solution proposed by TanteStefana .
    He thinks the direction is good but he would rather introduce this as a separate type of masternode for it (so it needs additional efforts after Evolution is done).
    We are definitely going in this direction, but I'm afraid, anything we do presently would have to be rewritten (probably).
    As Evan gets closer to the design of that component I would know more and share further updates.
     
    • Like Like x 3
  24. TanteStefana

    TanteStefana Grizzled Member
    Foundation Member

    Joined:
    Mar 9, 2014
    Messages:
    2,860
    Likes Received:
    1,854
    Trophy Points:
    1,283
    Cool, a lot of ideas have been pouring out of people, which is awesome. Evolution has us all excited :D
     
    • Like Like x 2
  25. Solarminer

    Solarminer Well-known Member

    Joined:
    Apr 4, 2015
    Messages:
    762
    Likes Received:
    921
    Trophy Points:
    163
    Thanks oaxaca for showing me this post. I asked a similar question on BTC talk about Coinffiene.

    Check out B&C Exchange. They have plans to accept Dash. They may have a usable release out by AE 1 (Anno Evolution = in the year of Evolution). :)
    www.bcexchange.org

    If we do a Dash organized exchange, we should require every coin exchange to be exchanged to and from Dash. This would make Dash the 'reserve currency'.

    Anything we do with Fiat should be totally decentralized. So fiat transfers go from user1 bank account directly to user2 bank account - no dash owned bank accounts. Or maybe users need to preload a debit card and use that to transfer between users. Another option is to use paypal/okpay/dwolla but I think that is just asking for problems and KYC paperwork.
     
    • Like Like x 3