Midnight 백서

Midnight

원문

bitpro가 원문에서 글자만 모은 내용이에요. 표·그림·수식은 빠지거나 깨질 수 있어요. 전체 7쪽 중 3쪽

ock to account for network demand and utilization. It is a variable multiplier, measured in DUST-per-byte, that applies to each operation’s transaction weight (see next subsection). The goal of the congestion rate is to ensure that the cost of transactions can rise or fall to match network conditions. Lower transaction costs during quiet periods should stimulate more activity, whereas higher fees during high-traffic periods should discourage transactions. Congestion rate is based on the following factors: The congestion rate at block n can be summarized as: Congestion rate The minimum fee is a configurable system parameter that is payable in every transaction, irrespective of network usage, transaction size, or complexity. It ensures every transaction has a minimum cost. Its primary function is to prevent denial-of-service (DDoS) attacks by making it prohibitively expensive – in DUST terms – for an attacker to indefinitely sustain millions of small transactions that might disrupt the network over extended periods. Minimum fee Initially, the transaction weight will reflect the amount of storage space required by an individual transaction, measured in kilobytes (KB). Given that a Midnight block is limited in size (by a system parameter), there are only so many transactions that can fit within a single block. Transaction weight is expected to be expanded to include other relevant factors for network activity, such as compute and disk read usage. Transaction weight Tokenomics and incentives whitepaper 172026 Midnight TGE Ltd. | All Rights Reserved • A minimum fee , a small fixed fee payable in every transaction; • A congestion rate, a dynamic multiplier based on network demand; • A transaction weight, based on computational resources required. • The fee adjustment factor , a function of the current block’s utilization rate in relation to th e block utilization target; • The congestion rate for the previous block/epoch. CongestionRate n = CongestionRate n-1 * (1 + FeeAdjustmentFactor) The transaction fee composition for a given transaction at block n can be fundamentally described as: Transaction fee summary Midnight targets a block utilization rate of 50%. This value is a system parameter that can be adjusted via governance action. The goal of this target is to balance critical factors like network security, decentralization, and the economic principles surrounding scarcity of block space. There are no inherent technical restrictions preventing a blockchain from increasing the size of its blocks. Block space is an abstract concept within blockchain technology, and block size limits are calculated design choices. However, such changes can have profound implications to the network. From a security and decentralization standpoint, smaller blocks are generally preferred. Larger blocks require more processing power and storage capacity, which can lead to centralization – as only a few powerful participants might be able to afford the computational resources to operate full nodes. This can undermine network security, as decentralization is key to the robustness and integrity of blockchain systems. Economically, block space is a scarce resource bound by both size and time interval. Fundamentally, the available block space per time window is what bounds Midnight’s transaction throughput. Imposing a size limit, or targeting a specific level of block fullness, such as 50%, instead of maximizing it to 100%, strategically controls this scarcity. Operating at full capacity leaves no room for fluctuations in demand, potentially leading to consistently high transaction fees and delayed transaction processing during peak times. Conversely, setting too low a target disincentivizes transactions and all network activity. Optimally, setting a target at 50% fullness ensures there is always spare capacity available to accommodate sudden increases in transaction volume without significant delays or fee increases. Block utilization target Tokenomics and incentives whitepaper 182026 Midnight TGE Ltd. | All Rights Reserved TxFee n = CongestionRate n * TxWeight + MinFee The mechanism by which this operates can be described as dynamic pricing . When demand for block space increases and blocks begin filling beyond the 50% target, transaction fees start to rise. This increment in fees continues until the cost becomes prohibitive for some users – who then opt out, causing a reduction in demand. Dynamic pricing Dynamic pricing comes into play not just to regulate costs in times of peak demand, but also when it comes to disincentivizing sustained transaction congestion – malicious or not – in which rational or irrational participants flood the network with valueless transactions. Most blockchains have built-in incentives against transaction spamming because each transaction incurs a monetary cost that depletes a scarce resource. Congestion and transaction spam Midnight's NIGHT-generates-DUST mechanism does not prevent attackers from spamming the network with useless transactions for as long as their NIGHT holdings allow; similarly, block producers might be incentivized to fill blocks with valueless transactions to capture the variable share of block rewards. Both scenarios resemble a smaller version of a demand spike. However, the increased DUST cost coupled with the intrinsic computational costs of generating ZK proofs have the effect of disincentivizing transaction spamming. Whenever a shielded resource like DUST is consumed by use, a ZK proof is needed to justify the existence of ownership of the DUST amount being spent – which incur computational costs. If transaction fees rise due to high demand, transactions without enough DUST are rejected for insufficient DUST, requiring resubmission – which includes a new ZK proof to support the new DUST spend. Generating a ZK proof is much more costly than verifying it, creating an asymmetric, self-inflicted cost for potential attackers. This design discourages rational actors, and irrational actors will eventually deplete their DUST holdings, preventing sustained attacks. Tokenomics and incentives whitepaper 192026 Midnight TGE Ltd. | All Rights Reserved If, conversely, blocks consistently run below 50%, transaction fees will decrease, making it economically viable for more users to execute transactions. This elasticity in transaction costs serves as an automatic stabilizer for the network, adjusting to the demand and supply of block space, and ensuring that blocks are neither too empty (which would suggest underutilized network capacity and unnecessarily low transaction fees) nor too full (which could lead to slow transaction times and high fees). This self-regulating system helps maintain the block fullness near the targeted 50% under typical conditions. This equilibrium mechanism not only optimizes network efficiency, but also stabilizes transaction costs over time – which is essential for both regular users and businesses relying on the network. Thus, the 50% block fullness target isn't just a technical parameter; it's a crucial economic setting that ensures the blockchain remains secure, decentralized, and functionally efficient. A self-regulating stabilizer 4. Cooperative tokenomics Despite their permissionless nature, the tokenomics of most major public blockchains motivate network participants to remain within the boundaries of a single ecosystem, accessible via a single token, reducing the economic incentives to work with – and across – other networks. Midnight aims to break free from this paradigm to create a truly interoperable layer with cross-chain incentives, becoming the connecting tissue across all kinds of networks, be these blockchains or not. This section explores some emerging functionalities, enabled by Midnight’s cooperative tokenomics and multichain architecture, that support this vision of an interconnected and interoperable future for Web3. Capacity marketplace is a concept that describes the different potential solution designs that can offer non-Midnight users frictionless access to Midnight network capacity while also benefiting the Midnight economy. In essence, the development of a capacity marketplace would benefit: Expanding network access: capacity marketplace It is useful to define what is meant by network capacity . For the purposes of this exploration, capacity represents the amount of on-chain work that can be performed by the network. Midnight network capacity is bounded in time by how much work can be performed at each block. Capacity is measured – and dynamically priced – in units of DUST resource. A Midnight DApp user utilizes DUST to secure network capacity and execute transactions. Defining network capacity From an end-user perspective, Midnight capacity can be accessed directly (by owning and using DUST to execute transactions) or indirectly (by having one’s transactions be sponsored by a DUST holder). Accessing network capacity Tokenomics and incentives whitepaper 202026 Midnight TGE Ltd. | All Rights Reserved DApp operators: can sponsor transactions for their users using any token (or even fiat currencies) if they don't have access to sufficient DUST. Midnight Treasury: could unlock a new source of funding, be expanded to hold assets other than NIGHT on Midnight, and even diversify and hold assets in other networks. NIGHT holders: could get a potential revenue stream by leasing or selling their unused DUS T. Non-Midnight end-users: could tap into Midnight apps and functionality without having to hold NIGHT or understand DUST mechanics – or to even know they exist. Any token – and even fiat – could potentially be used to access Midnight transactions. A marketplace’s function is to match buyers and sellers while allowing for optimal price discovery. With blockchain technology, marketplaces exist on a spectrum ranging from mostly off-chain, centralized applications, to decentralized solutions enabled by protocol-level primitives. Midnight’s capacity marketplace is expected to offer different solutions that compete on efficiency, price, and specialization. Below are some examples of potential offerings. Capacity marketplace paradigms The simplest form of matching is a peer-to-peer exchange, where a NIGHT holder designates their DUST generation to an address controlled by another user in exchange for a payment settled off-chain, either directly or facilitated via a broker. For that reason, off-chain marketplaces are more centralized and require a level of trust between parties. However, when trust exists, they can also be highly efficient and flexible – for example, enabling fiat payments. Examples of this paradigm include: Off-chain marketplace models Tokenomics and incentives whitepaper 212026 Midnight TGE Ltd. | All Rights Reserved Broker-managed leasing: NIGHT holders lease their DUST via specialized brokers, who then coordinate the DUST generation lease from one or more lessors to one or more DUST lessees. Brokers then facilitate payments to lessors, collecting a fee for their services. This model has the advantage of being scalable, thus enabling competition and potentially more efficiency. Indirect access: Although access to network capacity requires DUST, from an end-user perspective, access to Midnight can be abstracted by application developers. DUST resources required to execute transactions can be paid by – or on behalf of – the end-user, granting them access to Midnight DApps without requiring them to own, use, or even be aware of the underlying blockchain. This allows for effectively tokenless, blockchain-abstracting applications. Babel Station: a service that allows users to create and submit transactions without including DUST by means of Midnight’s implementation of ZSwap 2– a transaction scheme that provides a provably secure and data-protecting mechanism for atomic asset swaps. Users submit their transactions with a ZSwap intent – an offer or statement of a desired future – including non-NIGHT tokens (or fiat) as payment. DUST generation leasing: NIGHT holders lease their DUST by designating the DUST generation directly to a lessee’s DUST wallet. The lessee can then use DUST however they want, for as long as they maintain the lease. Arrangements between parties, as well as any payments, are settled off-chain. Direct access: DUST can be accessed and used directly by users who either own NIGHT tokens – and thus designate their own DUST address to receive the generated resources – or who are the recipients of DUST generated by NIGHT tokens owned by someone else. ² https://docs.midnight.network/learn/understanding-midnights-technology/zswap Tokenomics and incentives whitepaper 222026 Midnight TGE Ltd. | All Rights Reserved If accepted, the station operator submits the transaction containing the necessary DUST on behalf of the user. The Babel Station acts as a “DUST filling station”, giving anyone on-demand indirect access to Midnight network capacity. Beyond off-chain models, future protocol upgrades could enable a larger, trustless, self-organized on-chain capacity marketplace, further expanding on the off-chain models described above. In both cases, the required protocol-level capability could potentially carry a built-in fee to support the Midnight Treasury. This fee would create new revenue streams for the network and deepen the integration between Midnight and the broader Web3 economy. On-chain marketplace models An evolving capacity marketplace would allow for ever more efficient price discovery based on the efficiency and convenience of each solution, enabling service specialization within and outside the Midnight network. Intermediated solutions, like Babel Stations and exchanges, can potentially support fiat transactions, providing an entry point to convert fiat currencies into stable tokens. Efficient capacity pricing The Midnight on-chain Treasury will initially be funded exclusively with NIGHT tokens – first from the initial token distribution, and subsequently with a portion of block production rewards, as described in the block production section. The on-chain capacity marketplace could transform the Midnight economy by expanding the scope and reach of the Treasury. A fee levied on capacity leased or purchased with non-NIGHT tokens via protocol-level on-chain mechanism would go to the Midnight Treasury. This design would enrich and diversify the Treasury to include multiple types of assets and assets across different blockchains. Fees collected outside of the Midnight network would be under the control of the Treasury, further underpinning the value of NIGHT as a Treasury-backed token. This would have the effect of not only strengthening the long-term sustainability of Midnight, but of creating deeper interconnection across blockchains. Diversified Treasury Ledger-native capacity leasing: once ledger-native capacity leasing functionality is available, NIGHT holders would be able to delegate lease management and payment collection to a ledger-native mechanism. Brokerage models could leverage this capability to manage leasing, opening up a path to a multichain, multi-asset Treasury. On-chain capacity exchange: the same protocol capability could enable the spot purchase of unused DUST generation via an exchange interface. Exchanges could provide matching and coordinate payments, while the on-chain protocol mechanism would minimize the level of trust required. Beyond the multi-resource consensus system that allows Midnight to tap into Cardano’s robust proof-of-stake layer to secure the network while bootstrapping, the Cardano Partner Chain framework brings other features to enable the vision of a truly multichain future: cross-chain observability and multichain signatures. Expanding network reach: multichain With cross-chain observability, when a user performs an action on one chain, it is possible to trigger an agent that can act on another chain. This functionality underpins the future development of cross-chain use cases, such as on–chain capacity exchanges. For example: a user would like to execute transactions on Midnight and pay with ETH on Ethereum. The user would lock ETH on Ethereum and leverage cross-chain observability to access the capacity to execute transactions on Midnight via a cross-chain agent. In this scenario, the ETH payment via the capacity marketplace would be split between the capacity (DUST resource) provider, the cross-chain observer, and the Midnight Treasury (via fee on the protocol-level function). Cross-chain observability Multichain signatures allow Midnight-managed Treasury to receive inflows of fees from such on-chain services denominated in other tokens, building up diverse reserves in smart contracts native to their respective blockchains. Multichain signatures Tokenomics and incentives whitepaper 232026 Midnight TGE Ltd. | All Rights Reserved 5. Block production and incentives A core utility of NIGHT will be to incentivize Midnight block producers to build and validate new blocks on the network. Block production plays a fundamental role in the security of a blockchain – and, consequently, in the broader utility and value for all network participants. It is also where many networks are most vulnerable in their early days, when the incentives at stake are not yet established and can be exploited by potential attackers. To mitigate that risk, the task of producing blocks and securing the network at launch will be performed exclusively by a set of trusted permissioned nodes , with a view to progressively decentralize, open up, and become fully permissionless. These initial block producers will not receive block production rewards. Block production at launch In time, as per the Cardano Partner Chain framework, this progressive decentralization will open up consensus participation to those Cardano SPOs who choose to also take on a role as Midnight block producers, thus becoming eligible to receive block production rewards. Depending on factors that will not be known until after mainnet is operational, the transition to a fully permissionless system may involve a gradual process with an intermediary, hybrid stage. During this stage, both permissioned nodes and participating SPOs acting as Midnight block producers would work alongside each other to validate Midnight blocks. Moving toward permissionlessness Tokenomics and incentives whitepaper 242026 Midnight TGE Ltd. | All Rights Reserved When the expected developments in the Midnight mainnet allow, the role of producing blocks will require that prospective Midnight block producers be Cardano SPOs. To be considered an eligible candidate for block rewards, a Cardano SPO will have to register with a unique smart contract on Cardano that oversees the Midnight block production candidate pool. NIGHT block rewards will be tallied and made available for withdrawal, on the Midnight ledger, by participating SPOs and the delegators whose stake enables those SPOs’ block production. Becoming a Midnight block producer will not interfere with an SPO’s capacity, probability of being selected to validate Cardano blocks, or receiving ADA rewards for their contribution to Cardano security. There will be no impediments to performing roles in both networks. SPOs acting as Midnight block producers will be selected in proportion to their delegated ADA stake. Delegated ADA will not move and will remain under control of their holders on Cardano. NIGHT block rewards, when operational, will be issued to each block producer’s designated address(es) on the Midnight network, according to the rules and principles outlined below. Cardano SPOs and Midnight block production As part of the Substrate framework3, the Midnight network plans on leveraging Grandpa 4 (GHOST-based recursive Ancestor Deriving Prefix Agreement
프로젝트로 돌아가기