0

I need to create a transaction where Alice can write a message and send it to Bob, for example: Alice sends a "Hello" message to Bob, to achieve this, Alice creates a transaction and sends all her interconnected blockchain nodes. Each node validates that transaction (with some policy) and if a valid transaction sends the transaction back to all its connected nodes. Then the mining nodes add it to a block and also add that block to the blockchain. To be able to achieve all this procedure I have to modify some code blockchain (a code poorly documented). Would you know if it is feasible to do? Would you know if there is a place that can help me achieve it? Regards!.

5
  • Surely this is a duplicate to bitcoin.stackexchange.com/questions/54853/… ? The answer here would be the same! :)
    – venzen
    Commented Jun 27, 2017 at 9:31
  • Is not the answer I expected :/ Commented Jun 27, 2017 at 14:49
  • The example you give above is not very clear but it seems to describe the concept of what every blockchain basically does. The short answer to your question is "yes, it is feasible to mix communications and transactions in a blockchain framework". Zen is an example of such an implementation: zensystem.io It is based mostly on the Bitcoin Core code. You could clone the source code from GitHub and begin customizing it for your own design. About a "place" that can help you... I can only say that its all happening online - in forums, in chats and in the code repositories. Get busy! :)
    – venzen
    Commented Jun 27, 2017 at 15:38
  • I just added a couple of GitHub projects to get you started in my answer at bitcoin.stackexchange.com/a/54863/38546
    – venzen
    Commented Jun 27, 2017 at 16:01
  • Thak for your answer! I was trying to modify the bitcoin core code (to be able to add my own transactions) but the truth is very difficult to understand well that modify and where to modify in that code. Would you know where to start? Commented Jun 27, 2017 at 20:38

1 Answer 1

1

Here there is a repository that allows you to add all kinds of data to a blockchain. If you look at the "Data" field of each block you can add your own transaction in JSON format.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.