Bitcoin Forum
September 15, 2019, 05:27:07 PM *
News: Latest Bitcoin Core release: 0.18.1 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: How could a separate Colored Coin Lightning Network work?  (Read 161 times)
Elwar
Legendary
*
Offline Offline

Activity: 2870
Merit: 1456


Viva Ut Vivas


View Profile WWW
August 07, 2018, 11:20:51 PM
 #1

Would it be possible to create a colored coin exclusive Lightning Network?

Say I proclaim that all satoshis coming from address "1XYZ..." are poker chips to be used for some decentralized online casinos (or whichever).

Then people open LN nodes moving microtransactions of these single satoshis back and forth opening channels.

All is well until someone creates a node that is connected to the network. Then opens a second node and feeds bitcoins from another address and floods the network with new satoshis. You can't trace where the bitcoins in the network originate from so you wouldn't know if the coins you receive are from the fake address or not.

How could it be done so that only satoshis originating from "1XYZ..." are allowed on the network?

First seastead company actually selling seasteads: Ocean Builders https://ocean.builders  Of course we accept bitcoin.
Seastead talk at http://seasteadtalk.org
1568568427
Hero Member
*
Offline Offline

Posts: 1568568427

View Profile Personal Message (Offline)

Ignore
1568568427
Reply with quote  #2

1568568427
Report to moderator
1568568427
Hero Member
*
Offline Offline

Posts: 1568568427

View Profile Personal Message (Offline)

Ignore
1568568427
Reply with quote  #2

1568568427
Report to moderator
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction. Advertise here.
1568568427
Hero Member
*
Offline Offline

Posts: 1568568427

View Profile Personal Message (Offline)

Ignore
1568568427
Reply with quote  #2

1568568427
Report to moderator
1568568427
Hero Member
*
Offline Offline

Posts: 1568568427

View Profile Personal Message (Offline)

Ignore
1568568427
Reply with quote  #2

1568568427
Report to moderator
1568568427
Hero Member
*
Offline Offline

Posts: 1568568427

View Profile Personal Message (Offline)

Ignore
1568568427
Reply with quote  #2

1568568427
Report to moderator
Wind_FURY
Hero Member
*****
Offline Offline

Activity: 1218
Merit: 808


Crypto-Games.net: Multiple coins, multiple games


View Profile
August 08, 2018, 05:43:43 AM
 #2

I believe it is possible, but what you are proposing is an off-chain private network where it is you who makes the rules.

Maybe the anti-Lightning crowd is right. A fractional banking 2.0 layer can be built on top of Bitcoin, but it would be completely different from Lightning.


▄▄▄████████▄▄▄
▄██████████████████▄
▄██████████████████████▄
██████████████████████████
████████████████████████████
██████████████████████████████
██████████████████████████████
██████████████████████████████
██████████████████████████████
██████████████████████████████
████████████████████████████
██████████████████████████
▀██████████████████████▀
▀██████████████████▀
▀▀▀████████▀▀▀
   ███████
██████████
██████████
██████████
██████████
██████████
██████████
██████████
██████████
██████████
██████████
██████████
███████
BTC  ◉PLAY  ◉XMR  ◉DOGE  ◉BCH  ◉STRAT  ◉ETH  ◉GAS  ◉LTC  ◉DASH  ◉PPC
     ▄▄██████████████▄▄
  ▄██████████████████████▄        █████
▄██████████████████████████▄      █████
████ ▄▄▄▄▄ ▄▄▄▄▄▄ ▄▄▄▄▄ ████     ▄██▀
████ █████ ██████ █████ ████    ▄██▀
████ █████ ██████ █████ ████    ██▀
████ █████ ██████ █████ ████    ██
████ ▀▀▀▀▀ ▀▀▀▀▀▀ ▀▀▀▀▀ ████ ▄██████▄
████████████████████████████ ████████
███████▀            ▀███████ ▀██████▀
█████▀                ▀█████
▀██████████████████████████▀
  ▀▀████████████████████▀▀ 
✔️DICE           
✔️BLACKJACK
✔️PLINKO
✔️VIDEO POKER
✔️ROULETTE     
✔️LOTTO
Elwar
Legendary
*
Offline Offline

Activity: 2870
Merit: 1456


Viva Ut Vivas


View Profile WWW
August 08, 2018, 09:40:28 AM
 #3

I believe it is possible, but what you are proposing is an off-chain private network where it is you who makes the rules.

Maybe the anti-Lightning crowd is right. A fractional banking 2.0 layer can be built on top of Bitcoin, but it would be completely different from Lightning.

It wouldn't be off-chain because it's using bitcoins.

First seastead company actually selling seasteads: Ocean Builders https://ocean.builders  Of course we accept bitcoin.
Seastead talk at http://seasteadtalk.org
Wind_FURY
Hero Member
*****
Offline Offline

Activity: 1218
Merit: 808


Crypto-Games.net: Multiple coins, multiple games


View Profile
August 09, 2018, 06:01:30 AM
 #4

I believe it is possible, but what you are proposing is an off-chain private network where it is you who makes the rules.

Maybe the anti-Lightning crowd is right. A fractional banking 2.0 layer can be built on top of Bitcoin, but it would be completely different from Lightning.

It wouldn't be off-chain because it's using bitcoins.

What do you mean? Lightning uses Bitcoins but it is an off-chain network layered on top. Unless you are saying that "technically" it is not "off-chain" because coins are held in a multisig address and transactions are stored locally.

But would it be possible for banks to create their own "private off-chain layer" that works under their own rules? I believe it is.


▄▄▄████████▄▄▄
▄██████████████████▄
▄██████████████████████▄
██████████████████████████
████████████████████████████
██████████████████████████████
██████████████████████████████
██████████████████████████████
██████████████████████████████
██████████████████████████████
████████████████████████████
██████████████████████████
▀██████████████████████▀
▀██████████████████▀
▀▀▀████████▀▀▀
   ███████
██████████
██████████
██████████
██████████
██████████
██████████
██████████
██████████
██████████
██████████
██████████
███████
BTC  ◉PLAY  ◉XMR  ◉DOGE  ◉BCH  ◉STRAT  ◉ETH  ◉GAS  ◉LTC  ◉DASH  ◉PPC
     ▄▄██████████████▄▄
  ▄██████████████████████▄        █████
▄██████████████████████████▄      █████
████ ▄▄▄▄▄ ▄▄▄▄▄▄ ▄▄▄▄▄ ████     ▄██▀
████ █████ ██████ █████ ████    ▄██▀
████ █████ ██████ █████ ████    ██▀
████ █████ ██████ █████ ████    ██
████ ▀▀▀▀▀ ▀▀▀▀▀▀ ▀▀▀▀▀ ████ ▄██████▄
████████████████████████████ ████████
███████▀            ▀███████ ▀██████▀
█████▀                ▀█████
▀██████████████████████████▀
  ▀▀████████████████████▀▀ 
✔️DICE           
✔️BLACKJACK
✔️PLINKO
✔️VIDEO POKER
✔️ROULETTE     
✔️LOTTO
Elwar
Legendary
*
Offline Offline

Activity: 2870
Merit: 1456


Viva Ut Vivas


View Profile WWW
August 09, 2018, 06:10:05 AM
 #5

I believe it is possible, but what you are proposing is an off-chain private network where it is you who makes the rules.

Maybe the anti-Lightning crowd is right. A fractional banking 2.0 layer can be built on top of Bitcoin, but it would be completely different from Lightning.

It wouldn't be off-chain because it's using bitcoins.

What do you mean? Lightning uses Bitcoins but it is an off-chain network layered on top. Unless you are saying that "technically" it is not "off-chain" because coins are held in a multisig address and transactions are stored locally.

But would it be possible for banks to create their own "private off-chain layer" that works under their own rules? I believe it is.

I see what you're saying. Yes, I meant that due to the fact that you're essentially creating a transaction between two entities it's still on chain. It just does a bit of back and forth before finalizing.

I was thinking a bit more on this. I see a lot of overhead pictures of the current Lightning Network with addresses and such. Is this something that anyone can see? All of the nodes of the network? If someone were to open a channel from an address that is not in the approved list of addresses, could that node then be shut out of the rest of the network? Any coins coming from that node being "tainted".

First seastead company actually selling seasteads: Ocean Builders https://ocean.builders  Of course we accept bitcoin.
Seastead talk at http://seasteadtalk.org
nicosey
Full Member
***
Offline Offline

Activity: 321
Merit: 101



View Profile
August 14, 2018, 06:30:08 AM
 #6

How would you see the colour on the lightning transactions?

Elwar
Legendary
*
Offline Offline

Activity: 2870
Merit: 1456


Viva Ut Vivas


View Profile WWW
August 14, 2018, 07:05:29 AM
 #7

How would you see the colour on the lightning transactions?

That's what I'm trying to figure out. It would need to rely on knowing that only certain addresses are on the network.


If the only addresses allowed are A,B,C,D,E,F then you could have A open a channel to B, B to C, etc.

If everyone knows that only those addresses can be used then they could see that no new bitcoins are going to those addresses (thus increasing the satoshis on the network). If someone increases the amount on one of those addresses without conforming to the colored coin, then it would be rejected.

But if A opens a channel to B, then A opens a channel to S (which has a lot of BTC) then A could send a shitload of satoshis to B which represent something else.

I only understand LN at the high level so I'm not sure if this is possible.

First seastead company actually selling seasteads: Ocean Builders https://ocean.builders  Of course we accept bitcoin.
Seastead talk at http://seasteadtalk.org
HeRetiK
Legendary
*
Offline Offline

Activity: 1232
Merit: 1118


the forkings will continue until morale improves


View Profile
August 14, 2018, 03:05:09 PM
Merited by Elwar (1)
 #8

Would it be possible to create a colored coin exclusive Lightning Network?

Say I proclaim that all satoshis coming from address "1XYZ..." are poker chips to be used for some decentralized online casinos (or whichever).

[...]

As far as I'm aware of asset ownership protocol layers on top of Bitcoin (eg. XCP, OMNI) don't rely on a source address for its "color" but rather some additional meta-data that is part of the (on-chain) Bitcoin transaction. Whether this form of meta-data is compatible with Lightning Network is a different question of course, but at least as far as XCP is concerned there seems to be efforts being made:

https://counterparty.io/docs/paymentchannels-lightning-faq/

(assuming it's still current, I'm not actively tracking Counterparty anymore)


There have been other projects working on LN-based colored coins as well:
https://www.coindesk.com/bitcoins-lightning-network-now-digital-asset-compatible/

However the project mentioned in this article seems to have moved to Ethereum since then.


So it seems like LN-enabled colored coins have been in the realm of possibility since early LN drafts, I'm not sure whether the current protocol spec still allows for it though.

Elwar
Legendary
*
Offline Offline

Activity: 2870
Merit: 1456


Viva Ut Vivas


View Profile WWW
August 14, 2018, 08:49:55 PM
 #9

Would it be possible to create a colored coin exclusive Lightning Network?

Say I proclaim that all satoshis coming from address "1XYZ..." are poker chips to be used for some decentralized online casinos (or whichever).

[...]

As far as I'm aware of asset ownership protocol layers on top of Bitcoin (eg. XCP, OMNI) don't rely on a source address for its "color" but rather some additional meta-data that is part of the (on-chain) Bitcoin transaction. Whether this form of meta-data is compatible with Lightning Network is a different question of course, but at least as far as XCP is concerned there seems to be efforts being made:

https://counterparty.io/docs/paymentchannels-lightning-faq/

(assuming it's still current, I'm not actively tracking Counterparty anymore)


There have been other projects working on LN-based colored coins as well:
https://www.coindesk.com/bitcoins-lightning-network-now-digital-asset-compatible/

However the project mentioned in this article seems to have moved to Ethereum since then.


So it seems like LN-enabled colored coins have been in the realm of possibility since early LN drafts, I'm not sure whether the current protocol spec still allows for it though.

Thank you for the information. I'll check those out.

First seastead company actually selling seasteads: Ocean Builders https://ocean.builders  Of course we accept bitcoin.
Seastead talk at http://seasteadtalk.org
Kakmakr
Legendary
*
Offline Offline

Activity: 1778
Merit: 1354

★ ChipMixer | Bitcoin mixing service ★


View Profile
August 15, 2018, 06:06:44 AM
 #10

Elwar, was the intention of colored coins not to "black list" certain coins on a network. Say, someone hacked an exchange and you wanted to "blacklist" those coins, then you would tag them and people will be flagged if they received those coins.

I think the debate around colored coins was more about the negative misuse of those powers or am I confusing this concept with something else?

Would a Colored Coin LN be good or bad and who would be making the decisions? <The owner of the channel or some centralized authority?> 

Elwar
Legendary
*
Offline Offline

Activity: 2870
Merit: 1456


Viva Ut Vivas


View Profile WWW
August 15, 2018, 07:16:16 AM
 #11

Elwar, was the intention of colored coins not to "black list" certain coins on a network. Say, someone hacked an exchange and you wanted to "blacklist" those coins, then you would tag them and people will be flagged if they received those coins.

I think the debate around colored coins was more about the negative misuse of those powers or am I confusing this concept with something else?

Would a Colored Coin LN be good or bad and who would be making the decisions? <The owner of the channel or some centralized authority?> 

I have not heard about that discussion about black listing.

I see it more as being able to represent something other than bitcoin and LN being used for easy transfers. The idea I had specifically was a fiat pegged crypto using Bitcoin which would allow for easy exchange from fiat to BTC.

I see the creation of Ethereum and new chains to represent something that can be done on the most secure blockchain (Bitcoin) as a lazy approach which lacks imagination and ingenuity.

I would rather not have any central authority but rather a protocol that is accepted via consensus much like TCP/IP and other protocols.

First seastead company actually selling seasteads: Ocean Builders https://ocean.builders  Of course we accept bitcoin.
Seastead talk at http://seasteadtalk.org
Wind_FURY
Hero Member
*****
Offline Offline

Activity: 1218
Merit: 808


Crypto-Games.net: Multiple coins, multiple games


View Profile
August 15, 2018, 07:36:52 AM
 #12

OP, what about an off-chain private network set-up, but made up of only "approved" validating nodes running on top of Bitcoin? Users are free to join the network but only through the approved validating nodes that follow its own rules.


▄▄▄████████▄▄▄
▄██████████████████▄
▄██████████████████████▄
██████████████████████████
████████████████████████████
██████████████████████████████
██████████████████████████████
██████████████████████████████
██████████████████████████████
██████████████████████████████
████████████████████████████
██████████████████████████
▀██████████████████████▀
▀██████████████████▀
▀▀▀████████▀▀▀
   ███████
██████████
██████████
██████████
██████████
██████████
██████████
██████████
██████████
██████████
██████████
██████████
███████
BTC  ◉PLAY  ◉XMR  ◉DOGE  ◉BCH  ◉STRAT  ◉ETH  ◉GAS  ◉LTC  ◉DASH  ◉PPC
     ▄▄██████████████▄▄
  ▄██████████████████████▄        █████
▄██████████████████████████▄      █████
████ ▄▄▄▄▄ ▄▄▄▄▄▄ ▄▄▄▄▄ ████     ▄██▀
████ █████ ██████ █████ ████    ▄██▀
████ █████ ██████ █████ ████    ██▀
████ █████ ██████ █████ ████    ██
████ ▀▀▀▀▀ ▀▀▀▀▀▀ ▀▀▀▀▀ ████ ▄██████▄
████████████████████████████ ████████
███████▀            ▀███████ ▀██████▀
█████▀                ▀█████
▀██████████████████████████▀
  ▀▀████████████████████▀▀ 
✔️DICE           
✔️BLACKJACK
✔️PLINKO
✔️VIDEO POKER
✔️ROULETTE     
✔️LOTTO
HeRetiK
Legendary
*
Offline Offline

Activity: 1232
Merit: 1118


the forkings will continue until morale improves


View Profile
August 15, 2018, 09:56:14 AM
 #13

Elwar, was the intention of colored coins not to "black list" certain coins on a network. Say, someone hacked an exchange and you wanted to "blacklist" those coins, then you would tag them and people will be flagged if they received those coins.

I think the debate around colored coins was more about the negative misuse of those powers or am I confusing this concept with something else?

Would a Colored Coin LN be good or bad and who would be making the decisions? <The owner of the channel or some centralized authority?> 


I think you are referring to "taint". Tainted coins is / was the concept of marking coins that were part of a criminal activity.

The idea behind colored coins is to allow for tokens / transferrable ownership rights via (in this case) Bitcoin transactions. Colored coins were pretty much the predecessor of Ethereum tokens, although I might be oversimplifying things a bit.

Kakmakr
Legendary
*
Offline Offline

Activity: 1778
Merit: 1354

★ ChipMixer | Bitcoin mixing service ★


View Profile
August 16, 2018, 11:34:22 AM
 #14

Elwar, was the intention of colored coins not to "black list" certain coins on a network. Say, someone hacked an exchange and you wanted to "blacklist" those coins, then you would tag them and people will be flagged if they received those coins.

I think the debate around colored coins was more about the negative misuse of those powers or am I confusing this concept with something else?

Would a Colored Coin LN be good or bad and who would be making the decisions? <The owner of the channel or some centralized authority?> 


I think you are referring to "taint". Tainted coins is / was the concept of marking coins that were part of a criminal activity.

The idea behind colored coins is to allow for tokens / transferrable ownership rights via (in this case) Bitcoin transactions. Colored coins were pretty much the predecessor of Ethereum tokens, although I might be oversimplifying things a bit.

Ok, my bad. I thought if you implemented "colored coins" in this scenario, that it might lead to some coins being tagged for a specific purpose and that some centralized organization or individual can misuse that privilege to "black list" coins. Just imagine if some fool starts to "black list" millions of coins, because he or she has the rights to do that.

Take a Bitcoin ETF for instance, if some investment fund bought 1000s of coins on behalf of their investors and they flag/taint these coins accidentally.  Roll Eyes

nicosey
Full Member
***
Offline Offline

Activity: 321
Merit: 101



View Profile
August 16, 2018, 05:26:18 PM
 #15

I thought with lightning you can't see the transactions under the channel is closed?
So therefore how would you color them?

Elwar
Legendary
*
Offline Offline

Activity: 2870
Merit: 1456


Viva Ut Vivas


View Profile WWW
August 16, 2018, 06:33:23 PM
 #16

I thought with lightning you can't see the transactions under the channel is closed?
So therefore how would you color them?

Well, the channel needs to be opened. When a channel is opened the two/three nodes know the public keys of who is opening them. Once the channels are open all transactions are anonymous (you don't know if coins coming from your neighbor node are originally from him or passed to him from someone else).

I think the key would be to find a way of restricting the opening of channels from addresses that aren't colored. And somehow restricting the amount (to prevent someone from just adding X bitcoins that aren't colored).

Still need to check into the way others have approached it.

First seastead company actually selling seasteads: Ocean Builders https://ocean.builders  Of course we accept bitcoin.
Seastead talk at http://seasteadtalk.org
Elwar
Legendary
*
Offline Offline

Activity: 2870
Merit: 1456


Viva Ut Vivas


View Profile WWW
August 16, 2018, 07:24:04 PM
 #17

OP, what about an off-chain private network set-up, but made up of only "approved" validating nodes running on top of Bitcoin? Users are free to join the network but only through the approved validating nodes that follow its own rules.

Any chain that's not backed by an underlying asset is prone to attack. At least, less secure than bitcoin.

Going off chain or creating a new shitcoin or using ETH tokens is easy. But not the best solution.

First seastead company actually selling seasteads: Ocean Builders https://ocean.builders  Of course we accept bitcoin.
Seastead talk at http://seasteadtalk.org
nicosey
Full Member
***
Offline Offline

Activity: 321
Merit: 101



View Profile
August 17, 2018, 05:38:16 AM
 #18

OP, what about an off-chain private network set-up, but made up of only "approved" validating nodes running on top of Bitcoin? Users are free to join the network but only through the approved validating nodes that follow its own rules.

Any chain that's not backed by an underlying asset is prone to attack. At least, less secure than bitcoin.

Going off chain or creating a new shitcoin or using ETH tokens is easy. But not the best solution.

So maybe better just to have a dedicated side chain for these colored tokens and then merge back into the bitcoin blockchain?

Pages: [1]
  Print  
 
Jump to:  

Sponsored by , a Bitcoin-accepting VPN.
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!