Arcium 백서

Arcium

원문

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

settings. **Changes** * **Arcis:** Adds enums and `Option<T>`. See [supported types](/developers/arcis/types). * **Callbacks:** Supports additional instructions. * **TypeScript:** Adds computation fee getters to `@arcium-hq/reader`. </Update> # Versioning and compatibility Source: https://docs.arcium.com/developers/versioning Understand coordinated Arcium releases, compatibility guarantees, and the supported path from v0.11 or newer. Arcium publishes the CLI, Rust crates, TypeScript packages, and Arx node image as a coordinated release. ## Choose an upgrade path | Project state | Path | | -------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------- | | All Arcium components use the latest release | No upgrade required. | | Every component is v0.11 or newer | Start from the oldest component version, review every subsequent [release note](/developers/release-notes), then synchronize all components to the same release. | | Any component is v0.10 or older | Request a project-specific upgrade path in [Arcium Discord](https://discord.gg/arcium). These versions are outside the maintained documentation baseline. | ## Understand compatibility Starting with v0.11, releases are designed to preserve compatibility at the protocol and account level. Network upgrades should not invalidate existing MXEs, Clusters, or computation-definition accounts. Developer-facing APIs can still change. An upgrade might require source changes before you rebuild, even when deployed accounts remain compatible. The [release notes](/developers/release-notes) identify required application and Node Operator actions for each release. | Layer | Compatibility rule | | ------------------------ | --------------------------------------------------------------------------------------------- | | Arcium components | Use the same release across the CLI, crates, TypeScript packages, and Arx node image. | | Protocol and accounts | Releases from v0.11 onward are designed to keep existing deployments and accounts compatible. | | Developer APIs | Rust, TypeScript, CLI, configuration, and Arcis APIs can change between releases. | | Mixed component versions | They might work, but Arcium does not test or guarantee them. | ## Update a project Each component updates through a different mechanism: | Component | Update mechanism | | ---------------------- | ------------------------------- | | CLI and Arx node image | Arcup | | Rust crates | Cargo manifests and lockfile | | TypeScript packages | `package.json` and its lockfile | 1. Check the active CLI and Arcup versions: ```bash theme={null} arcium --version arcup version ``` Also check Arcium versions in your Cargo manifests, JavaScript package manifest, lockfiles, and Arx node image tag. 2. Read the [release notes](/developers/release-notes) from your oldest component version through the latest release. Apply every required API or configuration change in order. 3. Update the components managed by Arcup: ```bash theme={null} arcup self update arcup update ``` 4. Set Arcium Rust crates and TypeScript packages to the same release. Follow the [installation overview](/developers/installation) for current prerequisites. Node Operators should also follow [Node setup](/developers/node-setup) for the current image and configuration. 5. Rebuild and test before deploying: ```bash theme={null} arcium build cargo check --all arcium test ``` # Architecture overview Source: https://docs.arcium.com/getting-started/architecture-overview How MXEs, arxOS, Arcis, Clusters, and Solana coordinate encrypted computations The Arcium Network uses Multi-Party Computation (MPC) to execute computations on encrypted data across a Cluster of Arx nodes. <Frame> <img alt="Arcium Network Architecture" /> </Frame> 1. **MPC eXecution Environments (MXEs)** [**MXEs**](/multi-party-execution-environments-mxes/overview) group a Solana program, computation definitions, key material, and the Cluster that executes their computations. Each MXE is bound to one Cluster at a time. Its authority can migrate it to another Cluster through key recovery. Each Cluster maintains its own onchain mempool. 2. **arxOS** arxOS is the distributed, encrypted operating system powering Arx nodes and Clusters, responsible for coordinating and executing computations within the Arcium Network. Each node (like a core in a computer) provides computational resources to execute computations defined by MXEs. 3. **Arcis (Arcium's Developer Framework)** **Arcis** is the Rust framework and compiler for writing circuits that run with Arcium's supported MPC protocol. 4. **Clusters of Arx nodes (running arxOS)** [Clusters](/clusters/overview) currently run [Cerberus](/multi-party-execution-environments-mxes/mpc-protocols), a dishonest-majority, detect-and-abort MPC protocol. <Frame> <img alt="Clusters of Arx nodes" /> </Frame> ### Chain-level enforcement Solana stores network configuration, computation accounts, queues, staking state, payments, and callbacks. Arx nodes keep MPC key material and preprocessing data offchain and execute circuits offchain. Read more in [Solana integration: orchestration and execution](/solana-integration-and-multichain-coordination/solana-integration-orchestration-and-execution). Arx nodes stake to activate, join Clusters, receive rewards, and participate in leader selection. See [Staking overview](/staking/overview). # How to use this documentation Source: https://docs.arcium.com/getting-started/how-to-use-this-documentation Recommended reading order and guide to navigating the Arcium documentation This documentation is organized for two main paths: learning how Arcium works and building encrypted applications with Arcium. Recommended reading order: 1. **Start with the basics:** Read [Basic concepts](/introduction/basic-concepts) to understand Multi-Party Computation (MPC), MPC eXecution Environments (MXEs), Arcis, Arx nodes, Clusters, and secret sharing. 2. **Review the architecture:** Read [Architecture overview](/getting-started/architecture-overview) to see how MXEs, arxOS, Arcis, and Clusters fit together. 3. **Explore the network sections:** Use these pages when you need more detail: 1. [MXEs](/multi-party-execution-environments-mxes/overview): computation handling, execution workflows, and security. 2. [Clusters](/clusters/overview): node grouping, keyshare distribution, and scalability. 3. [Arx nodes](/arx-nodes/overview): node management, security protocols, and incentives. 4. [Computations](/computations/computation-tasks): computation request structure, computation units, pricing, and fault handling. 4. **Start building:** Go to [Intro to Arcium](/developers) for the developer path, then follow installation and Hello World. As Arcium evolves, this documentation will be regularly updated with new features and network updates. For unanswered questions, reach out to the team on [Discord](https://discord.com/invite/arcium) or [X](https://x.com/arcium). # Network stakeholders Source: https://docs.arcium.com/getting-started/network-stakeholders Roles in the Arcium Network: Computation Customers, Arx Operators, Delegators, and Recovery Peers Four stakeholder roles commission computations, operate infrastructure, delegate stake, and recover MPC eXecution Environment (MXE) keys: * **Computation Customers:** Create [MXEs](/multi-party-execution-environments-mxes/overview), define computations, and pay execution charges. * **Arx Operators:** Run [Arx nodes](/arx-nodes/overview) that execute encrypted computations in Clusters. * **Third-Party Delegators:** Delegate stake to Arx nodes and receive a share of their rewards. * **Recovery Peers:** Support key recovery for a specific MXE and receive a separate stake-weighted reward share. ## Computation customers Computation Customers integrate Arcium into a Solana program and commission computations: * **Create an MPC eXecution Environment (MXE):** Bind the MXE to a Cluster and define how its Solana program uses computation results. * **Define computations:** Compile Arcis circuits and register their source and CU amount. * **Commission execution:** Provide inputs, callbacks, and an optional priority price. Higher priority improves queue position; applications handle expiry through their lifecycle logic. Persistent state used by the onchain integration lives in Solana accounts. The Arcium program coordinates computation accounts and callbacks, while encrypted execution occurs offchain. ## Arx operators **Arx Operators** run Arx nodes that execute computations with other members of a Cluster. Their responsibilities include: * **Register the Arx node:** Declare its identity and CU capacity. Stake requirements govern activation and Cluster eligibility. * **Stake and join a Cluster:** Meet the activation and Cluster-specific stake requirements, then accept an authority's invitation. * **Protect key material:** Secure the host and the MPC key shares stored by the Arx node. Customers evaluate hosting controls when selecting Cluster members. **Revenue streams:** 1. **Primary stake rewards:** The operator receives the portion attributed to its primary stake. 2. **Delegation fees:** The operator receives its configured percentage fee from delegated rewards. Primary and delegated stake also contribute to the Arx node's leader weight. ## Third-party delegators **Third-Party Delegators** contribute stake to an Arx node. They receive a pro-rata share of its rewards after the Node Operator's fee. Delegators choose operators using offchain information such as operating history and security practices. Program rewards follow stake, while reputation informs delegation decisions. ## Recovery peers **Recovery Peers** participate when an MXE authority initiates key recovery or migration. Each MXE has its own Recovery Peers, separate from the Cluster's Arx nodes. Recovery Peer stake is bound exclusively to the role: the same stake account cannot also back an Arx node. This binding is enforced onchain by the staking program. **Rewards:** When epoch settlement is current, 20% of the computation reward basis accrues to the MXE's Recovery Peer pot. Settlement records each peer's stake-weighted claim. During migration, Recovery Peers help transfer the MXE's key material to its destination Cluster. The MXE authority initiates migration when the application needs to change Clusters. # Overview of the Arcium Network Source: https://docs.arcium.com/index What Arcium is, how encrypted computation works, and key benefits for developers **Computation is broken**. Whoever processes data must access it, exposing it to attacks, exploits, and risky trust assumptions. Traditional cryptography encrypts data at rest and in transit, but data usually has to be exposed during computation. That makes sensitive workloads difficult to build on transparent systems such as public blockchains. Arcium provides **encrypted computation** through the blockchain. It uses Multi-Party Computation (MPC) so applications can compute over encrypted data while keeping inputs hidden from any single node. ## Choose your path <CardGroup> <Card title="Learn about Arcium" icon="book" href="/introduction/basic-concepts"> Understand MPC eXecution Environments (MXEs) and how encrypted computation works. </Card> <Card title="Start building" icon="code" href="/developers"> Set up your environment and write your first encrypted instruction. </Card> </CardGroup> ## Key benefits Arcium gives applications a way to add encryption without leaving the Solana ecosystem. * **Encrypted inputs and outputs:** Process sensitive data without exposing it to any single node. * **Onchain coordination:** Use Solana for orchestration, finalization, and application integration. * **Developer tooling:** Build encrypted instructions with Arcis, Anchor-compatible Solana programs, and the TypeScript client. Use cases include confidential DeFi, private AI inference, sealed-bid auctions, hidden-information games, and other applications where data must remain confidential during computation. # Basic concepts Source: https://docs.arcium.com/introduction/basic-concepts Core concepts: MPC, MXEs, Arx nodes, Clusters, and secret sharing On this page, we'll provide an overview of concepts core to Arcium, including: 1. **MPC eXecution Environments (MXEs):** Accounts that group a program, computation definitions, key material, and an execution Cluster. 2. **arxOS:** The encrypted, distributed operating system powering Arcium, which lets anyone run encrypted computations. It relies upon other concepts central to Arcium and covered below, including **Arx nodes** and **Clusters.** 3. **Arcis:** The Rust framework and compiler for writing encrypted computations. <Frame> <img alt="MXEs, arxOS and Arcis" /> </Frame> ### Understanding the encrypted supercomputer Arcium describes the network as an "encrypted supercomputer." Arx nodes act as processors, arxOS coordinates their offchain execution, [MXEs](/multi-party-execution-environments-mxes/overview) group application-specific computations, and Arcis provides the developer framework. ### Arcium and Arx nodes The Arcium Network consists of decentralized **Arx nodes** that perform computations on encrypted data. Derived from the Latin word "arx," meaning fortress, each Arx node represents a secure point in the network. However, the true power of Arx nodes comes from their collaboration within the decentralized network. * **Staking:** Arx nodes stake to activate, join Clusters, receive rewards, and participate in leader selection. ### Multi-party computation (MPC) Multi-Party Computation (MPC) is the cryptographic backbone of Arcium. It allows multiple parties to jointly compute functions while keeping their inputs private, preserving data confidentiality throughout the process. * **Secret Sharing** is a key cryptographic method within MPC, used to split data into fragments distributed across Arx nodes. No individual node has access to the full data. ### Trustless execution Cerberus distributes trust across the Cluster. Under the assumption that at least one participating Arx node is honest, it preserves privacy and aborts on detected protocol faults rather than producing a corrupted result. ### Clusters and MXEs (MPC eXecution Environments) **Clusters** are groups of Arx nodes that execute MPC tasks. An **MPC eXecution Environment (MXE)** binds application-specific computation definitions to one active Cluster. Its authority can explicitly migrate it to another Cluster through key recovery. ### Handle faults Cerberus uses a detect-and-abort model. A protocol fault can stop a computation, so applications handle failure, retry, queue expiry, and migration in their lifecycle logic. ### Epochs Timing in the Arcium Network is organized into fixed-duration **Epochs**, which serve as the framework for scheduling computations, distributing rewards, and managing token lock-ups. This consistent timing ensures the efficient and fair execution of tasks across the network. # Key features and use cases Source: https://docs.arcium.com/introduction/key-features-and-use-cases Key capabilities of Arcium's MPC technology and real-world application scenarios Arcium combines encrypted offchain execution with Solana-based coordination. ### Key features The current platform provides: 1. **Encrypted computation:** [MPC eXecution Environments (MXEs)](/multi-party-execution-environments-mxes/overview) run Arcis circuits without reconstructing private inputs on one Arx node. 2. **Detect-and-abort execution:** Cerberus aborts on detected protocol faults rather than producing a corrupted result under its stated trust assumption. 3. **Onchain coordination:** Solana programs manage Cluster configuration, computation queues, staking, charges, rewards, and callbacks. 4. **Developer toolchain:** Arcis, the Arcium CLI, Anchor macros, and TypeScript libraries support Solana application development. Callbacks authenticate the Cluster-signed outcome after the MPC protocol completes. Result integrity follows Cerberus's stated trust model. ### Use cases Potential applications include: 1. **Private DeFi:** Evaluate application logic over encrypted positions, amounts, or strategy inputs. 2. **Sealed-bid auctions:** Compare encrypted bids and reveal only the outcome selected by the application. 3. **Joint analytics:** Compute aggregate results across private datasets without giving one participant all raw inputs. 4. **Private inference:** Evaluate supported model circuits over encrypted inputs. 5. **Institutional workflows:** Process sensitive data across an agreed Cluster without sharing raw inputs with every participant. Practical privacy and performance depend on the circuit, callbacks, surrounding application, and Cluster operations. Teams assess regulatory requirements for the complete application and operating model. # MPC protocols Source: https://docs.arcium.com/multi-party-execution-environments-mxes/mpc-protocols How Cerberus executes encrypted computations and how MPC differs from FHE, TEEs, and ZKPs Multi-Party Computation (MPC) lets multiple participants compute a function without reconstructing the private inputs on one participant. Protocols differ in trust assumptions, fault behavior, communication cost, and supported operations. Arcium's current tooling supports **Cerberus**, a dishonest-majority, detect-and-abort protocol. Cerberus uses secret sharing and authenticated values. Under the assumption that at least one Cluster member is honest, it preserves privacy and aborts when it detects a protocol fault rather than returning a corrupted result. Cerberus uses preprocessing data generated before online execution. This shifts part of the cryptographic work out of the latency-sensitive execution path, but Arx nodes still need sufficient preprocessing material and availability to complete a computation. ## MPC vs. other encryption techniques MPC, fully homomorphic encryption (FHE), Trusted Execution Environments (TEEs), and zero-knowledge proofs (ZKPs) solve different problems. Choose based on the application's trust model and workload rather than treating one technique as universally superior. ### Fully homomorphic encryption (FHE) FHE lets a party evaluate supported functions over ciphertexts. It can reduce interaction during evaluation, but computation cost, key management, and supported operations depend on the scheme and workload. ### Trusted execution environments (TEEs) TEEs isolate computation in hardware-backed environments. They can provide high performance, but their security depends on hardware, firmware, attestation, and operational controls. MPC distributes trust across participants instead of relying on one enclave. ### Zero-knowledge proofs (ZKPs) ZKPs let a prover demonstrate that a statement is true without revealing its private witness. They provide public or designated verification, but do not by themselves let several parties jointly compute over private inputs. ### Secure multi-party computation (MPC) MPC is useful when several parties need to compute over private inputs without giving one party all inputs. It requires interaction among participants, so availability and network communication remain part of the system's liveness assumptions. For a simplified overview, read [ELI5: Multi-Party Computation](https://www.arcium.com/articles/eli5-mpc). # MXE encryption Source: https://docs.arcium.com/multi-party-execution-environments-mxes/mxe-encryption MXE-level encryption protocols, data isolation, and configurable security parameters Encryption of data in the Arcium Network is handled at the MPC eXecution Environment (MXE) level. The Arcium Network lets Computation Customers define encryp
프로젝트로 돌아가기