• Forum has been upgraded, all links, images, etc are as they were. Please see Official Announcements for more information

"Penny Trust" Swaps similar to Atomic Swaps

Elmo

New member
Masternode Owner/Operator
Here is an idea I have. To be implemented at the wallet level

Please forgive me if it does not work, or is stupid, or somebody else had this idea before me.
I am not so technical and I did it to the best of my understanding.

Lets suppose two users, A and B want to swap 300 BCH for 500 DASH

They open 2 Unidirectional payment channels on 2 different blockchains.
This has to be done on a wallet that can handle those 2 blockchains. And programed to do this particular type of transaction.

A opens a unidirectional channel to pay B 300 BCH on the BCH Blockchain
B opens a unidirectional channel to pay A 500 DASH on the DASH Blockchain

Then the following transactions are transmitted within the channels.
They are NOT Blockchain transactions:

A sends 0.00003 BCH to B.
B receives 0.00003 BCH and then sends 0.00005 DASH to A
A receives 0.00005 DASH and then sends 000003 BCH to B

and so on Until B receives 300 BCH and A receives 500 DASH

Then Both users publish the transaction of what they received to each blockchain to close each channel.

For this example of swap, each user sends the other a total of 10,000,000 single "pennies" to the other user. This could be about 5GB of data in each direction.
For us humans this would be a crazy transaction. But 2 connected wallets could do this in a few minutes. (And in this example its a US$ 150,000 transaction.)

The risk to user A is to lose .00003 BCH. (1.5 pennies)
In this particular example user B has no risk.

Could people use this to steal a few pennies? Yes, but probably not worth the effort.
Channels need to be funded before transactions start, so it is a very expensive way to earn a few pennies.
Also websites similar to an exchange, or ShapeShift, or Craig List, etc. could implement a rating system for users. (or wallets. or Public Keys).

This method would work with 1 user trusting and the other not. It would be faster if both trust. Users could have different trust settings (One trusts a penny the other one 10 cents, etc.). The higher the trust the faster the transaction.

It is my understanding that this can be implemented using existing technology.

Will something like this work?
 
Back
Top