Bitcoin Forum

Bitcoin => Development & Technical Discussion => Topic started by: wsxdrfv on July 26, 2018, 03:41:04 AM



Title: How to input custom data to blockchain?
Post by: wsxdrfv on July 26, 2018, 03:41:04 AM
So bitcoin is just input number's data (how many bitcoin some address have) on top of blockchain, right?

And ethereum custom it and can input custom code into blockchain, right?

Then how input own custom datas into blockchain?

For this purpose, one should either clone ethereum or using ethereum?


Title: Re: How to input custom data to blockchain?
Post by: bob123 on July 26, 2018, 07:03:11 AM
So bitcoin is just input number's data (how many bitcoin some address have) on top of blockchain, right?

No. Addresses do not exist on a technical level. Bitcoin is 'made of' transaction outputs referencing earlier outputs, assigned to public keys.



And ethereum custom it and can input custom code into blockchain, right?

No. For deploying contracts (code) into the ethereum VM you can't simply inject any code you want.
You will have to use solidity (most frequently used), LLL, serpent or mutan.



Then how input own custom datas into blockchain?

What kind of question is this ? EVERY data is encoded into 1's and 0's. This should already answer your question..



For this purpose, one should either clone ethereum or using ethereum?

::)
If you have to ask this question, you are definitely not able to properly build what you are trying to build.


Title: Re: How to input custom data to blockchain?
Post by: crazy_elky on July 29, 2018, 09:45:07 AM
If you want to post something to eth blockchain just google "ethereum oracles" and choose the service you like. I used chainthis.com few times to post some data to eth blockchain, the service is pretty easy.


Title: Re: How to input custom data to blockchain?
Post by: keychainX on July 29, 2018, 10:58:51 AM
When sending ETH you can enter input data, which is used as an option with every transaction.
Check this transaction
https://etherscan.io/tx/0xde986070a52772b6148735ba08852173b85d521fb16d01362c17cb59496767e9
If you click on View Input on the bottom as UTF-8 you will see that the binary code is now converted.

This message is stored on the Ethereum network forever.


Title: Re: How to input custom data to blockchain?
Post by: gembitz on July 30, 2018, 02:36:22 AM
So bitcoin is just input number's data (how many bitcoin some address have) on top of blockchain, right?

And ethereum custom it and can input custom code into blockchain, right?

Then how input own custom datas into blockchain?

For this purpose, one should either clone ethereum or using ethereum?

sending to unspendable addresses enables this feature  8)