Bitcoin Forum
May 02, 2024, 08:11:37 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Blockchain Agnostic Proposal for Text Data Storage on a Sidechain or Blockchain  (Read 690 times)
patoshi (OP)
Copper Member
Newbie
*
Offline Offline

Activity: 20
Merit: 0


View Profile
April 03, 2017, 09:05:23 PM
 #1

I've been learning about how the bitcoin blockchain works and a few other chains related to data storage. I wrote up an idea I'd like to get some feedback on which relates to extending Bitcoin's protocol with another blockchain without the need to change anything in the Bitcoin system. It doesn't have to be specifically for btc, but it can be used on any blockchain technically. I know sidechains involve the issuance of btc into the sidechain system, but in this scenario there isn't the need for any of that. We're just using the 2nd layer chain just for data storage that links back to BTC addresses.

Let me know what you guys think!

I have a rough prototype working, but still need to fix up some stuff.

--------------------------------

Blockchain Agnostic Proposal for Text Data Storage on a Sidechain

Abstract: Attach text data to any type of blockchain transaction or address without bloating the main chain and off loading this data to a secondary blockchain protocol or sidechain without changing anything with the main protocol.

Introduction: All blockchain implementations involve transactions from a sending address to a receiving address. These transactions are tied to a unique transaction id. Knowing these 3 unique data strings, we can use this information in the secondary layer blockchain for storing this data. This gives the ability to add uncensorable public messages or arbitrary text data to any transaction id or address in any blockchain system.

All blockchains have the following characteristics:

1. Transaction Id Address (TA)
2. Sending Address (SA)
3. Receiving address (RA)

Not all blockchain systems were made to store text data, as this would cause blockchain bloat over time. A solution for this is to off load this external data onto a secondary blockchain layer made for for this purpose while keeping the unique identifier in tact and linking it to the data.

This 2nd layer blockchain (sidechain) must be able to store arbitrary text data and be able to query this data via the main chain's addresses (TA/SA/RA). By referencing one of the main chain's addresses (TA/SA/RA) in the sidechain, we are able to pull all related data for this address.

To prove one of the main chain's user has sent the message to another address. The solution to this would be signing a message of the owners sidechain address with the owners main chain private key. Then, make a transaction on the sidechain with the public address and signature to prove the main chain's address owns the sidechain address.

Example Goal: Alice owns the address 15tYFmUV6wG4e1Gbi1buxBM9zSQzcWSkiK and Bob wants to attach a message "hello world" to this address.

Solution: Bob would first generate an account on the sidechain, then create a signature using the main chain's private key and sign the message of his newly made sidechain address. He would then make a sidechain transaction attaching the data: <main chain public key> <signature>. This now proves his <main chain's address> owns his <sidechain address> and vice versa. Now Bob can make a sidechain transaction attaching the message: <Alice's main chain address> <message: hello world>

To create a link of these 2 blockchains, wallet and block explorer developers would need to parse both chains to make this link by querying the sidechain for the main chain's public address.

The format of this public data would be: <address identifier> <message>
1714637497
Hero Member
*
Offline Offline

Posts: 1714637497

View Profile Personal Message (Offline)

Ignore
1714637497
Reply with quote  #2

1714637497
Report to moderator
There are several different types of Bitcoin clients. The most secure are full nodes like Bitcoin Core, which will follow the rules of the network no matter what miners do. Even if every miner decided to create 1000 bitcoins per block, full nodes would stick to the rules and reject those blocks.
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1714637497
Hero Member
*
Offline Offline

Posts: 1714637497

View Profile Personal Message (Offline)

Ignore
1714637497
Reply with quote  #2

1714637497
Report to moderator
1714637497
Hero Member
*
Offline Offline

Posts: 1714637497

View Profile Personal Message (Offline)

Ignore
1714637497
Reply with quote  #2

1714637497
Report to moderator
Andre_Goldman
Sr. Member
****
Offline Offline

Activity: 322
Merit: 253

Property1of1OU


View Profile
April 04, 2017, 11:55:07 AM
 #2

I'm interested on that subject. My main motivation is 'differential privacy'.

http://eatcs.org/index.php/component/content/article/1-news/2450-2017-godel-prize.

or some framework projects like 'Decentralizing Privacy: Using Blockchain to Protect Personal Data'
http://ieeexplore.ieee.org/document/7163223/


Patent1number: ****-****
patoshi (OP)
Copper Member
Newbie
*
Offline Offline

Activity: 20
Merit: 0


View Profile
April 04, 2017, 12:23:11 PM
 #3

I'm interested on that subject. My main motivation is 'differential privacy'.

http://eatcs.org/index.php/component/content/article/1-news/2450-2017-godel-prize.

or some framework projects like 'Decentralizing Privacy: Using Blockchain to Protect Personal Data'
http://ieeexplore.ieee.org/document/7163223/



Care to elaborate a bit more on your "differential privacy"?

Is the data your looking to store publicly view-able or is it just encrypted text data on the blockchain? And do you really need to use a blockchain for it vs doing a centralized approach?
Andre_Goldman
Sr. Member
****
Offline Offline

Activity: 322
Merit: 253

Property1of1OU


View Profile
April 04, 2017, 12:41:19 PM
 #4

I'm interested on that subject. My main motivation is 'differential privacy'.

http://eatcs.org/index.php/component/content/article/1-news/2450-2017-godel-prize.

or some framework projects like 'Decentralizing Privacy: Using Blockchain to Protect Personal Data'
http://ieeexplore.ieee.org/document/7163223/



Care to elaborate a bit more on your "differential privacy"?

Is the data your looking to store publicly view-able or is it just encrypted text data on the blockchain? And do you really need to use a blockchain for it vs doing a centralized approach?

Differential privacy is when you have two datasets, (lets say A,B) and you want to add noise in between a such way that all personal identification despair from A, without compromise the data analysis on B.

If you have time, I would suggest watch Cynthia Dwork lectures on YouTube
Differential Privacy - Lecture 1

https://www.youtube.com/watch?v=OfWj89oRD7g&list=PLSYJiOsKKDKw09i1lsgKT9Zxs01YtZ3Nq&index=1

As a product development I think it could be interesting for those interested about Privacy compliance (HIPAA, GDPR, ISO/IEC 29100, etc)

edited; typo

Patent1number: ****-****
patoshi (OP)
Copper Member
Newbie
*
Offline Offline

Activity: 20
Merit: 0


View Profile
April 08, 2017, 11:45:01 AM
 #5

This is something new to me, I see how it can be useful if you collect user data on a big scale like apple or google. Wouldn't monero apply well in this category?
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!