bitpro가 원문에서 글자만 모은 내용이에요. 표·그림·수식은 빠지거나 깨질 수 있어요. 전체 11쪽 중 7쪽
by default — consider restricting access in production.
</Warning>
## Common Operations
```bash theme={null}
cd {network}/docker-compose
docker compose up -d # Start
docker compose -f monitoring.yml up -d # Start monitoring
docker compose logs -f # Logs
docker compose down # Stop
docker compose -f monitoring.yml down # Stop monitoring
docker compose down -v && docker compose up -d # Clean restart
```
## Monitoring Your Node
Once your node is operational, you can monitor its health and synchronisation status. For comprehensive monitoring setup and best practices, see the [monitoring guide](../maintenance/monitoring).
<Tabs>
<Tab title="Status Checks">
```bash theme={null}
# Check container status
docker compose ps
# View execution client logs
docker compose logs -f plasma-execution
# View consensus observer client logs
docker compose logs -f plasma-consensus
```
</Tab>
<Tab title="Sync Status">
```bash theme={null}
# Check execution client sync status
curl -s -X POST -H "Content-Type: application/json" \
--data '{"jsonrpc":"2.0","method":"eth_syncing","params":[],"id":1}' \
http://localhost:8545
```
</Tab>
<Tab title="Endpoints">
| Endpoint | URL |
| ------------- | ------------------------------- |
| Execution RPC | `http://localhost:8545` |
| Consensus API | `http://localhost:35070` |
| Metrics | `http://localhost:9001/metrics` |
</Tab>
</Tabs>
Your node will begin synchronising immediately. Initial sync may take several minutes depending on network conditions and your hardware specifications.
## Database Snapshots
Plasma publishes daily database snapshots for **mainnet** and **testnet**. Snapshots let you bootstrap a new node in hours instead of syncing from genesis, which can take significantly longer.
Each snapshot contains two files — the consensus-layer database and the execution-layer database — uploaded to a requester-pays S3 bucket. You need an AWS account; standard S3 data-transfer rates apply.
### Snapshot Prerequisites
| Requirement | Details |
| ----------- | ------------------------------------------------------------------- |
| AWS account | Credentials configured via `aws configure` or environment variables |
| AWS CLI | v2 recommended (`aws --version`) |
| Disk space | **Mainnet:** \~400 GB free • **Testnet:** \~100 GB free |
<Info>
Data transfer out from `us-east-2` is \~\$0.09/GB for the first 10 TB/month. Transferring from an EC2 instance **in the same region** is free — running your node in `us-east-2` is the most cost-effective option.
</Info>
### Snapshot Buckets
| Property | Mainnet | Testnet |
| ------------------ | --------------------------------------------- | --------------------------- |
| **Bucket** | `plasma-mainnet-db-backups` | `plasma-testnet-db-backups` |
| **Region** | `us-east-2` (Ohio) | `us-east-2` (Ohio) |
| **Access model** | Requester-pays | Requester-pays |
| **Backup cadence** | Daily | Daily at 02:00 UTC |
| **Retention** | Rolling (older backups removed automatically) | 3 days |
Backups are organized into date-stamped folders (`MM-DD-YY`). Each folder contains two files:
| File | Description |
| ------------------------------------------------------------ | --------------------------------------------------- |
| **Consensus database** (`.db` on mainnet, `.mdb` on testnet) | Full consensus-layer state |
| **Execution database** (`.tar.gz`) | Tar archive of the Reth execution `data/` directory |
### Download a Snapshot
```bash theme={null}
# Set your target network's bucket
BUCKET="plasma-mainnet-db-backups" # or "plasma-testnet-db-backups"
# List available snapshots
aws s3 ls "s3://${BUCKET}/" \
--region us-east-2 \
--request-payer requester
# Download the most recent snapshot
DATE="MM-DD-YY" # replace with the latest date folder (e.g. 03-23-26)
aws s3 cp \
"s3://${BUCKET}/${DATE}/" \
./backups/ \
--recursive \
--region us-east-2 \
--request-payer requester
```
### Restore from Snapshot
<Steps>
<Step title="Stop your node">
```bash theme={null}
cd {network}/docker-compose
docker compose down
```
</Step>
<Step title="Restore the consensus database">
Copy the snapshot into the consensus data directory:
```bash theme={null}
# Mainnet (.db)
cp backups/consensus-backup-*.db /path/to/plasma-data-dir/
# Testnet (.mdb)
cp backups/consensus-backup-*.mdb /path/to/plasma-data-dir/
```
</Step>
<Step title="Restore the execution database">
Extract the archive into the execution data directory:
```bash theme={null}
tar -xzf backups/execution-backup-*.tar.gz -C /path/to/execution-data-dir/
```
</Step>
<Step title="Restart your node">
```bash theme={null}
docker compose up -d
```
</Step>
</Steps>
### Snapshot Troubleshooting
| Issue | Cause / Fix |
| -------------------- | ------------------------------------------------------------------------------------------------------------------------------ |
| `Access Denied` | You must include `--request-payer requester` on every command. The bucket rejects requests without it. |
| `403 Forbidden` | AWS credentials not configured. Run `aws sts get-caller-identity` to verify you have a valid session. |
| Empty bucket listing | Older backups are automatically cleaned up. If the bucket appears empty, a backup cycle may be in progress — check back later. |
| Wrong file extension | Mainnet uses `.db`; testnet uses `.mdb`. Ensure you copy the correct file for your network. |
# Operator Onboarding
Source: https://docs.plasma.org/docs/node-operators/setup-and-configuration/operator-onboarding
Get started running Plasma non-validator nodes
Running a non-validator node on Plasma is permissionless. You can deploy on mainnet, testnet, or devnet using the public [non-validator-templates](https://github.com/PlasmaLaboratories/non-validator-templates) repository.
<Card title="Get started" icon="rocket" href="./non-validator-node-setup">
Follow the Non-Validator Node Setup guide to deploy your node.
</Card>
## Alternative Options
If you're not ready to operate your own nodes or prefer different approaches:
### RPC Providers
Use managed infrastructure with no setup required:
<CardGroup>
<Card title="QuickNode" icon="bolt" href="https://www.quicknode.com/">
Enterprise-grade RPC endpoints with global reach.
</Card>
<Card title="Tenderly" icon="chart-line" href="https://tenderly.co/">
Developer tooling and observability for EVM chains.
</Card>
</CardGroup>
### Public RPC
A rate-limited public RPC endpoint is available for development and testing:
| Network | Endpoint |
| :------ | :------------------------------ |
| Mainnet | `https://rpc.plasma.to` |
| Testnet | `https://testnet-rpc.plasma.to` |
<Warning>
Rate limits apply. Public RPC endpoints are not suitable for production use.
</Warning>
## Future Opportunities
More ways to participate will become available as the network matures, including third-party consensus nodes post-mainnet launch and stake delegation to professional validators.
# Overview
Source: https://docs.plasma.org/docs/node-operators/setup-and-configuration/overview
Understanding Plasma's modular node architecture and operator roles
## TL;DR
Plasma separates **validator nodes** (which propose and finalize blocks) from **non-validator nodes** (which serve RPCs and follow the chain without affecting consensus). This allows Plasma to keep the validator set small and secure, let RPC providers scale independently, and avoid adding consensus or networking risk.
## High-Level Architecture
| **Layer** | **Role** | **Trust Model** |
| :------------------- | :--------------------------------------------- | :------------------------- |
| Consensus Layer (CL) | Propose and finalize blocks | PlasmaBFT |
| Execution Layer (EL) | Process transactions, manage state, serve RPCs | Fully trusts its paired CL |
Each validator runs one consensus node and one execution node, connected directly. Except for its partners, nodes don't communicate outside their layer peers (CL-to-CL, EL-to-EL). This separation keeps the system predictable, secure, and easy to reason about.
### The Scaling Challenge
As usage increases, more apps and users need RPC access to query chain data or send transactions. But if each new execution node *must* be paired with a new consensus node, scaling becomes inefficient and risks bloating the validator set.
Letting RPC providers run additional validators just to meet read demand isn't practical or aligned with Plasma's performance goals.
### The Solution: Non-Validator Nodes
Non-validator nodes behave like consensus nodes but don't participate in consensus. Instead, they 'follow' a trusted validator for finalized blocks and fork-choice updates.
Key behaviors:
* They **subscribe** to a validator's consensus node to stay in sync.
* They **expose** the same fork-choice view that a real validator would.
* They **only read**, so they don't add load or introduce security risks.
To applications, a non-validator node looks exactly like a full node: it can respond to RPC requests and reflect the current state but it cannot propose blocks or vote.
### Benefits of This Design
| **Goal** | **How Non-Validator Nodes Help** |
| :----------------------------- | :--------------------------------------------------------------------------------------------------------------------------------------- |
| Keep validator set lean | Non-validator nodes don't vote; only validators do. |
| Unlimited horizontal scale | RPC providers can spin up hundreds of read/write RPC nodes, each with its own non-validator node, without requiring new validator seats. |
| Maintain consensus correctness | Each execution node still follows exactly one CL. There's no risk of state divergence. |
| Reduce risk | Non-validator nodes are read-only and can't affect consensus messages. |
| Simplify failover | By following multiple validators, if one goes offline, they can switch to a new one automatically. |
### Summary Comparison
| Feature | Validators | Non-Validator Nodes |
| :---------------------- | :----------------------------- | :--------------------- |
| Consensus Participation | Full (propose, vote, finalize) | None (receive only) |
| Message Types | All consensus messages | Block messages only |
| Network Role | Active participant | Passive follower |
| Resource Requirements | Higher (full consensus) | Lower (messaging only) |
## Progressive Decentralization
Plasma is following a [progressive decentralization model](https://a16zcrypto.com/posts/article/progressive-decentralization-crypto-product-management/). Rather than opening the validator set from day one, the initial focus is on stability, performance, and developer usability. This approach prioritizes network reliability while core protocol components are still evolving.
Decentralization remains a long-term objective, but it will be phased in gradually. The validator set will expand through three stages:
<Steps>
<Step title="Centralized Operation">
During testnet, all consensus nodes are operated by the Plasma team to enable rapid iteration and minimize operational risk.
</Step>
<Step title="Trusted Validator Set">
After mainnet launch, a small group of external validators will join, selected for reliability, operational readiness, and geographic distribution.
</Step>
<Step title="Permissionless Participation">
Over time, validator access will open to the public, supported by protocol-level safeguards for safety, liveness, and economic alignment.
</Step>
</Steps>
This staged rollout balances decentralization with network integrity. It allows the protocol to harden before handing over critical infrastructure responsibilities to a broader validator set.
## Peer Discovery
Plasma nodes discover and connect to peers through two independent mechanisms — one for each layer of the stack.
### Execution Layer (Reth)
The execution client uses Ethereum's standard [devp2p](https://github.com/ethereum/devp2p) protocol for peer discovery. On startup, your Reth node connects to a set of trusted execution peers defined in `enodes.txt`. These are [enode URLs](https://ethereum.org/en/developers/docs/networking-layer/#enode) that encode each peer's public key, IP address, and port.
Each network's `enodes.txt` is pre-configured in the [non-validator-templates](https://github.com/PlasmaLaboratories/non-validator-templates) repository. After connecting to the initial set, Reth's built-in discovery protocol (discv4/discv5) finds additional peers automatically.
The execution P2P layer operates on port `30303` (TCP/UDP).
### Consensus Layer (PlasmaBFT)
The consensus observer client discovers peers through bootstrap nodes defined in `non-validator.toml`. Each bootstrap node entry includes an API host, P2P port, and a [libp2p peer ID](https://docs.libp2p.io/concepts/fundamentals/peers/):
```toml theme={null}
[network.bootstrap_nodes.0]
api_host = "plasma-mainnet-observer-cs-1.plasmalabs.tech"
p2p_port = 34070
peer_id = "16Uiu2HAm4WdZmik6PVsRvcbCzc1eHuNfQHgj52CxUAjmdC7W5dXi"
```
Each network ships with 3 bootstrap nodes. Your observer client connects to these on startup and, with peer discovery enabled (`discovery.enabled = true`), automatically finds additional peers on the network.
The consensus P2P layer operates on port `34070` (TCP).
### Nodes Behind NAT
If your node is behind a NAT gateway or firewall, other peers may not be able to reach it using its internal address. You can configure an external address so that peers can discover and connect to your node:
<CodeGroup>
```toml non-validator.toml theme={null}
[network]
external_address = "node.example.com:34070"
```
```bash CLI theme={null}
--p2p.external-address node.example.com:34070
```
</CodeGroup>
If the port is omitted, it defaults to the value of `p2p_port`. Make sure the external address is reachable and that the relevant ports are forwarded through your firewall.
### Summary
| Layer | Protocol | Port | Discovery Method |
| :-------- | :------- | :------ | :---------------------------------------- |
| Execution | devp2p | `30303` | Trusted enodes + automatic discovery |
| Consensus | libp2p | `34070` | Bootstrap nodes from `non-validator.toml` |
For port and firewall details, see the [Non-Validator Node Setup](./non-validator-node-setup#port-configuration) guide.
## Quickstart
<CardGroup>
<Card title="Node Types" icon="chart-network" href="/docs/node-operators/setup-and-configuration/node-types">
Understand validator, non-validator, and RPC provider roles
</Card>
<Card title="Non-Validator Node Setup" icon="gears" href="../setup-and-configuration/non-validator-node-setup">
Deploy your node with Docker Compose
</Card>
<Card title="Hardware Requirements" icon="microchip" href="/docs/node-operators/setup-and-configuration/hardware-requirements">
Minimum and recommended specs for your node
</Card>
<Card title="Operator Onboarding" icon="rocket" href="../setup-and-configuration/operator-onboarding">
Get started with permissionless node operation
</Card>
</CardGroup>
# Core Concepts
Source: https://docs.plasma.org/docs/payments/learn/core-concepts
## The Value Propositions of Stablecoins
Stablecoins offer four key value propositions:
1. **Permissionless**: Anyone, anywhere can access stablecoins (and therefore digital dollars), without intermediaries and middlemen like banks.
2. **Programmable**: Each stablecoin is a smart contract, unlocking programmability for money. Developers can program conditions into how money moves with stablecoins.
3. **Cheap**: Money can move globally between wallets at an extremely low cost through stablecoins and blockchain technology.
4. **Fast**: Global money movement with stablecoins can be settled substantially faster than traditional, legacy payment rails.
## The Role of Stablecoins in Payments
With these value propositions, stablecoins offer four key use cases for payment applications:
1. **Save**: Stablecoins allow people and businesses from all over the world to access a reliable store of value.
2. **Spend**: Stablecoins can be spent with certain merchants as a new form of money.
3. **Send**: Stablecoins can be sent across borders, to any business or person, everywhere.
4. **Earn**: Stablecoins offer permissionless access to interest and yield-bearing opportunities.
## Why Plasma for Payments
<AccordionGroup>
<Accordion title="Purpose Built for Stablecoin Payments">
Most blockchains weren’t built with stablecoins in mind. Plasma is. It's a purpose built Layer 1 blockchain for stablecoin payments. Unlike legacy, general-purpose blockchains that cater for a wide variety of onchain applications, Plasma is designed from the ground up for high volume, low cost payments and delivers the scale, speed, and reliability stablecoins demand.
</Accordion>
<Accordion title="Native USD₮ Support">
USD₮ sits at the heart of Plasma. This is achieved through free transfers for USD₮ and the stablecoin being a whitelisted gas token. As a result, stablecoin payments with USD₮ on Plasma enable an abstracted experience for people and businesses globally.
</Accordion>
<Accordion title="Low Fees and Near-Instant Finality">
Stablecoin payment transfers on Plasma are extremely cheap. The network features high transaction-per-second (TPS) throughput and near-instant finality. Custom gas tokens, paying transaction fees in stablecoins, are on the Core Protocol roadmap.
</Accordion>
<Accordion title="Simple User Onboarding">
Plasma’s vertically integrated payment stack enables simple, efficient user onboarding. People and businesses can seamlessly create wallets and access stablecoins on Plasma in a variety of ways, including WhatsApp, Google, AppleID and other popular social logins.
</Accordion>
<Accordion title="Integrated Stablecoin Infrastructure">
Plasma provides robust infrastructure and tooling for developers and merchants to integrate stablecoin payments into their applications. From APIs and SDKs to point-of-sale modules and webhooks, the network supports seamless integration for a wide range of use cases. This enables businesses to build payment flows, accept USD₮ at checkout, automate payouts, and embed stablecoin functionality with minimal overhead.
</Accordion>
<Accordion title="Liquidity">
Plasma launched as one of the most liquid stablecoin networks globally, with \$2B in USD₮ active on the network from day one. Builders deploy on a network where deep liquidity is available from the start.
</Accordion>
</AccordionGroup>
# Introduction
Source: https://docs.plasma.org/docs/payments/learn/introduction
Understand the stablecoin payment stack and how Plasma is built to optimize the developer experience.
<img alt="Payment #1.png" />
## The Role of Stablecoins in Payments
Payments have long been constrained by fundamental restrictions that emerge from legacy rails and disjointed banking systems. Moving money globally is expensive, slow, and in many cases, off limits for people in emerging regions.
Stablecoins solve this. Stablecoin-based payments are simultaneously better, cheaper and faster when compared to existing payment rails. In addition, stablecoins are permissionless, meaning that anyone, anywhere, regardless of financial status, can use these digital dollars to move money across borders.
### USD₮’s Role in Stablecoin Payments
USD₮ is the first and most widely adopted stablecoin. It is the foundational asset of the stablecoin economy with over [64% market share](https://app.rwa.xyz/stablecoins). It has been central to the growth of digital dollar usage across both retail and institutional markets.
Today, individuals and businesses in over 100 countries use USD₮ to store value, make payments, and settle cross-border transfers. This has created deep global liquidity between USD₮ and local currencies, enabling fast and accessible conversions between stablecoins and cash.
As the most liquid and widely accepted digital dollar, USD₮ anchors the s프로젝트로 돌아가기