アイコン_インストール_ios_web アイコン_インストール_ios_web アイコン_インストール_android_web

フラクタル、OP_NET、AVM、BRC100、プログラム可能なルーン、BTC には他にどのような拡張計画がありますか?

分析3週間前更新 6086cf...
113 0

Since the first quarter of 2024, the speculative enthusiasm of the BTC ecosystem has not been as high as in 2023, but as more and more developers join and become familiar with the BTC model, the BTC ecosystem has made rapid progress in terms of technology, especially in terms of programmable expansion solutions. Trustless labs has previously introduced BTCs L2 そして UTXO binding そして BTC re-staking . This article will continue to fill in the gaps and introduce the highly popular Fractal Bitcoin and the programmable solutions of BTC metadata protocols such as BRC 20, CBRC, and ARC 20.

フラクタル

Fractal is a virtualization based on bitcoin core client software. By recursively creating a tree-like extensible framework, each layer of blockchain can improve the performance of the entire Fractal network. Because of the reuse of the main code, Fractal is instantly fully compatible with Bitcoin and its infrastructure, such as mining. The difference is that Fractal activates the op_cat operator, allowing more logic to be implemented.

Fractal was developed by the Unisat team, and Unisat mentioned the development progress of Fractal in its blog in January 2024. The project launched the Beta test network on June 1, 2024, completed a reset of the test phase on July 29, and the main network is expected to be launched in September 2024.

The team has just released its token economics. The Fractal network will have its own tokens, 50% of which will be mined, 15% will be used for the ecosystem, 5% will be pre-sold to early investors, 20% will go to advisors and core contributors, and 10% will be used as community subsidies to build partnerships and liquidity.

Architecture Design

Fractal fully virtualizes the bitcoin core client and packages it into a deployable and runnable blockchain software package (Bitcoin Core Software Package, BCSP). Then it recursively anchors to the Bitcoin mainnet and runs one or more BCSP instances independently. Through modern virtualization technology, efficient hardware performance sharing is achieved, allowing multiple instances to run on the main system. In simple terms, it is similar to opening multiple virtual machine instances (BCSP instances built by Fractal) on a computer (BTC mainnet), and it can also be recursive.

When a large number of on-chain interaction needs arise, these needs can be selectively delegated to a deeper level. This systems dynamic balancing ability helps avoid excessive congestion at any particular level. For a better user experience, Fractal has also made some changes to bitcoin core. The block confirmation time has been changed to 30 seconds or less, and the block size has been increased 20 times to 20 MB, which ensures sufficient performance and short enough latency.

Fractal activated the op_cat operator, making it possible to explore and test more expansion solutions on BTC.

At the asset cross-chain level, since different instances are running in the same physical environment, it can be understood as running multiple bitcoin core chains under the same BTC framework. Therefore, the instance chains can communicate with each other and achieve seamless asset transfer between different layers by constructing a universal asset transfer interface.

Bitcoin and assets such as BRC-20 and Ordinals can be bridged through decentralized. The underlying mechanism is a rotating MPC signature mechanism with dynamic replacement. At present, it seems to be a packaging layer. In subsequent iterations, BTC and other mainnet assets can also exist on Fractal Bitcoin as brc-20 packaging assets.

フラクタル、OP_NET、AVM、BRC100、プログラム可能なルーン、BTC には他にどのような拡張計画がありますか?

Compared to typical Ethereum Layer 2 solutions, this form of virtualization achieves computational scalability through an additional abstraction layer outside the main chain while maintaining consistency with the main chain and not introducing a new consensus mechanism. Therefore, current BTC ASIC miners and mining pools can seamlessly join the Fractal network.

Fractals security is guaranteed by its computing power. The design mainly enhances the security of Fractals PoW mechanism through three aspects. Fractal introduces joint mining, where one out of every three blocks is generated by combined mining with BTC miners to help protect the network from potential 51% attacks; the remaining two blocks are produced by the Fractal networks own computing power. It can be seen that the impact on BTC miners is the key to Fractals success, and its token economy will inevitably tilt towards miners.

At the same time, the newly created virtualized instance chain will experience an initial fragile period during the startup phase. When launching a new instance, the operator can set a specific block height to provide protection until the instance reaches a safe and healthy state. In the future, miners with a large amount of computing power can allocate their resources to different BCSP instances, thereby enhancing the robustness and resilience of the entire system.

The relationship between Fractal mainnet currency and sats

The mining output of Fractal mainnet coins is to ensure the operation of the chain. The fb chain is basically the same as BTC and does not have the ability to directly run smart contracts. Therefore, complex DeFi functions such as swaps require additional infrastructure. Unisat promises to use BRC 20 sats for swaps. This swap runs on Fractal and also requires its own nodes. The service fees charged by these nodes for self-profit and loss are sats.

AVM

AVM (Atomicals Virtual Machine) is the BTC smart contract implementation of Atomicals Protocol. AVM creates a virtual machine that simulates the BTC script and opens multiple BTC original opcodes in the virtual machine. Developers implement smart contracts through Bitcoin script combinations and define their own rules to manage the creation and transfer of assets.

フラクタル、OP_NET、AVM、BRC100、プログラム可能なルーン、BTC には他にどのような拡張計画がありますか?

Satoshi Nakamoto initially designed a fully expressive scripting language for Bitcoin, which includes a rich set of primitive opcode instructions. These scripts have certain data storage capabilities and are Turing complete. Later, Bitcoin Core disabled some opcodes required for Turing completeness, such as basic string concatenation operations (OP_CAT) and arithmetic operators (such as multiplication OP_MUL and division OP_DIV).

The idea of AVM is to maximize the original opcode capabilities of BTC. The AVM virtual machine simulates the BTC script and achieves Turing completeness through a dual-stack PDA (Pressable Storage Automaton). This virtual machine runs in a sandbox that contains an indexer, instruction parser, and global state, thereby realizing the processing of smart contracts and synchronization and verification of states.

The instruction set of the AVM virtual machine includes complete BTC opcodes, so developers can use many BTC unlaunched functions for programming on the main network. This makes AVM look like a native pioneer network for BTC ecological expansion.

AVM is a set of architectures. Any BTC metadata protocol, such as BRC 20, ARC 20, Runes, and CBRC, can be customized and jointly managed by application developers, service providers, and users to form a spontaneous consensus. Therefore, it is applicable to almost any metadata protocol, and only requires fine-tuning of the indexer under the virtual machine.

AVM has released a beta version https://x.com/atomicalsxyz/status/1823901701033934975, and the relevant code is https://github.com/atomicals/avm-interpreter .

OP_NET

Official website: https://opnet.org/#

OP_NET was proposed in the third quarter of 2024. It is committed to introducing smart contract functions similar to Ethereum on the Bitcoin network, but more in line with the characteristics and architecture of Bitcoin. To conduct transactions on OP_NET, only native Bitcoin is needed, and no other tokens are needed to pay node incentives or transaction fees.

OP_NET provides a complete, compact and easy-to-use development library, mainly written in AssemblyScript (similar to TypeScript, which can be compiled to WebAssembly). Its design goal is to simplify the creation, reading and operation of Bitcoin-related technologies, especially in smart contracts and Bitcoin Smart Inscription (BSI).

OP_NETs core functions and features

OP_NET retains Bitcoins block consensus and data availability, ensuring that all transactions are stored on the Bitcoin network and protected by its immutable protection. Through an execution virtual machine (OP_VM), OP_NET can perform complex calculations on Bitcoin blocks. All submitted OP_NET transactions are marked with a BSI string and executed in OP_VM to update the contract status.

The OP_NET node runs a WASM virtual machine, so it supports multiple programming languages such as AssemblyScript, Rust and Python. By leveraging Tapscript to enable advanced smart contract functions, developers can deploy and interact with smart contracts directly on the Bitcoin blockchain without permission.

The codes of these smart contracts are compressed and written into BTC transactions. This generates a UTXO address, which is regarded as the contract address. Users need to transfer funds to this address when interacting with the contract.

When interacting with the OP_NET network, in addition to the BTC transaction fee, users also need to pay an additional fee of at least 330 satoshis to ensure that the transaction will not be identified as a dust attack by BTC mainnet miners. Users can add more gas fees, and the packaging order of transactions in the OP_NET network will be sorted according to the fee, not entirely dependent on the BTC block packaging order. If the OP_NET transaction fee paid by the user is greater than 250,000 sats, the excess will be rewarded to the OP_NET node network.

In order to expand the use of BTC in DeFi applications, OP_NET provides a Proof of Authority system that allows BTC to be packaged as WBTC. The mainnet BTC is bridged to the OP_NET protocol through a multi-signature method.

It is worth mentioning that OP_NET is compatible with SegWit and Taproot, and its token design is not bound to UTXO, avoiding the risk of sending tokens to miners by mistake, further improving the security and reliability of the system. Through these features, OP_NET injects stronger smart contract functions and decentralized application support into the Bitcoin ecosystem.

OP_NET Ecosystem Projects

OP_NETs predecessor is the cbrc-20 protocol, and most of its ecological projects are directly inherited. The ecology covers decentralized trading, lending, market making, liquidity provision, cross-chain bridges and other fields:

  1. Motoswap: This is a decentralized trading protocol that runs on Bitcoin Layer 1.

  2. Stash: This is a decentralized lending protocol that runs on Bitcoin Layer 1. Stash uses OP_NETs WBTC as collateral, allowing users to conduct permissionless lending, and loans are issued in the form of USDs stablecoins.

  3. Ordinal Novus: This is the market making and liquidity provision platform in the OP_NET ecosystem.

  4. Ichigai: This is a decentralized aggregator that integrates multiple DeFi platforms, allowing users to manage transactions, market tracking, and portfolios on a single interface.

  5. SatBot: A trading bot integrated into Telegram that allows users to execute trades, track markets and manage portfolios in real time via Telegram.

  6. KittySwap: A decentralized exchange and perpetual contract platform running on OP_NET.

  7. Redacted: Provides on-chain private and compliant DeFi private banking services.

  8. SLOHM Finance: A decentralized reserve currency project launched on OP_NET.

  9. BuyNet: A buying bot developed for the Bitcoin DeFi ecosystem.

  10. SatsX: A project developing versatile features and tools on OP_NET, expanding the capabilities of the ecosystem.

  11. Meme Coins such as Satoshi Nakamoto Inu, Zyn, Unga, Pepe: These are Meme tokens based on the OP_20 protocol and are all supported by OP_NET.

BRC 100

Documentation: https://docs.brc100.org

BRC-100 is a decentralized computing protocol built on the Ordinals theory. It adds new operations such as destruction and minting to BRC 20. By combining these new operations, the balance and status of tokens held by different addresses are recorded in the indexer, thereby realizing complex DeFi operations. Developers can also expand more operators based on the BRC-100 protocol to expand their business.

Operation of the BRC-100 protocol

BRC-100 provides some operations: mint 2/mint 3 and burn 2/burn 3, which allow tokens to be safely converted between the UTXO model and the state machine model:

  • Mint 2: used to generate new tokens and increase the circulation of the entire system. Usually requires permission from an application or address to operate.

  • mint 3: Similar to mint 2, but does not increase the circulation. It is mainly used to convert balances in applications into UTXO (unspent transaction outputs), which can be used in other applications.

  • burn 2: used to destroy tokens and update the application status at the same time. The destroyed tokens can be regenerated through mint 2 under certain conditions.

  • Burn 3: Similar to burn 2, but instead of reducing the circulation, the tokens are converted to the state of the application. The destroyed tokens can be regenerated through mint 3.

Expansion and compatibility

Computing power and state transitions can be expanded through the BRC-100 extension protocol. All BRC-100 extension protocols are compatible with each other, that is, tokens that implement BRC-100 and its extension protocols can be used in all applications. At the same time, the BRC-100 protocol and its extension protocols can be updated and upgraded through improvement protocols.

The BRC-100 protocol and all its extensions and improved protocols are collectively referred to as the BRC-100 protocol stack. All BRC-100 extension protocols are compatible with each other, that is, tokens that implement BRC-100 and its extension protocols can be used in all applications and support cross-chain operations. There are BRC-101, BRC-102 and BRC-104:

  • BRC-101 is a decentralized on-chain governance protocol that defines how to govern applications based on the BRC-100 protocol or its extensions.

  • BRC-102 is an automated liquidity protocol for BRC-100 assets. It defines an automated market-making method based on the “constant product formula” (x*y=k) for a pair of tokens based on the BRC-100 protocol stack.

  • BRC-104 is a liquidity staking/re-staking pool protocol that defines how to wrap BRC-20 assets, Rune assets, and BTC into BRC-100 assets through staking, and how to distribute BRC-100 asset rewards to BRC-100 assets, BRC-20 assets, Rune assets, or BTC stakers. BRC-104 is the Asset Wrapping Protocol and Yield Farming Protocol of the BRC-100 protocol stack.

BRC-100 Ecological Project

The project is exploring a way to implement a minimal index for the BRC-100 protocol indexer. Demanders can deploy their own minimal index to obtain the status of all assets in the BRC-100 protocol stack without having to implement the complex calculation logic of all extended protocols. Moreover, the minimal index does not need to be updated or upgraded frequently.

There are 3 projects in the BRC-100 ecosystem:

Programmable Runes (Protorunes)

A rune is essentially a data structure stored in the OP_RETURN field of Bitcoin. Compared to other JSON-based protocols such as BRC-20, a rune is more lightweight and does not rely on a complex indexing system, maintaining the simplicity and security of Bitcoin.

Programmable Runes is an extension layer of Runes that allows the creation of programmable assets with Runes. These assets can exist in UTXO and support operations similar to AMM (Automated Market Maker) protocols. The core idea of Programmable Runes is to use data on the Bitcoin blockchain to realize the functions of smart contracts through virtual machines or similar technologies.

Proto-Runes Protocol

Among programmable runes, the most important project is Proto-Runes Protocol, which is led by the team of @judoflexchop, the founder of oyl wallet. It is now open source: https://github.com/kungfuflex/protorune

Proto-Runes Protocol is a standard and specification that provides a framework for programmable runes, which can build AMMs, lending protocols, or full-fledged smart contracts by managing and transferring rune assets between sub-protocols (meta protocols).

For example, Proto-Runes Protocol implements a DEX (decentralized exchange) similar to Uniswap on the Bitcoin network, supporting atomic swaps of rune assets and the creation of liquidity pools. Through the combination of prototype destruction and prototype messages, users can conduct decentralized transactions and asset management without leaving the Bitcoin network.

Simply put, the Proto-Runes Protocol allows runes to be burned into programmable runes called Protorunes, giving runes additional functions and uses.

Protoburn and Protorunes

One of the key mechanisms of Proto-Runes is Protoburn, which allows users to destroy and convert runes into representations that are only used by the sub-protocol. These rune assets are targeted through Runestone pointers or edicts on the Rune Protocol, thereby generating new asset forms in the sub-protocol, namely programmable rune Protorunes.

The prototype burn ensures the unspendability of the runes by locking them on the OP_RETURN output. This mechanism ensures that the rune assets can be safely transferred from the main protocol to the sub-protocol, allowing further operations and transactions in the sub-protocol.

This process is usually one-way, that is, assets are transferred from the Rune Protocol to the subprotocol, but cannot be directly transferred back. Protoburn messages are embedded in Protostone in the Protocol field of Runestone, and its protocol tag is 13 (Rune Protocol Tag). The message contains information such as the target subprotocol ID and a pointer to the asset. This mechanism provides the basis for asset management and transfer between subprotocols, and allows functions such as Atomic Swaps.

Protomessage

In the Proto-Runes protocol, Protomessage refers to the operation instructions performed in the sub-protocol. It is implemented by encoding in the Protostone structure and parsing by the indexer. Protomessage usually includes operation requests for assets, such as transfers, transactions, or other protocol-defined functions. When the indexer parses into the message field in Protostone, the field contains a byte array, which is usually parsed by protobuf or other sub-protocol expected serializers, and then passed as a parameter to the runtime of the sub-protocol. The message may involve asset transfers, transaction logic, or other protocol functions.

The pointer is used to specify the target location of the Protostone, which can be a UTXO in the transaction output or another Protostone. If the sub-protocol decides not to execute an input, when the transaction fails, the protostones will be refunded to the location pointed to by the refund pointer (refund_pointer), and the unused assets will be returned to the initiator of the original transaction.

The operating mechanism of the Proto-Runes protocol

The operating mechanism of the Proto-Runes protocol is that the Indexer first processes the Runestone features in the Rune Protocol, and then processes the protocol messages of the sub-protocols in order. All Protostones are processed in the order they appear in the Protocol field of the Runestone. In order to avoid complexity and potential security vulnerabilities, the Proto-Runes protocol prohibits recursive execution of prototype messages, that is, each prototype message can only be executed once, and any recursive instructions will cause the transaction to fail, and unused assets will be refunded.

In the Proto-Runes protocol, LEB 128 (Little Endian Base 128) is a variable-length encoding method for representing large integers. LEB 128 encoding is widely used to represent protocol fields and messages to save space and improve processing efficiency. Each subprotocol has a unique protocol tag to distinguish different subprotocols. These tags are represented by u 128 values and appear as LEB 128-encoded values in Protostone. Pointers are used to specify the target location of Protostone, which can be UTXO in the transaction output, another Protostone, or even reference the prototype message to implement complex operation logic in the subprotocol.

Latest Development: Genesis Protorune

QUORUM•GENESIS•PROTORUNE is the first Protorrune, and its Protoburn has been successfully completed. We can see the correct operation of the ord indexer, where Protoburn occurs without cenotaph because OP_RETURN is used to output the balance of QUORUM•GENESIS•PROTORUNE, which can be seen through this link: https://mempool.space/tx/eb2fa5fad4a7f054c6c039ff934c7a6a8d18313ddb9b8c9ed1e0bc01d3dc9572.

フラクタル、OP_NET、AVM、BRC100、プログラム可能なルーン、BTC には他にどのような拡張計画がありますか?

This Genesis Protorune is intended only as a reference implementation and is not intended to be sold. It is intended to serve as a public forum for Protorune standards and can be integrated into the protocol to provide governance functions for project tokens.

@judoflexchop team is still developing an indexer for this genesis protorune WASM: https://github.com/kungfuflex/quorumgenesisprotorune

This is a functional model for implementing on-chain governance on Bitcoin L1. As an indexer, it allows users to generate voting tokens through protomessage. The same range of runes in each proposal can only generate voting tokens once. The proposal is automatically executed after reaching the quorum, and users can also withdraw their votes by transferring voting tokens to non-spendable addresses. The whole process ensures the transparency and effectiveness of governance.

This article is sourced from the internet: Fractal, OP_NET, AVM, BRC100, programmable runes, what other expansion plans does BTC have?

Related: Where is Ethereum’s orthodoxy? A detailed explanation of Vitalik’s “cryptocurrency masterpiece”

Original|Odaily Planet Daily ( @OdailyChina ) Author: Wenser ( @wenser 2010 ) As the author of the Ethereum white paper and co-founder of Ethereum, Vitaliks every move has varying degrees of impact on the cryptocurrency industry. His speeches at various events are also regarded as one of the industry weather vanes, and the projects he personally supports or mentions many times are also regarded as Ethereum orthodox projects. On August 7, Vitalik said : From my point of view, both L1 and L2 confirm transactions within seconds, the cost of each L2 transaction is less than $0.01, Farcaster, Lens, and Polymarket have performed amazingly over the past year, and we are beginning to enter the ZK ID and ZK voting stages. He not only consistently praised the development of the…

© 版权声明

相关文章