IoTeX 백서

IoTeX

원문

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

user can first create a digital twin in the cloud and generate a device certificate. Once the certificate is installed in a smart device, it can establish a secure TLS connection with the cloud-based IoT gateway . The digital twin then interacts with other services in the cloud on behalf of the smart device. A centralized connectivity layer, while simplifying the device connection and management, represents a single point of failure in a DePIN application and the adoption of a decentralized connectivity layer should be seriously considered by 61 Figure 6.2: Device Onboarding with AWS IoT Core future DePIN projects. 6.1.2 Connecting to a Decentralized Connectivity Layer While a decentralized connectivity layer offers a more robust network connection for a DePIN application, connecting a smart device to it introduces a number of technical challenges: • How can a smart device securely connect with nodes in the decentralized connectivity layer without relying on a centralized certificate authority (CA) and digital certificates? • How can a smart device mutually authenticate with nodes in the decentral- ized connectivity layer? • How can a smart device establish a secure channel with nodes in the de- centralized connectivity layer? To address the aforementioned technical challenges, a DePIN device should real- ize new technology and protocols that could be used in such a decentralized setting. 62 6.2 Design Considerations for Building a Universal Embedded SDK for DePIN Devices The potential challenges of connecting a wide range of smart devices to a decent- ralized connectivity layer have led to the following design requirements towards developing a universal embedded SDK for DePIN devices: • The SDK should accommodate popular hardware chipsets and platforms (e.g., microcontrollers, single board computers, smartphones, etc.); • The SDK should be easily integrated by DePIN device manufacturers into their devices; • The SDK should allow DePIN devices to use advanced security functional- ities (e.g., secure elements, cryptography accelerators, etc.); • The SDK should enable a DePIN device to establish a trusted relationship with other entities (i.e., people or machines) in a decentralized setting. Those design requirements have motivated us to explore emerging technologies such as Arm’s PSA certified crypto API and self-sovereign identity (SSI) as well as a layered SDK design methodology . 6.2.1 Arm’s PSA Certified Crypto API The Arm’s PSA certified crypto API [ 47] defines standardized and unified inter- faces for accessing cryptographic operations and key management services on a wide range of hardware platforms. By loading a cryptographic software/hardware driver available on a target hardware platform, a developer can easily access all the security-related functionalities via the PSA crypto API, as shown in Fig- ure 6.3. 63 Figure 6.3: The Usage of IoTeXâs PSACrypto Library in DePIN Devices The integration of the Arm’s PSA certified crypto API into DePIN devices can po- tentially enhance security of DePIN devices, thereby mitigating increasing fraud risks in DePIN applications effectively . 6.2.2 Self-Sovereign Identity (SSI) Self-sovereign identity (SSI) [ 48] techniques, such as Decentralized Identifiers (DIDs) [ 49], V erifiable Credentials (VCs) [ 51] and DIDComm messaging [ 50], move control of digital identity from conventional identity providers to individu- als and lay down the foundation for people, organizations and things forming rich digital relationships. In a decentralized setting, SSI provides a promising solution for establishing trusted person-to-machine and machine-to-machine re- lationships without relying on third-party centralized or federated identity pro- viders, as illusated in Figure 6.4. 64 Figure 6.4: SSI-Based Communication in a Decentralized Setting 6.3 Implementation Specification ioConnect [ 16] is a universal embedded SDK dedicatedly designed by IoTeX for empowering DePIN devices. To support a wide range of smart devices and ap- plication requirements, the SDK is architectured with a SDK core and a platform adaption layer (PAL). 6.3.1 ioConnect SDK Core The core of ioConnect consists of four layers as shown in Figure 6.5. The bot- tom two layers realize the Arm’s PSA certified crypto API specification v1.1, whereas the top two layers implement the three key pillars (i.e., DIDs, VCs and DIDComm) in SSI. All the cryptographic operations required in SSI are done through the PSA crypto API calls. Note that the ioConnect SDK core is independent of hardware platforms and does not bind to specific components/resources on a DePIN device. 65 Figure 6.5: The ioConnect SDK Core 6.3.2 DePIN Device Compatibility To accommodate a wide range of DePIN devices, the entire ioConnect SDK ad- opts a layered design methodology as illustrated in Figure 6.6. On the one hand, the Core contains the implementations of hardware independent specifications (e.g., SSI, PSA crypto API, etc.), the Platform Adaption Layer (PAL) deals with the differences among various embedded systems and platforms (e.g., compila- tion rules, coding conventions, framework design, etc.). The introduction of PAL allows developers to easily add new hardware support by simply developing another PAL component with only 300 to 500 lines of code, thereby effectively addressing the DePIN device compatibility issue and signific- antly reducing integration complexity of DePIN device manufacturers. 66 Figure 6.6: The Layered Architecture in the ioConnect SDK 67 Chapter 7 ioDDK - Enabling Self-Sovereign DePIN App Chains 7.1 Design Rationale The rationale behind enabling application-specific L2s for DePIN projects on Io- TeX L1 is driven by several compelling factors. • Firstly , application-specific L2s are crucial for DePIN projects because they allow for the introduction of unique tokenomics, tailored user experiences (e.g., wallet and browser), and customized governance structures. This cus- tomization is vital for optimizing the blockchain to meet the specific needs and scenarios of each DePIN application at scalability , ensuring that each project can achieve its full potential. • Additionally , many DePIN projects lack the expertise and financial resources required to build and maintain their own blockchain infrastructure. As of now, the IoTeX L1 is secured by a pool of 120+ globally distributed del- egates (i.e., validators) through our in-house Randomized Delegated Proof-of- Stake (Roll-DPoS) consensus protocol [ 52]. By leveraging the secure blockspace 68 from the IoTeX L1, these DEPIN projects can seamlessly launch their application- specific L2s without the heavy lifting associated with blockchain development. ioDDK is a chain SDK that allows DePIN projects to provision self-sovereign application chains and inherit the security of IoTeX L1 simultaneously , as illus- trated in Figure 7.1. While validating and proposing IoTeX L1 blocks, validators also reach consensus on transactions from DePIN application chains. By rent- ing out blockspace, the IoTeX L1 can provide DePIN projects with the necessary resources to deploy their tailored solutions efficiently , without the need for signi- ficant upfront investments or technical know-how, fostering a more vibrant and innovative ecosystem. Figure 7.1: Self-Sovereign DePIN App Chains Secured by IoTeX L1 7.2 Shared Blockspace and V alidators To minimize development complexity , all self-sovereign DePIN chains can share blockspace and validators with IoTeX L1. Three implementation options could be considered in practice, as illustrated in Figure 7.2. 69 Figure 7.2: Three Implementation Options for Shared Blockspace and Validators Option 1 - Storing All T ransactions on IoT eX L1 In this option, transactions from self-sovereign DePIN chains together with those on IoTeX L1 share the same blockspace and all transactions need to go through the consensus process of IoTeX L1. This approach ensures that all self-sovereign DePIN chains achieve the same security as IoTeX L1. However, due to the limita- tion of block size, only a certain number of DePIN projects can be supported. A decentralized governance process might be required to determine which DePIN projects are eligible for using this approach. Option 2 - Storing DePIN Chain T ransactions using EIP-4844 In this option, transactions from self-sovereign DePIN chains are temporarily stored on IoTeX L1 using EIP-4844 blobs. The state roots together with an ag- gregated validity proof of state transitions of all self-sovereign DePIN chains share the same blockspace with IoTeX L1 transactions. The aggregated validity proof is verified on IoTeX L1 to settle all the transactions on self-sovereign DePIN chains. Such a rollup-based approach can effectively improve system scalability and allow all self-sovereign DePIN chains to inherit the security of IoTeX L1 simultaneously . Note that one of provers in the W3bstream network should be utilized to realize this approach. 70 Option 3 - Storing DePIN Chain T ransactions using Off-Chain DAL In this option, self-sovereign DePIN chains can choose an off-chain data availab- ility layer (DAL) for storing their transactions. Similar to the Option 2, the state roots together with an aggregated validity proof of state transitions of all self- sovereign DePIN chains share the same blockspace with IoTeX L1 transactions. The aggregated validity proof is verified on IoTeX L1 to settle all the transactions on self-sovereign DePIN chains. However, the state roots should be committed to the IoTeX L1 by the DAL in this approach. While such a validum-based ap- proach can also improve system scalability , the security depends on that of the implementation of a specific DAL. Note that one of provers in the W3bstream network should be utilized to realize this approach. Comparison of Three Options Table 7.1 provides a comparison of the above three implementation options with respect to the DePIN chain transaction storage, scalability , W3bstream require- ment and security . Table 7.1: Comparison of Three Implementation Options DePIN Chain Scalability W3bstream Security Transaction Storage Need Option 1 on-chain block Low No High Option 2 on-chain blob High Yes High Option 3 off-chain DAL High Yes Low/Medium 71 7.3 ioDDK Components and High-Level Workflow 7.3.1 ioDDK Components ioDDK, which enables a DePIN project to leverage the existing delegates (i.e., validators) and blockspace in IoTeX L1 to host a self-sovereign DePIN chain, consists of the following components: • Chain Configuration : The chain configuration component allows a de- veloper to configure the specific parameters (e.g., start height, transaction type, blockspace requirement, etc.) of a DePIN chain; • Chain Deployment: The chain deployment component allows a developer to manage the deployment process of a DePIN chain across all the delegates of IoTeX L1; • Chain Explorer : The chain explorer component allows a DePIN project as well as external parties to monitor the status and key metrics (i.e., block height, TPS, transaction details, etc.) of a DePIN chain; • Chain Commander : The chain commander is a command line tool that provides a suite of commands to simplify the development and manage- ment of a DePIN chain. 7.3.2 High-Level Workflow Once a DePIN project is approved for provisioning a self-sovereign chain us- ing the shared blockspace and validators in IoTeX L1 (e.g., via a decentralized governance process), the project can use ioDDK as follows: • The developer uses the “Chain Configuration" function in ioDDK to specify a number of DePIN chain specific parameters: 72 – chainID: a chain identifier is generated automatically to represent the self-sovereign DePIN chain; – T ransaction type: the different fields in a transaction; – Maximum transaction numbers : the maximum number of DePIN chain transactions processed in a IoTeX L1 block; – W3bstream prover: the selection of a W3bstream prover. • The developer prepares a docker image of the transaction processing logic for a DePIN chain and uses the âChain Deploymentâ function in ioDDK to deploy the docker image to all the delegates of IoTeX L1. Once the DePIN chain specific transaction processing logic is deployed to IoTeX L1 delegates, the DePIN chain transactions will be processed accordingly . The de- veloper can use âChain Explorerâ in ioDDK to check the status of the provisioned DePIN chain. Moreover, the developer can also use the âChain Commanderâ to manage the DePIN chain using a number of support commands. 7.4 The Marketplace for Renting Blockspace We plan to implement a blockspace marketplace enabling developers to trade blockspace tailored for their specific DePIN L2s built with ioDDK. This market- oriented strategy ensures that resource allocation adapts to real-time demand, thereby optimizing the network’s overall efficiency . The introduction of tradable blockspace also impacts the utility and liquidity of the IOTX token. For example, developers can stake or burn IOTX to get a certain amount of blockspace. Revenue generated from transactions can be allocated in multiple ways, including funding the treasury or being burnt to regulate token supply . 73 7.5 Implication on the IoT eX L1 The introduction of shared blockspace to IoTeX L1 brings a host of features de- signed to meet the growing demands of DePIN L2 projects: • Fast Block Time and Finality : One of the primary requirements for DePIN L2s is a fast block time with quick finality to optimize user experience. Cur- rently , IoTeX L1 has a block time of 5 seconds. However, to meet the needs of high-performance DePIN projects, we aim to reduce this block time to 2 seconds. This reduction will significantly enhance the responsiveness and efficiency of L2 applications, ensuring a smoother and more user-friendly experience. • Increased Throughput and Decentralization : The total throughput of De- PIN L2s is inherently limited by the computer power of all validators in the IoTeX L1 network. To address this, it is crucial to both increase the num- ber of validators and improve the overall decentralization of the network. By expanding the validator pool, IoTeX L1 can support a higher transaction volume and provide more robust security . This enhancement will also facil- itate a more decentralized and resilient network, essential for maintaining trust and stability in a growing ecosystem. To fulfill the above requirements, the introduction of Proposer-Builder Separa- tion (PBS) [ 53] is planned. PBS is a concept originally proposed by Ethereum researchers designed to enhance the censorship resistance and overall perform- ance of blockchain networks. It separates the roles of block proposers and block builders to optimize block production and ensure fairness in the validation pro- cess. • Block Proposers : Responsible for proposing new blocks based on the cur- rent state of the blockchain and network rules. They gather transactions and create a block proposal that will be validated by the network. This role will most likely be filled by the current consensus delegates. 74 • Block Builders : Specialized entities focused on constructing blocks by se- lecting the most valuable transactions from the actpool, optimizing block space usage, and potentially enhancing throughput. They submit their con- structed blocks to proposers, who then propose these blocks to the network for validation. This will be a new role introduced to the IoTeX L1 network and dedicatedly to work on package transactions including those from De- PIN L2s. The separation of these roles helps mitigate the risk of centralized control and censorship by distributing responsibilities across different entities. This improves network capacity and reduces transaction processing time, i.e., it also allows for more efficient block production, as builders can focus on transaction selection, optimization and even sharding, while proposers handle the consensus and block finalization processes. This approach will ensure that DePIN L2s that based the shared blockspace provided by the IoTeX L1 can operate efficiently and securely , meeting the demands of their specific application scenarios. 75 Chapter 8 The New Roadmap IoTeX 2.0 is a collection of numerous components that we plan to build from now until 2026. The roadmap is provided below in Figure 8.1. Note that many of the components listed are dependent on governance proposals and voting, and are therefore subject to change. 76 Figure 8.1: IoTeX 2.0 Roadmap 77 Chapter 9 Conclusion IoTeX 2.0 offers a new vision for the IoTeX Network while preserving the core principles that led to its inception. From the beginning, IoTeX has envisioned a future where individuals can own and control their devices, as well as the data and value these devices produce. IoTeX aims to be a hub for real-world, real-time data, powering a superintelligent AI network. This network won’t just exceed hu- man intelligence but will leverage precise and reliable data that reflects the real world in real-time. This shift suggests that ultimate truth and decision-making power will be rooted in the tangible, dynamic realities of our physical environ- ment. This transformation changes how data is valued and used, influencing the future of civilization. Most importantly , everything IoTeX enables will be owned and operated by the people, for the people. Thank you to the IoTeX community for your continued contributions, support, and feedback. As we embark on this new ambitious journey , we know that IoTeX and our global community will enact real change and bring DePIN to every country in the world. It’s time to build! 78 Disclaimer This whitepaper is a collaborative effort by IoTeX coredev and members from the IoTeX community . It outlines a proposed direction for the IoTeX Network. How- ever, the contents do not entail a commitment by any authors or their respective organizations. The IoTeX community is responsible for adapting and adopting the measures proposed in this paper. The success of any proposal will ultimately depend on the hard work of the wider community and those building within the IoTeX Network. The information presented herein is provided by the parties listed above (the PARTIES) for informational purposes only . Neither the PARTIES nor any of their affiliates, directors, officers, managers, employees, or representatives make any representations or warranties, expressed or implied, regarding any of the ma- terial or information contained herein. Furthermore, the PARTIES or any such individuals do not assume or have any responsibility or liability to you or your affiliates, or your or your affiliates’ respective directors, officers, managers, em- ployees, or representatives resulting from the use of the information and material contained herein. The information provided here is supplied in good faith based on believed in- formation, but it is not guaranteed to be accurate or complete. The information in this paper should not be considered as investment advice, financial advice, trading advice, or any other form of advice. It is recommended that you conduct your own due diligence and consult with your financial advisor before making any investment decisions of any kind. 79 Acknowledgment We extend our heartfelt gratitude to the following individuals and venture cap- ital firms (i.e., Vinayak Kurup from Escape Velocity (EV3), Robert Koschig from 1kx, SNZ Capital , Future Money Group (FMG), Álvaro Gracia from Borderless Cap- ital, Lattice, Summer Capital , Pantera Capital , BlueYard Capital, Spartan Capital , Lem- niscap, NGC Ventures , Stanford Blockchain Accelerator , Foresight Venture , and Sam- sung NEXT ), Web3 projects (i.e., NEAR Foundation , RISC0, Helium Foundation , The Graph Foundation , Filecoin Foundation , and Textile), and crypto research firms (i.e., IntoTheBlock (ITB) and Messari) whose invaluable feedback and unwavering sup- port have been instrumental in shaping this Whitepaper. Your expertise, insights, and commitment
프로젝트로 돌아가기