Bitcoin Forum
June 25, 2024, 08:32:58 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Scam proof trading App Idea  (Read 672 times)
KingGoon (OP)
Member
**
Offline Offline

Activity: 112
Merit: 10



View Profile
December 05, 2013, 07:36:51 PM
 #1

Im NOT a dev or do i know about coding this is just a idea i had in mind

I had this idea about a scam proof application that can be used for trading coins.
The app should work like this ;
User 1 wants to buy lets say LT from user 2 and pay with bitcoins.
They both start up the application and enter the amount they both agreed with and hit send. The transaction will stay pending till both have enter the same amount they agreed on if not the transaction expires after a certain amount of time. 

Sample
User1 wants to buy 10LT from user2 and wants to pay with Bitcoins. User one starts up the app and enters the amount off LT hes going to buy and the amount of bitcoins hes going to pay. User2 starts up his app and enters the amount of LT hes going to sell and the amount of bitcoins hes going to receive.  Both hit send for the trading to take place and if both amounts they agreed on match the trade takes place if not it expires (within a certain time frame).


Would this be possible? Any thoughts?

(My english is not perfect sorry)

So Icy E-Money - Frozentalk.org FD1GwdBjTeMPFdZD5v3cVRG7ZoPJBAuLrf
All these girls excited ,Oooo ya know they like it ,Frozen so icy, so icy ,Haters don't try to fight it ,All yo friends invited ,Frozen so icy, so icy!!
dm8030
Newbie
*
Offline Offline

Activity: 4
Merit: 0


View Profile
December 05, 2013, 08:04:20 PM
 #2

good idea, i think the main problem would be people trying to hack the app
maxuser
Newbie
*
Offline Offline

Activity: 27
Merit: 0


View Profile WWW
December 05, 2013, 09:16:09 PM
 #3

That must involve some form of escrow or contracts. Between different alt-coins this is difficult to implement without a third party... Even if both users sign and send between them a transaction with a lock-time set some "minutes"?! in the future, check that all is OK within the time frame, and if not, broadcast immediately a transaction which consume the same input and send it to one-self... But that can hardly prevent both users to screw up the trade. So it's not impossible but not without a third party...
12648430
Full Member
***
Offline Offline

Activity: 144
Merit: 100


View Profile
December 05, 2013, 09:28:22 PM
 #4

If I'm understanding correctly, you are proposing a protocol with security based on the assumption that no one will use a modified version of your client. This is not how software works; if it were, the blockchain itself would be a lot of unnecessary work.

That must involve some form of escrow or contracts. Between different alt-coins this is difficult to implement without a third party... Even if both users sign and send between them a transaction with a lock-time set some "minutes"?! in the future, check that all is OK within the time frame, and if not, broadcast immediately a transaction which consume the same input and send it to one-self... But that can hardly prevent both users to screw up the trade. So it's not impossible but not without a third party...

maxuser, there actually is a trustless way to trade across chains without the use of the third party; it's pretty clever. See the wiki entry: https://en.bitcoin.it/wiki/Atomic_cross-chain_trading
maxuser
Newbie
*
Offline Offline

Activity: 27
Merit: 0


View Profile WWW
December 05, 2013, 10:39:59 PM
 #5

maxuser, there actually is a trustless way to trade across chains without the use of the third party; it's pretty clever. See the wiki entry: https://en.bitcoin.it/wiki/Atomic_cross-chain_trading

Thanks! I have take look at this and it can apply to this but even with a short lock time there are some serious drawbacks like mentioned in the wiki article to be used for "efficient" trading... I mean that issuing transactions just for the refund case when dealing with malicious users incur useless txfees for no completed trade at the end. On the other hand using/implementing a specialized altchain for inter-coins trading can be a solution but it's beyond the scope of a single app... 
Pages: [1]
  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!