Blockchain
A digital ledger in which transactions made in bitcoin
or another cryptocurrency are recorded chronologically and publicly.
In more general terms, it’s a public database where new data are stored
in a container called a block and are added to an immutable chain
(hence blockchain) with data added in the past. In the case of Bitcoin
and other cryptocurrencies, these data are groups of transactions.
The data can, of course, be of any type.
Blockchain technology has given rise to new, fully digital currencies
like Bitcoin and Litecoin that aren’t issued or managed by a central authority.
This brings new freedom to individuals who believe that today’s banking systems
are a scam or subject to failure. Blockchain has also revolutionized distributed
computing in the form of technologies like Ethereum, which has introduced
interesting concepts like smart contracts.
Here's a B4X port of the first part of the example found in this page.
https://medium.com/crypto-currently/lets-build-the-tiniest-blockchain-e70965a248b
Author: https://medium.com/@aunyks
The example is presented in B4J format, but the code should be compatible with any B4X product.
A digital ledger in which transactions made in bitcoin
or another cryptocurrency are recorded chronologically and publicly.
In more general terms, it’s a public database where new data are stored
in a container called a block and are added to an immutable chain
(hence blockchain) with data added in the past. In the case of Bitcoin
and other cryptocurrencies, these data are groups of transactions.
The data can, of course, be of any type.
Blockchain technology has given rise to new, fully digital currencies
like Bitcoin and Litecoin that aren’t issued or managed by a central authority.
This brings new freedom to individuals who believe that today’s banking systems
are a scam or subject to failure. Blockchain has also revolutionized distributed
computing in the form of technologies like Ethereum, which has introduced
interesting concepts like smart contracts.
Here's a B4X port of the first part of the example found in this page.
https://medium.com/crypto-currently/lets-build-the-tiniest-blockchain-e70965a248b
Author: https://medium.com/@aunyks
The example is presented in B4J format, but the code should be compatible with any B4X product.
Attachments
Last edited: