⬆️Upgradability
The First Project Introducing Holder-Permission Upgradability
Last updated
The First Project Introducing Holder-Permission Upgradability
Last updated
When it comes to upgradability, there has traditionally been a trade-off involving trust. However, this is changing. While smart contracts are typically upgradeable unilaterally by developers, the Sat Endpoint on Ordinals introduces a new structure. Here, developers can release upgrades, and holders have the option to opt into these through re-inscription. This is facilitated by our loader.js file, where the sat endpoint references the latest inscription on the holder's satoshi. This enables holders to select the loader.js file they wish to use for their Ordinal asset.
Our development team can issue upgrades, including new features and fixes for compatibility issues or other unforeseen problems, by re-inscribing an updated version of the loader.js file onto the same sat. Loader.js essentially serves as a directory of JavaScript files used in the project. Over time, we plan to expand this directory and modularize our codebase into distinct components.
We believe this approach is not only elegant but also offers significant advantages over the smart contract paradigm. On Ethereum and other chains, the options are limited to either having a contract that can be unilaterally upgraded or requiring developers to request holders to transition to a new smart contract, effectively splitting the collection. In our model, holders remain within the same collection and have the flexibility to upgrade their assets to the version they prefer, or to opt out entirely.