1
Now I expect to develop an ownership tracking service like Ascribe. I'm planning to develop it as following, however I am not sure whether my plan is correct. Therefore, please let me ask two questions.
- Whether the following plan is correct or not.
- Do I need to use bitcoind? Is is not enough to only use bitcoin-library(bitcoinjs-lib)?
My plan is following. 1. Provide a user address and private_key made by bitcoinjs-lib. 2. When the user upload an item, the item gets a specific ID. 3. When the user transfer the item to another, the user put the ID of the item into OP_RETURN area(40byte area) 4. Track the ownership of the item by tracking the specific ID.
What prevents a user from putting the ID in multiple transactions? Even completely unrelated transactions? Sounds like you need not just the ID but some signing in there to link to a specific UTXO. – Jannes – 2015-10-23T09:03:57.580
Thank you for reply. Does it mean the specific ID should be like the hash of UTXO? – lalala – 2015-10-24T00:23:36.477
I guess the person that initially issues the item can add an OP_RETURN with the ID of the item encrypted with the same private key as the transaction. Other nodes can then verify what the ID was and that it came from the same person. Noone can then fake such an issuance, although the issuer can still doublespend (issue twice). Any further transactions don't need an OP_RETURN i think, clients can simply follow the chain from the first to the last. Probably still a lot of problems with this method... – Jannes – 2015-10-24T16:18:38.523