Tokenized Protocol gets an overhaul

The Tokenized Protocol was developed specifically for the Bitcoin SV (BSV) blockchain given the network’s advanced capabilities at managing large amounts of data. It gives businesses and other entities tools to create smart contracts that comply with regulations in jurisdictions across the globe, allowing those businesses to confidently introduce blockchain solutions. As with any technological innovation, there comes a time when updates are needed to make improvements and offer new features, and minds behind the protocol have announced the completion of an overhaul to keeping Tokenized moving forward.

In a blog post from yesterday, Tokenized explains, “Due to continued research, we have made several changes to the protocol and implementation for the upgrade to version 0.1.0.” These updates required some major restructuring, which could result in users of the platform having to upgrade in order to keep the platform’s integrity intact.

Among the changes was a separation of actions, assets and messages into their own distinct schemas. Each has its own package, while the Tokenized protocol contains the common code. Tokenized adds, “You may see compiler issues like ‘undefined protocol.ContractOffer’ which should now be ‘actions.ContractOffer.’”

Developers working with specification implementation may have seen an issue with how sizes were defined in the protocol, with different values representing different things depending on the context in which it was used. Object sizes were mostly listed in bytes, but bits were used in some lists or variable size types. Going forward, size “only specifies the size in bytes of the object, mostly for numbers, and fixed binary and text.” Explaining the issue further, Tokenized specifies that “tiny” means up to 256 bytes or items, “small” means up to 65,535, “medium” is up to 4,294,967,295 and “large” is for 1.8×1019 bytes or items.

In the protocol’s previous version, all addresses had to be P2PKH (pay to public key hash), allowing Tokenized to only maintain the public key hashes in order to reference addresses in the protocol or code. Going forward, other locking scripts have been added. Tokenized provides clarification, stating, “To serialize and use them we use a new class called RawAddress (smart-contract/pkg/bitcoin) which contains a type and the data required by that type. RawAddresses can be converted into an Address, by adding the network ID, that can be encoded as a commonly known bitcoin address string.”

Other changes, including the inclusion of additional pointers and an improved serialized interface, will make the platform run more smoothly. Changes to certain coding terminology have been made, as well, in an effort to make the code more consistent with general naming conventions.

These improvements build on what was already an extremely useful tool for businesses as they adopt blockchain technology into their operations. With the ability to handle larger blocks than any other blockchain, BSV is able to be offer a business-grade solution to help any entity advance its framework, becoming more efficient with optimized business processes.

New to Bitcoin? Check out CoinGeek’s Bitcoin for Beginners section, the ultimate resource guide to learn more about Bitcoin—as originally envisioned by Satoshi Nakamoto—and blockchain.