![]() |
|
![]() |
|
![]() |
|
![]() |
|
![]() |
|
![]() |
|
![]() |
|
![]() |
|
![]() |
|
![]() |
|
![]() |
|
![]() |
|
![]() |
|
![]() |
|
![]() |
|
블록 체인 기술이 발전함에 따라 확장 성과 프로그래밍 성은 특히 UTXO 모델을 채택하는 블록 체인의 주요 과제로 남아 있습니다.
As blockchain technology develops, scalability and programmability remain key challenges, especially for blockchains that adopt the UTXO model. Kaspa, being a layer-one public blockchain with a BlockDAG structure, manages to achieve high throughput but lacks native smart contract functionality, a limitation also faced by other UTXO systems such as Bitcoin. To address this problem, the Kaspa ecosystem developed Kasplex L2, a second-layer solution that integrates smart contracts compatible with the Ethereum Virtual Machine (EVM) based on the Rollup architecture.
블록 체인 기술이 발전함에 따라 확장 성과 프로그래밍 성은 특히 UTXO 모델을 채택하는 블록 체인의 주요 과제로 남아 있습니다. Blockdag 구조를 가진 레이어 1 개의 공개 블록 체인 인 Kaspa는 높은 처리량을 달성 할 수 있지만 기본 스마트 계약 기능이 부족하며 비트 코인과 같은 다른 UTXO 시스템도 직면 한 제한입니다. 이 문제를 해결하기 위해 Kaspa Ecosystem은 롤업 아키텍처를 기반으로 이더 리움 가상 머신 (EVM)과 호환되는 스마트 계약을 통합하는 2 층 솔루션 인 Kasplex L2를 개발했습니다.
In this article, we will conduct a technical analysis of Kasplex L2 from the perspective of a security and research institution. Our goal is to provide a tangible assessment of its design, technical implementation, and its implications for UTXO blockchains. We will explore how Kasplex L2 works, compare it to Bitcoin Inscriptions (such as BRC-20), and discuss its strengths and limitations. This analysis is intended to contribute to a broader discussion of scalability solutions for the UTXO model blockchain.
이 기사에서는 보안 및 연구 기관의 관점에서 Kasplex L2의 기술적 분석을 수행 할 것입니다. 우리의 목표는 설계, 기술 구현 및 UTXO 블록 체인에 대한 실질적인 평가를 제공하는 것입니다. 우리는 Kasplex L2가 어떻게 작동하는지 탐구하고, 비트 코인 비문 (예 : BRC-20)과 비교하고 그 강점과 한계에 대해 논의 할 것입니다. 이 분석은 UTXO 모델 블록 체인의 확장 성 솔루션에 대한 광범위한 논의에 기여하기위한 것입니다.
Understanding Kaspa's primary chain: a high-throughput UTXO blockchain
카스파의 기본 체인 이해 : 고 처리량 UTXO 블록 체인
Kaspa is a first-level blockchain with a BlockDAG structure that allows multiple blocks to be generated in parallel. The design is driven by the GHOSTDAG protocol, which enables Kaspa to achieve a high throughput of 10 BPS. Unlike account-based blockchains such as Ethereum, Kaspa uses the UTXO model, where transactions are verified by consuming unspent outputs and creating new outputs, thus ensuring an efficient verification process.
카스파는 여러 블록을 병렬로 생성 할 수있는 블록 디그 구조가있는 1 단계 블록 체인입니다. 이 설계는 고스트 데그 프로토콜에 의해 구동되므로 카스파는 10 bps의 높은 처리량을 달성 할 수 있습니다. Ethereum과 같은 계정 기반 블록 체인과 달리 Kaspa는 UTXO 모델을 사용합니다. UTXO 모델을 사용합니다. UTXO 모델을 사용합니다. UTXO 모델을 사용합니다. 여기서 트랜잭션은 불필요한 출력을 소비하고 새로운 출력을 생성하여 효율적인 검증 프로세스를 보장합니다.
While this architecture performs well in payment scenarios, it presents difficulties in terms of programmability. The UTXO model is inherently stateless and lacks the ability to maintain persistent state or perform complex computations — critical features required for smart contracts. As a result, Kaspa's functionality is limited to simple transfers, which has motivated the development of second-layer solutions to expand its capabilities.
이 아키텍처는 지불 시나리오에서 잘 수행되지만 프로그래밍 가능성 측면에서 어려움을 나타냅니다. UTXO 모델은 본질적으로 무국적이며 지속적인 상태를 유지하거나 복잡한 계산을 수행 할 수있는 능력이 부족합니다. 스마트 계약에 필요한 중요한 기능. 결과적으로 Kaspa의 기능은 단순한 전송으로 제한되어 있으며, 이는 제 2 계층 솔루션의 개발에 동기를 부여하여 기능을 확장했습니다.
Kasplex L2: Rollup-based blockchain for smart contract execution
Kasplex L2 : 스마트 계약 실행을위한 롤업 기반 블록 체인
The Kaspa ecosystem is exploring three Layer 2 (L2) solutions: Sparkle, Igra L2, and Kasplex L2. Among them, Sparkle is still in the theoretical stage, and Igra L2 is still in the development stage. Our analysis will focus on Kasplex L2 because it is the closest to mature implementation so far.
Kaspa 생태계는 Sparkle, Igra L2 및 Kasplex L2의 3 개의 층 2 (L2) 솔루션을 탐색하고 있습니다. 그중에서도 Sparkle은 여전히 이론적 단계에 있으며 Igra L2는 여전히 개발 단계에 있습니다. 우리의 분석은 지금까지 성숙한 구현에 가장 가깝기 때문에 Kasplex L2에 중점을 둘 것입니다.
Among the three L2 solutions being explored by the Kaspa ecosystem—Sparkle, Igra L2, and Kasplex L2—Sparkle is still in the theoretical stage, Igra L2 is still in the development stage, and Kasplex L2 is the closest to mature implementation, so this article will focus on analyzing it in detail.
카스파 생태계 (Sparkle, IGRA L2 및 Kasplex L2)가 탐색하는 3 개의 L2 솔루션 중 스 파크는 여전히 이론적 단계에 있으며 IGRA L2는 여전히 개발 단계에 있으며 Kasplex L2는 성숙한 구현에 가장 가깝기 때문에이 기사는 세부 사항을 분석하는 데 중점을 둘 것입니다.
Kasplex L2 is a Rollup-based second-layer scaling solution that relies on the first-level chain for transaction ordering and data availability, shifting the computational load to the second layer. In this design, Kaspa's first-level chain is responsible for determining the standard order of transactions and ensuring that its data is publicly available, while Kasplex L2 performs the task of executing EVM bytecode to realize smart contract functions.
Kasplex L2는 트랜잭션 순서 및 데이터 가용성을위한 첫 번째 레벨 체인에 의존하여 계산 부하를 두 번째 계층으로 전환하는 롤업 기반의 제 2 계층 스케일링 솔루션입니다. 이 설계에서 Kaspa의 첫 번째 수준 체인은 표준 트랜잭션 순서를 결정하고 데이터를 공개적으로 사용할 수 있도록하는 반면 Kasplex L2는 EVM Bytecode를 실행하여 스마트 계약 기능을 실현하는 작업을 수행합니다.
Technical design and workflow
기술 설계 및 워크 플로
The core mechanism of Kasplex L2 is to embed EVM bytecode in the payload of Kaspa primary chain transactions. The process can be divided into the following steps:
Kasplex L2의 핵심 메커니즘은 KASPA 1 차 체인 트랜잭션의 페이로드에 EVM 바이트 코드를 포함시키는 것입니다. 프로세스는 다음 단계로 나눌 수 있습니다.
1. Transaction submission: A user submits a transaction to the Kaspa primary chain, and the payload of this transaction contains EVM bytecode. For example, this payload may encode a call to the HelloWorld() smart contract function.
1. 트랜잭션 제출 : 사용자는 카스파 기본 체인에 트랜잭션을 제출 하고이 트랜잭션의 페이로드에는 EVM 바이트 코드가 포함됩니다. 예를 들어,이 페이로드는 Helloworld () 스마트 계약 기능에 대한 호출을 인코딩 할 수 있습니다.
2. First-level chain orders transactions: Kaspa's BlockDAG orders these transactions within its DAG structure, providing a deterministic transaction sequence.
2. 1 단계 체인 주문 거래 : Kaspa의 BlockDag는 이러한 거래를 DAG 구조 내에서 주문하여 결정 론적 거래 순서를 제공합니다.
3. Layer 2 performs efficient execution: Kasplex L2 runs as an indexer, scanning the payload transactions on the primary chain, extracting the EVM bytecode, executing it in the specified order, and updating its state. Invalid or conflicting transactions (such as transactions attempting to double-spend) will be discarded.
3. 레이어 2는 효율적인 실행을 수행합니다. Kasplex L2는 인덱서로 실행되고 기본 체인에서 페이로드 트랜잭션을 스캔하고 EVM 바이트 코드를 추출하고 지정된 순서로 실행하고 상태를 업데이트합니다. 유효하지 않거나 상충되는 거래 (예 : 두 번 스펜션을 시도하는 거래)는 폐기됩니다.
Transaction submission mechanism
거래 제출 메커니즘
Currently, Kasplex L2 supports two transaction submission methods, each having different effects:
현재 Kasplex L2는 두 가지 거래 제출 방법을 지원하며 각각 다른 영향을 미칩니다.
1) Canonical Submission: Transactions are submitted directly to L1 through Kaspa-compatible wallets. This method does not require relay nodes and complies with the decentralization principle of the blockchain system.
1) 정식 제출 : 거래는 카스파 호환 지갑을 통해 L1에 직접 제출됩니다. 이 방법은 릴레이 노드가 필요하지 않으며 블록 체인 시스템의 탈 중앙화 원리를 준수합니다.
2) Proxied Submission: Transactions are submitted through a relayer to be compatible with EVM tools like MetaMask. The relayer forwards the transaction to Kaspa L1 to ensure that it is recorded before being processed by L2. This approach prioritizes user convenience but introduces a reliance on relayers.
2) 프록시 제출 : 트랜잭션은 릴레이를 통해 메타 마스크와 같은 EVM 도구와 호환되도록 제출됩니다. 릴레이어는 트랜잭션을 카스파 L1로 전달하여 L2에 의해 처리되기 전에 기록되도록합니다. 이 접근법은 사용자 편의성을 우선시하지만 릴레이에 대한 의존을 소개합니다.
The proxy submission mechanism ensures atomicity by requiring all second-layer transactions to be anchored on the L1 chain. If a transaction is generated on L2 but has not yet been recorded on the primary chain, the relayer will submit it to the L1 chain for confirmation. This design prevents "native
프록시 제출 메커니즘은 모든 2 층 트랜잭션이 L1 체인에 고정되어있어서 원자력을 보장합니다. L2에서 트랜잭션이 생성되었지만 아직 1 차 체인에서 기록되지 않은 경우, 릴레이어는이를 L1 체인에 제출하여 확인합니다. 이 디자인은 "기본"을 방지합니다
부인 성명:info@kdj.com
제공된 정보는 거래 조언이 아닙니다. kdj.com은 이 기사에 제공된 정보를 기반으로 이루어진 투자에 대해 어떠한 책임도 지지 않습니다. 암호화폐는 변동성이 매우 높으므로 철저한 조사 후 신중하게 투자하는 것이 좋습니다!
본 웹사이트에 사용된 내용이 귀하의 저작권을 침해한다고 판단되는 경우, 즉시 당사(info@kdj.com)로 연락주시면 즉시 삭제하도록 하겠습니다.