Forum Home
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Popular

    Implement leave comments in the blockchain

    Feathercoin Discussion
    8
    27
    4920
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • lizhi
      lizhi last edited by

      I plan to develop a easy application in blockchain,implement leave comments in blockchain. Use OP_RETURN,Information recorded in the blockchain.

      See bitcoin’s blockchain

      https://blockchain.info/tx/e9b30933e42b8d8273679b5e71ea33302a0ea5e801313413ec0c5b160dd37cb6?show_adv=true

      OP_RETURN 30205468697320697320612074657374206465636c61726174696f6e2062792074686520686561 
      (decoded) j'0 This is a test declaration by the hea
      

      This is a proof of existence.

      How to use it

      See News http://www.coindesk.com/monegraph-uses-block-chain-verify-digital-assets/

      What is OP_RETURN?

      OP_RETURN is a custom transaction locking script that can store data, but nothing beyond that, the execution of the script will be terminated immediately when bitcoin nodes encounter UTXOs that contain it - this means that you won’t be able to spend that transaction output.

      When using OP_RETURN properly you will also avoid destroying coins.

      Limitations

      OP_RETURN scripts are limited to 40 bytes, this is enough for a SHA-256 checksum (32 bytes) with 8 bytes of prefix or for a shortened URL
      There can be only one OP_RETURN per transaction

      1 Reply Last reply Reply Quote 0
      • M
        mirrax last edited by

        Bravo Lizhi!

        1 Reply Last reply Reply Quote 0
        • ghostlander
          ghostlander Regular Member last edited by

          Transaction comments can be implemented without coin destruction.

          1 Reply Last reply Reply Quote 0
          • lizhi
            lizhi last edited by

            I find some php codes can operate blockchain :)

            Examples:
            php send-OP_RETURN.php 149wHUMa41Xm2jnZtqgRx94uGbZD9kPXnS 0.001 ‘Hello, blockchain!’
            php send-OP_RETURN.php 149wHUMa41Xm2jnZtqgRx94uGbZD9kPXnS 0.001 48656c6c6f2c20626c6f636b636861696e21
            php send-OP_RETURN.php mzEJxCrdva57shpv62udriBBgMECmaPce4 0.001 ‘Hello, testnet blockchain!’ 1

            1 Reply Last reply Reply Quote 0
            • lizhi
              lizhi last edited by

              OP_RETURN 48656c6c6f2c20626c6f636b636861696e21 , It is binary code,The content is Hello, blockchain!

              1 Reply Last reply Reply Quote 0
              • lizhi
                lizhi last edited by

                Wait tow days ,My pool find a block, those transaction can be comfirmed, thank my miner.

                Look ,It is bitcoin’s wall. http://coinsecrets.org/ I want to build a similar in wallet client.

                wall.png

                wall2.png

                1 Reply Last reply Reply Quote 0
                • lizhi
                  lizhi last edited by

                  today , feathercoin’s blockchain have first message. :)

                  1 Reply Last reply Reply Quote 0
                  • MrWyrm
                    MrWyrm administrators last edited by

                    Love you lizhi!

                    Like what I do: 6uuy6isbrW1SBF191Bzgui1gWxPdNKx2PB

                    1 Reply Last reply Reply Quote 0
                    • kris_davison
                      kris_davison last edited by

                      That last post is not related to this thread bit its a pretty cool video. Should I flag this user as a spammer?

                      I have flagged his account as a spammer. As this is not the first video he has posted randomly around the forum.

                      1 Reply Last reply Reply Quote 0
                      • lizhi
                        lizhi last edited by

                        I will update blockchain explore, Let it show comments in the blockchain.

                        php send-OP_RETURN.php 71whQbi6pq2aCSvMvcTKCcTZDfAbUvf2Se 0.01 ‘Hello, world!’
                        TxID: ac4e1d87459007ffbbb258351756d5bba69daad8d1e639d6be59917ff786ada9

                        update files

                        featherinsight\public\views\transaction\tx.html

                        decode {{vout.scriptPubKey.asm | lowercase}}
                        
                        1 Reply Last reply Reply Quote 0
                        • lizhi
                          lizhi last edited by

                          On your lunch hour today, I finished the development of comments in our blockchain. New blockchain explore can show your comments .

                          See it http://block.ftc-c.com/tx/ac4e1d87459007ffbbb258351756d5bba69daad8d1e639d6be59917ff786ada9

                          block1.jpg

                          See it again http://block.ftc-c.com/tx/292b0ce6eca79736cb0b58615ad4e38d7310311ebbb4be7e31de20acf64e830f

                          block2.jpg

                          another :

                          block3.jpg

                          1 Reply Last reply Reply Quote 0
                          • lizhi
                            lizhi last edited by

                            How to insert my content into feathercoin’s blockchain ?

                            php send-OP_RETURN.php 71whQbi6pq2aCSvMvcTKCcTZDfAbUvf2Se 0.01 ‘Hello, blockchain!’

                            https://github.com/coinspark/php-OP_RETURN

                            How to look my content ?

                            After send your transaction 24 hours ,open block.ftc-c.com , input your TxID. then you can see it. :)

                            Happy new year, 2015.

                            I finished all development of 0.9.3 core .

                            1 Reply Last reply Reply Quote 0
                            • M
                              mirrax last edited by

                              link to latest version of 0.9.3 please? I can’t find it anywhere.

                              1 Reply Last reply Reply Quote 0
                              • lizhi
                                lizhi last edited by

                                link to latest version of 0.9.3 please? I can’t find it anywhere.

                                http://www.ftc-c.com/pack/feathercoin-qt.rar

                                1 Reply Last reply Reply Quote 0
                                • kris_davison
                                  kris_davison last edited by

                                  That’s great lizhi.
                                  Its just a shame I don’t understand exactly how it does it!

                                  Would you be able to write a little walk through of how to create the block chain comment.?

                                  1 Reply Last reply Reply Quote 0
                                  • M
                                    mirrax last edited by

                                    Maybe it is time to wish happy new year to
                                    7JRE7WbJNyXJjuauKox2Fnncx6wWLByQVu

                                    ?

                                    1 Reply Last reply Reply Quote 0
                                    • lizhi
                                      lizhi last edited by

                                      That’s great lizhi.
                                      Its just a shame I don’t understand exactly how it does it!

                                      Would you be able to write a little walk through of how to create the block chain comment.?

                                      I will join it into 0.9.3 core wallet, It is very handy.

                                      1 Reply Last reply Reply Quote 0
                                      • kris_davison
                                        kris_davison last edited by

                                        That’s a great idea.

                                        1 Reply Last reply Reply Quote 0
                                        • lizhi
                                          lizhi last edited by

                                          Today , I finished the development , Add a “Comment” Menu , You can insert some texts into blockchain.

                                          Look , Click New Menu,

                                          blockchain1.jpg

                                          Input your words, Click “Inert”.

                                          blockchain2.jpg

                                          Then , you go to block explore ( block.ftc-c.com , it base on core wallet .) You will see that you input words.

                                          blockchain3.jpg

                                          You need to download feathercoin 0.9.3 core wallet. http://www.ftc-c.com/pack2/feathercoin-qt.rar

                                          A my transaction is http://block.ftc-c.com/tx/4efb6999449abe367124a3440ba41346eb2017d3530876cdb21fc602294585a0

                                          Because there is not enough 0.9.3 nodes now, You may commit transaction to block.ftc-c.com, http://block.ftc-c.com/tx/send

                                          1 Reply Last reply Reply Quote 0
                                          • H
                                            hcf27 last edited by

                                            This is actually quite big news! we should get it out there… I will start by posting it on my blog since bitcointalk seems to be down!

                                            http://bitcoincommunityblog.org/post/108824940558/ftccommentsblockchain

                                            Congrats Lizhi !!!

                                            1 Reply Last reply Reply Quote 0
                                            • First post
                                              Last post