Lisk 백서

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

On this page Lisk provides a cost-efficient, fast, and scalable Layer 2 (L2) network based on Optimism (OP) that is secured by Ethereum. Built on the MIT-licensed OP Stack and partnered with Gelato as a RaaS provider, Lisk contributes to scaling Ethereum to a level where blockchain infrastructure is ready for mass adoption. With Optimism's Superchain initiative, Lisk is participating in building the future it always believed in, which is to develop an interoperable, seamless base layer that provides a great user experience, shared liquidity, and cheap transactions to ensure that web3 revolutionizes peoples' lives just as web2 did. Lisk is part of Optimism's Superchain initiative, and it will be scaled and built by the experienced Lisk team in collaboration with Optimism. By being part of the Superchain, Lisk offers a network of chains that share bridging, decentralized governance, regular upgrades, a communication layer, and more—all built on the OP Stack while being secured by Ethereum. We operate a highly reliable EVM-equivalent blockchain compatible with the most widely used tooling in the blockchain space thereby creating a great platform for developers. For more information, check the Lisk Tools section on the left. Getting started guides ​ Connecting Lisk to a wallet How to import LSK to a wallet Deploying a smart contract Interacting with the blockchain Features ​ Ultra-Fast, Near-Zero Fees : Built on a high-throughput network, Lisk Chain features a 2-second block time and median network fees that are consistently under $0.01 to ensure performance meets affordability. Built for high-growth markets : Lisk provides real-world use with local stablecoins, fiat on-ramps, and integrations that unlock mainstream adoption of Web3 applications. EVM Equivalence : Deploy your Solidity and Vyper contracts instantly. Lisk’s EVM compatibility means you can leverage existing code, favorite tools like Hardhat and Foundry, and the vast ecosystem of audited smart contracts to cut development time dramatically. Built on the OP-Stack : Lisk leverages the OP Stack , the industry-leading open-source standard. This foundation ensures your app is future-proof, highly secure, and seamlessly integrated into a continuously innovating blockchain ecosystem. Decentralized governance : LSK token holders can contribute to the governance of the Lisk project via the Lisk DAO by delegating their voting power or voting directly on proposals that decide how funds are distributed in the ecosystem, in order to create the most impact. How secure is Lisk? ​ Lisk's Mainnet keeps it in sync with the Ethereum L1 after regular intervals to ensure the security and validity of its network. For more information, see Optimism's rollup protocol and its Fault Proof section. This means that apart from the measures taken to secure the Superchain and Lisk's Mainnet, the L1 security of Ethereum is also available to users interacting with Lisk L2. For more information, check out the Lisk Governance overview . Connection to Ethereum ​ Any L2 based on OP Stack is designed so that users can send arbitrary messages between smart contracts on L2 (Lisk Mainnet, Lisk Sepolia, etc.) and the underlying L1 (Ethereum Mainnet, Sepolia, etc.). This makes it possible to transfer ETH or tokens such as ERC20, ERC721 tokens, etc. between the two networks. For more information on the tokens available on Lisk see Optimism Tokens . info Lisk is an OP stack chain and is designed to be EVM equivalent . However, there are a few differences between Ethereum and OP stack chains , which developers should be aware of. Getting started guides Features How secure is Lisk? Connection to Ethereum ## /category/guides 📄️ Introduction to Web3 app development An introduction into Web3 application development on Lisk. 📄️ Connecting Lisk to a wallet How to integrate Lisk with popular wallets like MetaMask. 📄️ Importing LSK to MetaMask How to integrate Lisk with popular wallets like MetaMask. 🗃️ Deploying a Smart Contract 4 items 🗃️ Interacting with the blockchain 3 items 🗃️ Bridging an L1 token to Lisk 3 items 🗃️ Token development 4 items 🗃️ Using oracle data 2 items 📄️ Running a Lisk Node A tutorial that teaches how to set up and run a Lisk Node. ## /category/lisk-l1 📄️ Legacy Chain Service How to access data from the Lisk L1 legacy chain. 📄️ Lisk L1->L2 migration guide A migration guide, explaining how to smoothly migrate any Lisk L1 app to Lisk L2. 📄️ How to claim LSK How to claim LSK tokens on Lisk L2. ## /lisk-chain/about-lisk/network-info On this page A reference page containing information about all the networks supported by Lisk L2, the explorers where one can see all the blockchain data, and the faucets to seed testnet accounts. Network information ​ The Lisk L2 is available on the following network: Lisk Mainnet ​ Name Value Network Name Lisk HTTP RPC Endpoint https://rpc.api.lisk.com WS RPC Endpoint wss://ws.api.lisk.com Chain ID 1135 Currency Symbol ETH Block Explorer https://blockscout.lisk.com Block Explorer API https://blockscout.lisk.com/api Lisk Bridge https://bridge.lisk.com Lisk Sepolia Testnet ​ Name Value Network Name Lisk Sepolia Testnet HTTP RPC Endpoint https://rpc.sepolia-api.lisk.com WS RPC Endpoint wss://ws.sepolia-api.lisk.com Chain ID 4202 Currency Symbol ETH Block Explorer https://sepolia-blockscout.lisk.com Block Explorer API https://sepolia-blockscout.lisk.com/api Lisk Testnet Bridge https://sepolia-bridge.lisk.com Lisk Testnet Faucet (Grants LSK) https://sepolia-faucet.lisk.com/ Superchain Testnet Faucet (Grants ETH ) https://console.optimism.io/faucet Network information Lisk Mainnet Lisk Sepolia Testnet ## /lisk-chain/about-lisk/fees On this page Fees on Lisk Mainnet are, for the most part, significantly lower than on the L1 Ethereum network. The low transaction fees can be provided because Lisk is a Layer 2 optimistic rollup network. Gas tracker ​ To track the current and past gas fees on Lisk, check the gas tracker for the respective network on Blockscout: Lisk Mainnet: https://blockscout.lisk.com/gas-tracker Lisk Sepolia Testnet: https://sepolia-blockscout.lisk.com/gas-tracker How are fees on Lisk calculated? ​ Every Lisk Mainnet transaction has two costs: An L2 execution fee and an L1 data fee . At a high level, the L2 fee is the cost to execute your transaction on L2 and the L1 fee is the estimated cost to publish your transaction on L1 (in a rollup batch). transaction_fee = l2_execution_fee + l1_data_fee note Lisk's fee calculation is based on the fee system of OP Mainnet, using the latest Fjord upgrade. Check the Fees page in the Optimism documentation, to learn more about how the fee system works in detail. L2 Execution Fee ​ The L2 Execution Fee is equal to the amount of gas used by the transaction multiplied by the gas price attached to the transaction. l2_execution_fee = transaction_gas_price * l2_gas_used Because Lisk Mainnet is EVM equivalent, the gas used by a transaction on Lisk Mainnet is exactly the same as the gas used by the same transaction on Ethereum. If a transaction costs 100,000 gas units on Ethereum, it will cost 100,000 gas units on Lisk Mainnet. The only difference is that the gas price on Lisk Mainnet is much lower than the gas price on Ethereum so you'll end up paying much less in ETH. This also means that the total cost of the L2 Execution Fee of a transaction can be estimated using the same tools you would use to estimate the cost of a transaction on Ethereum. L2 Execution Fee calculation ​ The transaction gas price is the sum of the Base Fee and the optional additional Priority Fee . transaction_gas_price = l2_base_fee + l2_priority_fee Like Ethereum, Lisk Mainnet uses the EIP-1559 mechanism to set the Base Fee for transactions (although with different parameter values compared to Ethereum). You can read more about how Ethereum's gas fees work over on Ethereum.org . L1 Data Fee ​ The L1 Data Fee is the only part of the Lisk Mainnet transaction fee that differs from the Ethereum transaction fee. This fee arises from the fact that the transaction data for all Lisk Mainnet transactions is published to Ethereum. This guarantees that the transaction data is available for nodes to download and execute. The L1 Data Fee is automatically charged for any transaction that is included in a Lisk Mainnet block. It is deducted directly from the address that sent the transaction. The L1 Data Fee is most heavily influenced by the Ethereum base fee that is continuously and trustlessly relayed from Ethereum to Lisk Mainnet. The actual amount of this fee depends on the following input values: The signed transaction , serialized according to the standard Ethereum transaction RLP encoding. The current Ethereum base fee and/or blob base fee (trustlessly relayed from Ethereum). Two scalar parameters that independently scale the base fee and blob base fee. L1 Data Fee calculation ​ The L1 data fee is calculated according to the following formula: l1_data_fee = estimatedSize * weighted_gas_price Here estimatedSize is an estimation of the size that the transaction will occupy when posted in Ethereum L1 blobs. It’s calculated based on the size of the serialized transaction, using a linear regression model based on historical OP Mainnet data, assuming that it’s compressed with Brotli compression. For more details see the OP documentation or the smart contract code . Next, the two scalars are applied to the base fee and blob base fee parameters to compute a weighted gas price multiplier. weighted_gas_price = 16*base_fee_scalar*base_fee + blob_base_fee_scalar*blob_base_fee The current values for the scalars are: base_fee_scalar = 0.127543 blob_base_fee_scalar = 1.201993 They can be adjusted depending on network conditions, to mitigate spikes in the transaction fees. note It is currently not possible to limit the maximum L1 Data Fee that a transaction is willing to pay. For further information about transaction fees, please check the Optimism Developer Docs > Transaction Fees EIP-1559 Parameters ​ The EIP-1559 parameters used by the Lisk Mainnet differ from those used by Ethereum as follows: Parameter Lisk Mainnet value Ethereum value (for reference) Block gas limit 60,000,000 gas 30,000,000 gas Block gas target 3,000,000 gas 15,000,000 gas EIP-1559 elasticity multiplier 20 2 EIP-1559 denominator 1,000 8 Maximum base fee increase (per block) 1.9% 12.5% Maximum base fee decrease (per block) 0.1% 12.5% Block time in seconds 2 12 How do fluctuations in gas price on Ethereum (L1) affect transaction costs on Lisk (L2)? ​ While the L1 Data Fee will be always cheaper compared to posting the transaction directly to the Ethereum mainnet (due to the efficient encoding in batching transactions), its value will vary depending on the amount of transactions on the L1. If the timing of your transaction is flexible, you can save cost by submitting transactions during periods when gas prices on L1 are lower than usual for example, over the weekend. Changes after the transaction is processed on the sequencer do not affect the cost the user pays. For an L2 transaction, the normal process is: The wallet estimates the cost of the transaction and shows it to the user. The user then submits the transaction. The sequencer processes the transaction in two phases. First, it processes the transaction. Then, it deducts the gas cost, based on the L1 and L2 gas prices at that time. After that, the transaction is written to L1. In principle, between steps 1 and 3 the gas price might change. However, it can not increase by more than 12.5%, therefore the difference between the price shown to the user in step 1 and the actual one is bounded by 12.5%. After step 3, the finality of the transaction is Lisk's responsibility. If the L1 gas price spikes, Lisk pays the new cost. In conclusion, the user will pay at most 12.5% more than expected. See the Optimism Docs > Transaction Fees for more information about transaction fees. Gas tracker How are fees on Lisk calculated? L2 Execution Fee L1 Data Fee EIP-1559 Parameters How do fluctuations in gas price on Ethereum (L1) affect transaction costs on Lisk (L2)? ## /lisk-chain/about-lisk/contracts On this page A reference page that includes information about all contracts deployed on various networks. Ethereum network (L1) ​ Details of smart contracts deployed on 🟢 Ethereum Mainnet and 🟡 Sepolia Testnet are as follows. Name of Contract Description Contract Address ProxyAdmin Owner of AddressManager, Admin of LiskPortal, SystemConfig, L2OutputOracle, L1StandardBridge. 0xeC432c4F1d0E12737f3a42a459B84848Af979b2d 🟢 0x5Db9F05921d8d5a6a157F6f49c411cc0e46c6330 🟡 SystemConfig It contains configuration parameters such as the Sequencer address, the L2 gas limit, and the unsafe block signer address. 0x05f23282FFDCA8286E4738C1aF79079f3d843750 🟢 0xF54791059df4a12BA461b881B4080Ae81a1d0AC0 🟡 AddressManager The Address Manager is a built-in actor that manages Ethereum's address space. 0x2dF7057d3F25212E51aFEA8dA628668229Ea423f 🟢 0x27Bb4A7cd8FB20cb816BF4Aac668BF841bb3D5d3 🟡 L1ERC721Bridge Handles the sending and receiving of ERC 721 tokens between L1 and L2. 0x3A44A3b263FB631cdbf25f339e2D29497511A81f 🟢 0xb4E988CF1aD8C361D56118437502A8f11C7FaA01 🟡 L2OutputOracle It contains a list of proposed state roots that the Proposers assert to be a result of block execution. 0x113cB99283AF242Da0A0C54347667edF531Aa7d6 🟢 0xA0E35F56C318DE1bD5D9ca6A94Fe7e37C5663348 🟡 OptimismPortal It is the main entry point for depositing funds from L1 to L2. It also allows proving and finalizing withdrawals. 0x26dB93F8b8b4f7016240af62F7730979d353f9A7 🟢 0xe3d90F21490686Ec7eF37BE788E02dfC12787264 🟡 L1StandardBridge It is the main entry point for depositing ERC20 tokens from L1 to L2. This contract can store any token. 0x2658723Bf70c7667De6B25F99fcce13A16D25d08 🟢 0x1Fb30e446eA791cd1f011675E5F3f5311b70faF5 🟡 ProtocolVersions It is used to manage superchain protocol version information. 0xDd9C27910327d3f4A4007Ad8f7B53332DB6f1079 🟢 0x1Bb17EB31bDdFd30F63D4FAe6c8Eb85D9e9b1f48 🟡 L1CrossDomainMessenger Sends messages from L1 to L2 and relays messages from L2 onto L1. 0x31B72D76FB666844C41EdF08dF0254875Dbb7edB 🟢 0x857824E6234f7733ecA4e9A76804fd1afa1A3A2C 🟡 OptimismMintableERC20Factory It is responsible for creating ERC20 contracts on L1 that can be used for depositing native L2 tokens into. 0xc1dA06CC5DD5cE23bABa924463de7F762039252d 🟢 0x269d632C1E518a922C30C749cFD3f82Eb5C779B0 🟡 L1LiskToken Contains the implementation of LSK as an ERC20 token. 0x6033F7f88332B8db6ad452B7C6D5bB643990aE3f 🟢 0x16B840bA01e2b05fc2268eAf6d18892a11EC29D6 🟡 L1VestingWallet This contract handles the Vesting functionality of the LSK token for the Ethereum network. 0xd590c2e71739c551eba7aebe00e7855df4cf5fb7 🟢 0x76f1cD8436373fa9f3c17Da1e39740fE9dB9a04B 🟡 DisputeGameFactory The dispute game factory is responsible for creating new DisputeGame contracts given a GameType and a root Claim . Challenger agents listen to the DisputeGameCreated events in order to keep up with on-going disputes in the protocol and participate accordingly. 0x0CF7D3706a27CCE2017aEB11E8a9c8b5388c282C 🟢 AnchorStateRegistry A registry where DisputeGame contracts can store and register their results so that these results could be used as the starting states for new DisputeGame instances. 0x7ad0d165B9607960AD850090DDd7B9eB381D9c1e 🟢 DelayedWETHPermissionedGame The DelayedWETH contract manages bonds posted by participants during disputes. It delays payouts to allow time for verification, ensuring that funds are distributed correctly. This mechanism ensures participants are financially committed and disputes are finalized securely. 0x31eFC2c8012c56E007E5Bdb8E5B7955D197C168e 🟢 OptimismMintableERC20Factory The OptimismMintableERC20Factory is responsible for creating ERC20 contracts on L2 that can be used for depositing native L1 tokens into. These ERC20 contracts can be created permissionlessly and implement the interface required by the StandardBridge to just work with deposits and withdrawals. 0xD00e38514d66bf1B761a8937559c6b2854A5B3ad 🟢 Lisk network (L2) ​ Predeploys on Lisk ​ A predeployed contract is included in the L2 genesis state, and it exists from the very beginning of the blockchain. On Lisk Network, these contracts are located at specific addresses that are determined in advance and are part of the genesis state. For more information on Predeploys, see Predeploys' README . Details of predeployed contracts deployed on 🔵 Lisk Mainnet and 🟣 Lisk Sepolia Testnet are as follows. Name of Contract Contract Address GasPriceOracle 0x420000000000000000000000000000000000000F 🔵 0x420000000000000000000000000000000000000F 🟣 WETH9 0x4200000000000000000000000000000000000006 🔵 0x4200000000000000000000000000000000000006 🟣 L2CrossDomainMessenger 0x4200000000000000000000000000000000000007 🔵 0x4200000000000000000000000000000000000007 🟣 L2StandardBridge 0x4200000000000000000000000000000000000010 🔵 0x4200000000000000000000000000000000000010 🟣 SequencerFeeVault 0x4200000000000000000000000000000000000011 🔵 0x4200000000000000000000000000000000000011 🟣 OptimismMintableERC20Factory 0x4200000000000000000000000000000000000012 🔵 0x4200000000000000000000000000000000000012 🟣 L1Block 0x4200000000000000000000000000000000000015 🔵 0x4200000000000000000000000000000000000015 🟣 L2ToL1MessagePasser 0x4200000000000000000000000000000000000016 🔵 0x4200000000000000000000000000000000000016 🟣 OptimismMintableERC721Factory 0x4200000000000000000000000000000000000017 🔵 0x4200000000000000000000000000000000000017 🟣 ProxyAdmin 0x4200000000000000000000000000000000000018 🔵 0x4200000000000000000000000000000000000018 🟣 BaseFeeVault 0x4200000000000000000000000000000000000019 🔵 0x4200000000000000000000000000000000000019 🟣 L1FeeVault 0x420000000000000000000000000000000000001a 🔵 0x420000000000000000000000000000000000001a 🟣 SchemaRegistry 0x4200000000000000000000000000000000000020 🔵 0x4200000000000000000000000000000000000020 🟣 EAS 0x4200000000000000000000000000000000000021 🔵 0x4200000000000000000000000000000000000021 🟣 create2Deployer 0x13b0D85CcB8bf860b6b79AF3029fCA081AE9beF2 🔵 0x13b0D85CcB8bf860b6b79AF3029fCA081AE9beF2 🟣 L2ERC721Bridge 0x4200000000000000000000000000000000000014 🔵 0x4200000000000000000000000000000000000014 🟣 GovernanceToken 0x4200000000000000000000000000000000000042 🔵 0x4200000000000000000000000000000000000042 🟣 Lisk features-specific contracts ​ Details of Lisk features-specific contracts deployed on 🔵 Lisk Mainnet and 🟣 Lisk Sepolia Testnet are as follows. Name of Contract Description Contract Address L2Airdrop L2Airdrop is an implementation of the Lisk v4 migration airdrop on L2. It is responsible for the airdrop computation and distribution of LSK tokens to the recipient's accounts that have migrated to L2. 0xC7315f4FaaB2F700fc6b4704BB801c46ff6327AC 🔵 0xDdE1998B8842b1C925Eef7eDFDAA2Df24A75048a 🟣 L2Claim (Proxy) Proxy contract for claiming LSK tokens from the legacy Lisk chain and receive the appropriate amount on Lisk L2. 0xC7315f4FaaB2F700fc6b4704BB801c46ff6327AC 🔵 0xDdE1998B8842b1C925Eef7eDFDAA2Df24A75048a 🟣 L2Claim (Implementation) Enables users to claim their LSK tokens from the legacy Lisk chain and receive the appropriate amount on Lisk L2 using Merkle proofs, with support for both regular and multisig accounts. 0x60790Dc2d45BaA8B36282889569BbB301F4D0c41 🔵 0xAE4A95E412d7d669AbE6bB23031Ae0250B832710 🟣 L2Governor (Proxy) Proxy contract for the governance-related operations of Lisk L2. 0x58a61b1807a7bDA541855DaAEAEe89b1DDA48568 🔵 0xf9181aaD773d423A2cc0155Cb4263E563D51B467 🟣 L2Governor (Implementation) Handles the governance-related operations of Lisk L2. 0x18a0b8c653c291D69F21A6Ef9a1000335F71618e 🔵 0xff5e32726fF30E9a15F6485C3Bd1e31e63B26625 🟣 L2LiskToken Interface for the OptimismMintableERC20
프로젝트로 돌아가기