bitcoin-dev

Ordinal Inscription Size Limits

Ordinal Inscription Size Limits

Original Postby Aymeric Vitte

Posted on: February 7, 2023 12:17 UTC

On a Bitcoin developer platform, Erik Aronesty shared an example of a JavaScript exploit that could be used to render untrusted blockchain data in a user's browser.

This is being used as an example to show that it is not a good idea to store "big things" in the blockchain but rather proofs of something. The rationale for this change request can be found on GitHub. It is suggested that if people want to pay to store big things, they should be allowed to do so. However, validating what is stored in the blockchain is impossible. In relation to NFT proposals, a third party is used to allow a timestamp to prove that someone is the seeder of the NFT and the first owner. Minting cannot be trusted and becomes useless with the use of a third party. The blockchain still validates the life of the NFT, allowing it to remain decentralized like lightning. Using a third party does not mean that the blockchain is of no use. It is important to note that the code loaded in JavaScript is impossible to be sure of without using a third party. The code self-validates with the correct version and the user must check the hash. In addition, the page cannot lie, but there may be other ways to steal keys or embed checks in bookmarklets. Others should check the code and seed the hash somewhere, even if it is clearly explained that the code must be used offline.