Kaia 백서

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

3DC06B73CF8Dede958FABBC9d62C31fA0926 0x819d4b7245164e6A94341F4b5C2ae587372BB669 GP-21 KPF 0xAb6ff701E1EF80253fdCa472D41160411077A6e0 0xf9710786D771F9a58088fb7F64c256F9e8684082 LINE NEXT Delegation 0xc8c5dd35e77b9e2dd7f4c2eb7f436d34d04a059b 0x8436e5BD1A6D622c278c946E2F8988a26136A16F Kaiabridge Bridge 0x5Ff2AD57C15f7Dacb5D098d1fC82DAF482884f99 0x4cE2b3dC804B35aC43F96B266B50Bc9fE69A97C2 Kaiabridge Operator 0xB390AaEf82Af9F8392Ed90768DABF91164c59619 0x8afe7C44C0293fd69baF444743e224Da1886760A Kaiabridge Judge 0x64c91d6517b8f2fd7f4157c32DE4acfe1AeA2611 0x3735Ba95cca5DEd47Fa5b202a2Bbda4c63c0B1DD Kaiabridge Guardian 0xE49D152E5FA576caFC18D2775AF4E58C135a6851 0xc9e8342C1da4c89A423258d9030414331b4761Cf KIP-163 PublicDelegationFactory 0x29C8cc53d22F79D4024ecB67DB1a09b37bCdE415 0x98c47c2cda854cbb025d47de72149a7ec238ec33 KIP-226 CLDEXFactory 0x93fa0E1deE99ac4158a617a6EC79cB941bD9a39F 0x666a9a72D2f708062a20e7Ca94f6dd5Ce6B33eA4 KIP-226 CLDEXRouter 0x5086273d9C8a79B7d2466aaCc52a6E43E22152A5 0x2871e95eaBFF0E71e4e4b706D7F1F3D24811673b KIP-226 StakingTrackerV2 0xF45c37c265f148894D6d9A4c066aFaAB00557c9c 0x9b015Ab5916EE53e52Ef60f31E978b4001908c43 Canonical WKAIA 0x19Aac5f612f524B754CA7e7c41cbFa2E981A4432 0x043c471bEe060e00A56CcD02c0Ca286808a5A436 KIP-249 AuctionDepositVault 0x0E66b62273Cc99BC519DD4dD0C0Cf689dd7b9876 0x2A168bCdeB9006eC6E71f44B7686c9a9863C1FBc KIP-249 AuctionFeeVault 0x303BB9c9FF4Aa656ac4c8e9f99F8E4C133FDa665 0xE4e7d880786c53b6EA6cfA848Eb3a05eE97b2aCC KIP-277 CnStakingV3MultiSigFactory 0x5565540D147f075524a4b32bf9d075B1C75b95E1 0xAfF533BA8C31B014374d1847b4c1E421Fa4934ae KIP-277 PublicDelegationFactory 0x95f628Ef81a0f1aa63E1b4D915aC665D2127bB93 0xda9027715c7A66530EDa4862d33493baA63aD839 KIP-277 ValidatorManager proxy 0xf276d44f5b00AE1134B2dC39ee3A2C16F627F716 logic 0xf9bccb0cc56a6c6236860aaf80dee8c3e52213e3 proxy 0x73862bfEFf98828EAe3a8DF799242c38Edc515a8 logic 0x3d402ae61f448877210209bf71adab920c87c644 ## /learn On this page Kaia is a highly optimized, BFT-based public blockchain designed to meet enterprise-grade reliability and performance standards. This overview details Kaia's architecture, features, and ecosystem. Key Design Goals ​ Kaia blockchain aims to: Achieve immediate finality for transactions. Provide high transaction processing speed for real-world use cases. Lower the cost of running blockchain applications. Reduce barriers to entry for end-users. Facilitate easy technology adoption for various industries. Core Specifications ​ Kaia blockchain offers: 1-second block generation and confirmation time. Processing capability of 4,000 transactions per second. Low gas price, approximately 1/10 of Ethereum. EVM (Ethereum Virtual Machine) compatibility, supporting Solidity contracts. Governance by reputable corporations worldwide forming Kaia Governance Council . Network Architecture ​ Kaia's network is structured into three logical subnetworks: Core Cell Network (CCN) : Consists of Core Cells (CCs) responsible for transaction verification, execution, and block creation. Endpoint Node Network (ENN) : Composed of Endpoint Nodes (ENs) that handle RPC API requests and process data for service chains. Service Chain Network (SCN) : Auxiliary blockchains independently operated by dApps, connected to the main chain via ENs. Node Types ​ Core Cell (CC) : Composed of one Consensus Node (CN) and two Proxy Nodes (PNs). Consensus Node (CN) : Participates in block generation. Proxy Node (PN) : Provides network interface, transmits transaction requests, and propagates blocks. Endpoint Node (EN) : Serves as network endpoints, handling API requests and data processing. Bootnode : Special nodes operated by Kaia to help new nodes join the network. Consensus Algorithm ​ Kaia uses an optimized version of Istanbul BFT, implementing Practical Byzantine Fault Tolerance (PBFT) with blockchain-specific modifications. The consensus process involves: Election of a committee ( proposer and validator ) using Verifiable Random Function (VRF). Block generation by the elected proposer. Block verification and signing by the committee. This consensus mechanism enables Kaia to achieve high performance, processing 4,000 transactions per second with instant transaction finality. Block Generation and Propagation ​ Blocks are generated in rounds, targeting a 1-second interval. Proposer and committee selection is random but deterministic. Blocks require signatures from more than two-thirds of committee members. Separate propagation channels for blocks and transactions (multichannel approach) manage network congestion. Kaia Virtual Machine (KVM) ​ The Kaia Virtual Machine (KVM) provides a robust environment for smart contract execution: Based on the Ethereum Virtual Machine (EVM). Supports all EVM opcodes and additional Kaia-specific precompiled contracts. Compatible with Solidity and Ethereum development tools (e.g. Remix, Hardhat, Foundry). Allows developers to port Ethereum smart contracts to Kaia with minimal modifications. Security Measures ​ Kaia implements several security measures: VRF for random selection of block proposers, adding unpredictability to the process. Separation of validator keys and reward keys to protect validators from potential key theft. Transparent block verification process, with all committee members verifying signatures on proposed blocks. Interoperability ​ Kaia is designed for seamless interaction with other blockchain networks: EVM-compatible , allowing easy deployment of Ethereum smart contracts. Designed to interoperate with other EVM-SDK based chains. Supports cross-platform transactions and smart contract execution. Token Economy ​ Kaia's native token, KAIA , plays a central role in the blockchain's economy: KAIA tokens are issued automatically with each new block. Initial annual inflation rate: 5.2%. Block rewards are distributed as follows: CCO and Community: 50% (20% Contribution rewards, 80% Staking rewards) KEF (Kaia Ecosystem Fund): 25% KIF (Kaia Infrastructure Fund): 25% This distribution model incentivizes network participation while supporting the growth and development of the Kaia ecosystem. Governance ​ Kaia implements an on-chain governance system designed to be fair and inclusive: Voting rights are proportional to the amount of KAIA tokens staked. A cap on voting rights prevents suppression of minority opinions. Delegation of voting power is allowed. All governance proposals are recorded on-chain, ensuring transparency. Auditability and Transparency ​ Kaia prioritizes transparency and auditability: All transactions provide an immutable and verifiable history of state changes. Two primary tools for blockchain exploration: Kaiascan : The official block explorer for Kaia, providing insights into blocks, transactions, addresses, tokens, and smart contracts. OKX Kaia Explorer : An alternative block explorer offering similar functionalities. The "Square" voting platform discloses all expenses and quarterly known transactions. Network Monitoring ​ To ensure optimal performance and reliability, Kaia implements: A multi-channel approach to manage network congestion. Dedicated network monitoring for all validators. Key Design Goals Core Specifications Network Architecture Node Types Consensus Algorithm Block Generation and Propagation Kaia Virtual Machine (KVM) Security Measures Interoperability Token Economy Governance Auditability and Transparency Network Monitoring ## /learn/why-kaia On this page Kaia Blockchain aims to become Asia's #1 blockchain, leading the adoption of Web3 by providing a robust infrastructure for projects of all sizes. This document explains how Kaia is different based on its key design principles and value propositions. Wide User Base ​ Web2 User Accessibility : Kaia provides easy access to existing Web2 users through messenger-integrated wallets, collaborating with Kakao (50 million Korean users) and LINE (200 million users in Japan, Taiwan, Indonesia, and Thailand). Web3 User Accessibility : Kaia offers more than 1.2 million active wallet addresses and interfaces connecting users to projects, facilitating quick attraction of Web3 users. Community Building Support : Joint marketing with Kaia Foundation helps users gather and build projects, providing an environment with easy access for users from various chains. Abundant Liquidity Support ​ Real World Asset (RWA) Linkage : Kaia Blockchain hosts various real-world assets like gold, ships, and real estate. Future plans include on-chaining fiat-backed stablecoins and bonds, expanding the range of assets available to developers. Large-Scale Ecosystem Fund : The Kaia Ecosystem Fund, based on KAIA tokens, supports various sectors requiring liquidity, such as DeFi and GameFi. Chain Native Yield : Built-in MEV (Maximal Extractable Value) extraction allows KAIA Stakers to automatically earn MEV profits, increasing chain liquidity and providing a token burning mechanism. Top-Level Core Technology and Development Convenience ​ High Performance : Main chain handles at least 4,000 TPS with immediate transaction finality and one-second block generation time. Scalability through customizable and easily deployable Service Chains as L2 solutions. Ethereum Compatibility : 100% compatibility ensures EVM-based dApps can be onboarded without modifications. Development tools, EVM, and APIs are equivalent to Ethereum, allowing seamless integration and mutual benefit to both ecosystems. See Solidity-Smart Contract Language , and Migrating Ethereum App to Kaia . Convenient Account Model : Enables assigning various keys to accounts, strengthening security and improving user experience. Permissionless and Decentralized Structure : Kaia is transitioning to a permissionless validator structure, increasing network decentralization. Low Cost and Enhanced User Experience ​ Affordable Transaction Fees : End-users are not burdened with high transaction fees. Costs are stable and determined by transaction complexity. See Affordable Smart Contract Execution Cost and Transaction Fees . Fee Delegation : Applications can cover users' transaction fees, allowing for flexible business models and lowering user acquisition barriers. Open-Source Infrastructure and Ecosystem Support ​ Primary Infrastructure : Includes SDKs, smart contract libraries, wallets, chain explorers, distributed storage solutions, Oracle support, and bridges. Secondary Infrastructure : Ecosystem for supporting products and services, including integration services, stablecoin integrations, DAOs, NFT marketplaces, DEX, DeFi, and traditional finance interfaces. Ecosystem Fund : 50% of newly minted tokens are reinvested in the ecosystem through Kaia Ecosystem Fund and Kaia Infrastructure Fund . Community Co-Building and Governance ​ Diverse Community Engagement : Kaia expands its ecosystem through collaboration with game guilds, investment DAOs, community DAOs, and global alliances. Decentralized Governance : The Kaia Governance Council (GC) includes traditional enterprises, DAOs, and builders, creating a unique governance structure with hundreds of participants. In summary, Kaia maintains blockchain's core characteristics of transparency, security, and decentralization while providing these enhancements. The protocol remains stable with strongly committed stakeholders, creating an ideal environment for builders to bring innovative Web3 ideas to life. Wide User Base Abundant Liquidity Support Top-Level Core Technology and Development Convenience Low Cost and Enhanced User Experience Open-Source Infrastructure and Ecosystem Support Community Co-Building and Governance ## /learn/accounts On this page Kaia Accounts ​ Overview of Account, State, and Address ​ An account in Kaia is a data structure containing information about a person's balance or a smart contract. Kaia's state is the collection of all its accounts' states - that is, the past and current state of all data stored across Kaia's accounts. When a transaction is executed on a Kaia node, the state of Kaia consequently changes across all its nodes. The state should be the same across all nodes in the Kaia network if they have processed the same blocks in the same order. State information of each account is associated with a 20-byte address, which is used to identify each account. Decoupling Key Pairs From Addresses ​ An account in a typical blockchain platform is associated with a cryptographically processed address of a certain length that usually looks like this: "0x0fe2e20716753082222b52e753854f40afddffd2". This address is strongly coupled with a key pair. If a key pair is chosen, the address is derived from the public key. This has many disadvantages in terms of user experience. Some of them are the following: It is impossible for users to have addresses they want. It is impossible for users to use multiple key pairs to increase security of their accounts. It is impossible for users to change the account's key pair when the private key is accidentally exposed or when users want to update the private key periodically to increase the account's security. Those are big hurdles that users cannot think of an address as an identifier in the blockchain platform. To clear this hurdle, Kaia provides a feature that users can choose their addresses and key pairs. With this feature, users can choose addresses that they want and they can use multiple key pairs to increase security. The number of key pairs can be one or more, and the key pairs can have different roles. For details of multiple key pairs or role-based keys, please refer to Multiple Key Pairs & Role-Based Keys . It is worth noting that Kaia also supports the old scheme that a key pair and an address are strongly coupled. Multiple Key Pairs and Role-Based Keys ​ As described before, when the private key is stolen, exposed, or somehow compromised, there is nothing to do to restore the account’s security: the best option is to generate another key pair to create a new account, and migrate the balance from the old compromised account to the new one. Lack of support for advanced key schemes such as multi-sig or usage-specific key is yet another source of major inconvenience. To address those problems more efficiently, Kaia accounts provide the following capabilities: Kaia account allows the key pair associated with the account to be changed. Kaia account supports multiple key pairs, along with the ability to assign each key with different purpose. Kaia account maintains compatibility with accounts having a single key that is strongly coupled with the address. By utilizing Kaia account’s role-based multi-key support, end-users can better handle real-life security risk situations such as private key mismanagement. For example, when a user realizes that his or her private key has been exposed, the user can simply replace the compromised private key by removing the exposed key pair from his or her account and creating a new key pair to replace them. This could be achieved by using a dedicated key used for updating account information, created in advance and stored separately from the compromised private key. Kaia Wallet Key Format ​ Kaia wallet key format is provided to easily handle a private key along with the corresponding address. It makes easier for a user to maintain his/her private key with an address. The format is 0x{private key}0x{type}0x{address in hex} in hexadecimal notation, where {type} must be 00 . Other values are reserved. An example is shown below: 0x45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d80x000xa94f5374fce5edbc8e2a8697c15331677e6ebf0b Kaia Account Types ​ There are two types of accounts in Kaia: externally owned accounts (EOAs), and smart contract accounts (SCAs). Externally Owned Accounts (EOAs) ​ Externally owned accounts have information such as nonce and balance. This type of accounts does not have code or storage. EOAs are controlled by private keys and do not have code associated with them. An EOA can be created using key pairs and subsequently controlled by anyone with the key pairs. The account key is described in the section Account Key . Attributes Attribute Type Description type uint8 (Go) The type of externally owned accounts. It must be 0x1 for EOAs. nonce uint64 (Go) A sequence number used to determine the order of transactions. The transaction to be processed next has the same nonce with this value. balance *big.Int (Go) The amount of KAIA the account has. humanReadable bool (Go) A boolean value indicating that the account is associated with a human-readable address. Since HRA (human-readable address) is not supported yet, this value is false for all accounts. key AccountKey The key associated with this account. This field can be any of AccountKeyLegacy , AccountKeyPublic , AccountKeyFail , AccountKeyWeightedMultisig , AccountKeyRoleBased . Signatures in transactions are verified with this key. Smart Contract Accounts (SCAs) ​ In contrast to EOAs, SCAs have code associated with them and are controlled by their code. SCAs are created by smart contract deployment transactions; once deployed, an SCA cannot initiate new transactions by itself and must be triggered by another account, either by an EOA or another SCA. Attributes Attribute Type Description type uint8 (Go) The type of smart contract accounts. It must be 0x2 for SCAs. nonce uint64 (Go) A sequence number used to determine the order of transactions. The transaction to be processed next has the same nonce with this value. balance *big.Int (Go) The amount of KAIA the account has. humanReadable bool (Go) A boolean value indicating that the account is associated with a human-readable address. Since HRA (human-readable address) is not supported yet, this value is false for all accounts. key AccountKey The key associated with this account. This field can be any of AccountKeyLegacy , AccountKeyPublic , AccountKeyFail , AccountKeyWeightedMultisig , AccountKeyRoleBased . Signatures in transactions are verified with this key. codeHash []byte (Go) The hash of the account's smart contract code. This value is immutable, which means it is set only when the smart contract is created. storageRoot [32]byte (Go) A 256-bit hash of the root of the Merkle Patricia Trie that contains the values of all the storage variables in the account. codeFormat uint8 (Go) Supporting interpreter version. Up to 16 can be set. Currently, it supports EVM(0x00) only. vmVersion uint8 (Go) The protocol upgrade (hard fork) information at contract deployment time (ex. 0x0(constantinople), 0x1(istanbul,london,...)). Up to 16 can be used. It is automatically created with the contract. note NOTE: From kaia v1.7.0 onwards, vmVersion attribute will be added to the Smart Contract Account. Kaia Account Type ID ​ Below are the Account Type ID assigned to each Account Type. Account Type Account Type ID Externally Owned Account (EOA) 0x1 Smart Contract Account (SCA) 0x2 Account Key ​ An account key represents the key structure associated with an account. AccountKeyNil ​ AccountKeyNil represents an empty key. If an account tries to have an AccountKeyNil object, the transaction will be failed. AccountKeyNil is used only for TxTypeAccountUpdate transactions with role-based keys. For example, if an account tries to update RoleAccountUpdate key only, the key field of the TxTypeAccountUpdate transaction would be: [AccountKeyNil, NewKey, AccountKeyNil] Then, only the RoleAccountUpdate key is updated. Other roles are not updated. Refer to the AccountKeyRoleBased for more detail. Attributes ​ No attributes for AccountKeyNil. RLP Encoding ​ 0x80 AccountKeyLegacy ​ AccountKeyLegacy is used for the account having an address derived from the corresponding key pair. If an account has AccountKeyLegacy, the transaction validation process is done
프로젝트로 돌아가기