Introduction
RSM is a Turing-Complete State Machine for Runes Protocol
Time: Jun. 21 2024
Creator: Mikael.btc
Email: mikael@rsm.network
Twitter: https://x.com/MikaelBTC
RSM Introduction
This document is intended to manage Runes State Machine (RSM) and all contracts. The following table shows the current status of them.
As we all know, Ordinals Theory, Runes, BRC-20 and other meta-protocols based on Bitcoin have brought a lot of imagination to the development of Bitcoin ecosystem through "on-chain declaration, off-chain computing" mechanism. And a large number of non-fungible tokens (NFTs) and fungible tokens have been issued, but the development of decentralized applications such as DeFi (Decentralized Finance) on Bitcoin is still lagging behind. This document explores a new paradigm for the computing capabilities of Runes Tokens: Runes State Machine (RSM). Besides asset issuance, RSM enables Runes protocol with the complex computing capabilities required for DeFi and other decentralized applications, to create the potential for decentralized applications based on Bitcoin Layer 1.
https://docs.ordinals.com/runes/specification.html
Runes State Machine (RSM) is a Turing-Complete State Machine for Runes Protocol, serves as the runtime environment for the pre-defined Contracts, which can be deployed and run in RSM. RSM is a Runes Improvement Protocol. Contract is a collection of states and state transition functions. When deploying a Runes token, developer can choose which contract to implement. RSM introduces decentralized computing capabilities to the Runes protocol, endowing Runes tokens with programmability, enabling complex decentralized applications like DeFi for Runes Protocol besides token issuance. Each token/application can define its computing logic and internal state through implementing a Contract. Additionally, RSM proposes an application/token modular approach: nesting, which provides a theoretical foundation for the infinite extension of application computing capabilities. Essentially, RSM describes a token with computing capabilities and state, where the token's behaviors are extended from Runes protocol. The computing capabilities, states, and state transition rules are defined in the Contract. Tokens compliant with the Runes Protocol standard can be used in any Contract, and the process is entirely decentralized, without custody of user assets.
RSM is based on two models: UTXO model and state machine model, which greatly extends the computing capabilities of Bitcoin. The operation of token satisfies the UTXO model, and the computation conforms to the state machine model. And RSM provides new operations: burn2/burn3 and mint2/mint3, so that token can be converted between UTXO model and state machine model, decentralized and safely.
RSM introduces many concepts, please read the explanation below firstly.
RSM is open, and developers are welcome to participate in building contracts, developing applications, and jointly building the Bitcoin ecosystem. You can join the RSM Community: https://t.me/RSMCommunity.
Also, if you like RSM, you can donate to: bc1pzwv3gfp8yvu0w893ekhte8h63cq0u306k62qnwgvpyy0naw7npjqvf4qhg.
Last updated