"매 신뢰 의 technical implementation". 매 central authority X — 매 distributed + 매 cryptographic verification. 매 currency 의 base. 매 smart contract → 매 programmable trust. 매 modern: 매 ZK rollup + AI provenance.
📖 핵심
매 핵심 mechanism
Decentralization: 매 single server X.
Immutability: 매 hash chain 의 변경 의 X.
Consensus: 매 누가 매 next block.
Cryptographic verification: 매 transaction 의 sign.
Transparency: 매 public ledger.
Consensus algorithm
Algorithm
매 사용
Proof of Work (PoW)
Bitcoin, 매 energy ↑
Proof of Stake (PoS)
Ethereum 2.0, 매 energy ↓
Delegated PoS (DPoS)
EOS, Tron
Proof of Authority (PoA)
private chain
BFT (PBFT, Tendermint)
Cosmos, Hyperledger
Avalanche
Avalanche L1
매 evolution
Bitcoin (2009): 매 digital currency.
Ethereum (2015): 매 smart contract.
L2 / Rollup (2021+): 매 scale.
ZK Rollup (2023+): 매 zero-knowledge.
Modular (2024+): 매 Celestia 등 의 specialization.
매 stack (Ethereum)
L1: Ethereum mainnet.
L2 Optimistic: Arbitrum, Optimism, Base.
L2 ZK: zkSync, StarkNet, Polygon zkEVM, Scroll.
L3: app-specific rollup.
Bridge: 매 cross-chain.
Oracle: Chainlink, Pyth.
매 EVM 대 alternative
EVM (Solidity): 매 dominant.
Solana (Rust + Sealevel): 매 high TPS.
Aptos / Sui (Move): 매 secure 모음.
Cosmos (Tendermint): 매 sovereignty.
Near: 매 sharded.
매 application
DeFi: lending, DEX (Uniswap), derivatives.
NFT: art, gaming, identity.
DAO: governance.
Stablecoin: USDC, USDT, DAI.
Gaming: 매 ownership.
Identity: 매 self-sovereign.
Provenance: 매 supply chain, art.
AI × Blockchain
Provenance: 매 training data 의 source.
Royalty: 매 contributor 의 보상.
Decentralized inference: 매 Bittensor.
Compute marketplace: 매 Render, Akash.
AI agent payment: 매 X402, 매 micropayment.
Verifiable inference (ZK-ML): 매 proof.
매 modern issue
Energy (PoW): 매 Bitcoin 의 GW-scale.
Scaling: 매 L1 의 limit.
UX: 매 wallet, 매 gas, 매 seed phrase.
Regulation: 매 SEC vs CFTC, 매 EU MiCA.
Hack: 매 매 year 의 Billion-scale theft.
Speculation: 매 utility ≠ 매 price.
매 ZK proof (modern)
zk-SNARK (Groth16, Plonk): 매 succinct.
zk-STARK: 매 transparent (no trusted setup), 매 post-quantum.
매 응용: 매 rollup, 매 privacy, 매 ML inference verify.
💻 패턴
Solidity (smart contract)
// SPDX-License-Identifier: MIT
pragma solidity^0.8.20;contractSimpleStorage{uint256privatevalue;addresspublicowner;eventValueChanged(uint256newValue,addressindexedsetter);constructor(){owner=msg.sender;}modifieronlyOwner(){require(msg.sender==owner,"Not owner");_;}functionset(uint256_value)externalonlyOwner{value=_value;emitValueChanged(_value,msg.sender);}functionget()externalviewreturns(uint256){returnvalue;}}
// 매 token holder 의 vote
constproposal={title:'Increase treasury allocation',choices:['For','Against','Abstain'],start: Date.now(),end: Date.now()+7*86400*1000,snapshot: latestBlock,network:'1',strategies:[{name:'erc20-balance-of',params:{address: tokenAddress,decimals: 18}},],};// 매 IPFS 의 post + 매 sign.
ZK-ML proof (verify inference)
# 매 EZKL 의 ONNX 의 ZK proof 로 변환importezklimporttorch# 매 model exporttorch.onnx.export(model,dummy_input,'model.onnx')# 매 setupezkl.gen_settings('model.onnx','settings.json')ezkl.compile_circuit('model.onnx','circuit.ezkl','settings.json')# 매 proveezkl.prove('input.json','circuit.ezkl','pk.key','proof.json')# 매 verify (on-chain or off-chain)ezkl.verify('proof.json','settings.json','vk.key')
→ 매 inference correctness 의 zero-knowledge.
Provenance (content authenticity)
contractContentProvenance{structRecord{stringcontentHash;// keccak256 of content
addresscreator;uint256timestamp;stringmetadataURI;// ipfs://...
}mapping(bytes32=>Record)publicrecords;functionregister(stringcalldatacontentHash,stringcalldatametadataURI)external{bytes32id=keccak256(abi.encodePacked(contentHash,msg.sender));records[id]=Record(contentHash,msg.sender,block.timestamp,metadataURI);}}
🤔 결정 기준
응용
Chain
DeFi (max liquidity)
Ethereum L1
Cheap UX
L2 (Base, Arbitrum)
High TPS
Solana
Privacy
zkSync, StarkNet, Aztec
Gaming
L2 / sidechain
Enterprise / consortium
Hyperledger / Polygon CDK
AI inference
Bittensor, EZKL
Stablecoin
Ethereum + L2
기본값: L2 (Base / Arbitrum) 의 entry. 매 use case 의 specific chain.
언제: 매 web3 system design. 매 smart contract review. 매 AI 의 provenance / royalty.
언제 X: 매 simple problem (centralized 의 enough). 매 high TPS + low latency 의 strict.
❌ 안티패턴
Centralized 의 force on blockchain: 매 cost ↑, 매 benefit X.