Blockstack operations today are limited by blockchain transactions. A single operation can fit into a single transaction. This has massive implications for scalability and we’ve been thinking of ways around this.
One proposal that I’d like for us to explore is the idea of packing many operations into a single transaction using off-chain packing.
This was not possible earlier because we made the decisions to have all consensus-critical data be stored on chain, with flexible availability of off-chain data (including zone files).
There’s an incredible opportunity we have available to us now, though, with the addition of a Blockstack token with it’s own on-chain layer 2 mining system. This layer 2 mining will allow for the establishment of a canonical longest chain.
Further, if this mining process requires the packing and processing of operations in bulk, it will ensure that there is a clearly defined immutable set of off-chain operations. All participants in the mining process will have all of the data available to them.
The layer 2 mining can entail either proof-of-burn or a layer 2 embedded proof-of-stake system. Both are possible.
What does this mean?
Right now, if we want to register 10 million names per year on the blockchain we have to have 10 million transactions. This would take up 10% of all the Bitcoin blocks in a given year.
However, if we can pack multiple name operations into a single on chain “operation batch” operation, then we can conceivably allow 10 million name registrations with many fewer transactions.
In addition, as the Blockstack token comes out we will be severely limited in the volume of token transfers.
However, with operation packing we’ll be able to have a single “operation batch” operation that can carry a huge set of token transfer operations. This would allow us to have much lower fees for token transfers.
In a sense, this is a blockchain that rides on another blockchain. It uses embedded operations on chain in combination with packed operations off chain.
Once again that this is only possible because of embedded mining on a strong proof of work chain.
@jude has mentioned that we can take this to its logical extreme by actually running a separate blockchain and having it sync into the embedded consensus layer on the main chain (currently Bitcoin).
Note that has much better properties than merge mining because it doesn’t share a proof-of-work algorithm with another chain.
I’m starting this thread so we can explore the potential here.
There is enormous potential for scaling here and could actually be the most promising method for the scaling of blockchain name and token operations.