Simple Summary
The idea for the P2P Network System was initially conceived by the 1inch Co-Founders and shared with Boosty Labs as a desired web3 experienced development partner.
Boosty Labs has concurred to take on the responsibility of P2P Network idea processing, system designing, and, eventually, system development.
Here are the salient points of the proposal:
- The Network aims to deliver a secure and practical interface for accessing the 1inch API
- The primary objective of the Network is to forge a highly secure communication channel between users and the 1inch API, ensuring optimal data integrity and privacy.
- An extensive P2P Network Toolkit will consist of crucial development tools such as an intuitive SDK for dApp owners and ready-to-use Sync Clients to enable secure and efficient establishment of communication channels with the P2P Network.
- The initiative aspires to augment the 1inch ecosystem, promote broader adoption of decentralized networking solutions, and foster the advancement of decentralized applications and services.
- By providing robust and quality solutions to user requests, the P2P network offers a significant competitive advantage over centralized solutions.
Abstract
The Network is designed to establish a fortified communication channel between users and the 1inch API, ensuring paramount data integrity and privacy.
The technical roadmap outlines a clear path from the initial stage - whitepaper creation, to the core system development, dApp connectivity testing, and the eventual launch of the P2P Network.
The next higher-priority contribution will be the launch of the Payment Channels for seamless, low-cost payment transactions and straightforward opportunities for Network Actors to generate profit by handling user requests.
The scheme below presents a clear insight into the P2P network architecture, outlining the roles and interactions of network participants. It also elucidates the security protocols that ensure data privacy and integrity while providing a roadmap for the development, implementation, and future enhancements of the P2P network.
High-level architecture design of the P2P network showcasing the relation and interaction between P2P network, dApp, user, and 1inch API
Motivation
Decentralized Peer-to-Peer Network aspires to:
- Facilitate Uninterrupted 1Inch API Accessibility:
Establish a seamless communication channel for unhindered access to the 1inch API. - Develop Secure Communication Channels:
Implement robust message encryption protocols and data proxying mechanisms to ensure the security and integrity of communications traversing the Network. - Offer an Intuitive SDK for dApp Developers:
Provide a well-documented and easy-to-integrate SDK that empowers dApp developers to assemble compatibility with the P2P Network effortlessly. - Deliver Ready-to-Deploy Clients for dApp Development: Preparing a suite of Sync Clients preconfigured for seamless compatibility with the P2P network, significantly simplifying the process of building and deploying dApps that leverage the Network’s capabilities.
Through a well-orchestrated blend of secure communication channels, an intuitive development SDK, and ready-made Sync Clients, the P2P network is poised to significantly contribute to advancing decentralized applications and services within and beyond the 1Inch ecosystem.
Specification
Ecosystem Participants
- End-user: Initiates actions and transactions within the dApp/blockchain
- dApp: Enable seamless communication with the P2P Network to submit requests through the Network and receive a proper solution.
- P2P Network: Facilitates API access, allowing users to interact with 1Inch API securely.
- 1Inch API: API provider for resolving submitted requests and fulfilling user needs.
Network Actors
Relayer
Role
- Relayers act as the intermediary nodes that facilitate the routing of requests from users to Resolvers and across other Relayers, establishing data proxying.
Registration
- Relayers will complete the registration process in a smart contract on Layer 2 or Ethereum (ETH) network to get accepted to the P2P network and serve as a Relayer.
Relayer Discovery
- The P2P Network will discover Relayers via smart contract registry on Layer 2 or Ethereum chain.
Relayer Communication
- Relayers will only send information to subscribed clients, such as web clients and dApps.
Resolver
Role
- Resolvers are responsible for receiving and listening to messages, storing them temporarily, and sending responses back to the user.
Verification
- The Resolver must pass both KYB and AML checks.
- The Resolver must rank within the top 10 to access fusion limit filling capabilities.
- The Resolver is required to stake a specific amount and maintain complete trustworthiness.
Request Handling
-
Receiving Requests: The Resolver accepts incoming requests from dApps.
-
Validation and Processing: After reception, the Resolver validates and processes requests, ensuring compliance with network protocols and standards
-
Response Generation: Leveraging its established connections with Relayers and direct communication channels, the Resolver transmits appropriate responses to fulfill the requests.
dApp Connectivity
dApps are critical in initiating requests and interacting with the P2P Network to facilitate user demands.
- Communication Channels:
Elaboration on how decentralized applications (dApps) connect to the P2P network nodes utilizing WebRTC and WebTransport. The Channel includes the following connection stages: the setup, maintenance, and termination of communication channels. - Data Transmission:
P2P network development will include the creation of a unique encrypted communication protocol based on WebRTC that will allow all network participants (including dApps) to communicate without revealing their data.
Data Encryption
Proxy re-encryption will allow the data to be transformed into a different encrypted format that the recipient can decrypt using their own keys. This process ensures that the original data remains protected and encrypted throughout the sharing process, enhancing the overall security of our platform.
With this feature, users can securely share encrypted data with others without compromising the integrity of the original information.
P2P Network Whitepaper Scope
Objectives of the whitepaper
The primary objectives of the whitepaper are to provide a thorough and detailed exposition of the P2P network, its architecture, functionalities, and its integral role within the decentralized ecosystem.
Specifically, the whitepaper aims to:
- Define and document the technical specifications and operational mechanics of the P2P network, ensuring a clear understanding of its underlying technologies and protocols.
- Define and elaborate on the roles, responsibilities, and interactions of the various network actors, including Relayers, Resolvers, dApps, and end-users.
- Highlight the security measures and encryption protocols to safeguard data integrity and user privacy and ensure secure communications across the Network.
- Outline the strategic goals and long-term vision of the P2P network, detailing how it intends to evolve and adapt to future technological advancements and market demands.
- Present a clear and concise roadmap delineating the developmental milestones, timelines, and resource allocations required for the Project’s successful implementation and sustained operation.
- Address potential challenges and bottlenecks, offering solutions and contingency plans to mitigate risks and ensure the Network’s robustness and resilience.
- Showcase real-world use cases and applications of the P2P network, demonstrating its utility, efficiency, and the value it adds to the decentralized ecosystem.
- Foster a sense of community and collaboration, encouraging contributions, feedback, and participation from developers, users, and stakeholders within the decentralized space.
Whitepaper Creation Plan
The whitepaper creation will follow a structured and systematic approach, ensuring all aspects of the P2P network are covered.
The plan includes:
- Research and Data Collection: Conduct extensive research to gather all necessary information, data, and insights related to the P2P network, its technologies, and its ecosystem.
- Content Structuring: Organizing the collected data coherently, ensuring a logical flow of information throughout the document.
- Writing and Documentation: Crafting the content for each whitepaper section, paying attention to detail, and ensuring technical accuracy and clarity.
- Visual Aids and Diagrams: Creating diagrams, charts, and visual aids to complement the written content, enhancing understanding and engagement.
- Review and Quality Assurance: Conduct thorough reviews and quality checks to ensure the whitepaper is free from errors, inconsistencies, and ambiguities.
- Community Feedback: Sharing drafts of the whitepaper with the community and key stakeholders, gathering feedback, and making necessary revisions.
- Finalization and Publication: Finalizing the whitepaper, incorporating all feedback, and preparing it for publication.
- Post-Publication Support: Providing ongoing support, addressing queries, and updating the whitepaper as required, ensuring it remains relevant and up-to-date.
Rationale
The design of the decentralized P2P network is driven by the aim to reduce transaction costs, enhance financial inclusion, and address the limitations of traditional financial systems. Leveraging blockchain technology ensures improved security and transparency, catering to users’ privacy concerns. The introduction of innovative features aims to foster user engagement and promote the adoption of emerging financial technologies, ultimately providing a more robust platform for decentralized financial activities.
Considerations
Total Whitepaper Creation Costs: $30K.
Breakdown:
The financial plan for the creation of the Whitepaper involves a team of web3 experts, including the following team members:
- An experienced Software Architect with a proven track record in designing and implementing distributed systems, ensuring a reliable foundation for the envisioned P2P network architecture.
- A Senior Business Analyst equipped with both business and system analysis skills, who will carefully outline the technical and operational mechanics of the network, ensuring coherent and comprehensive documentation.
- A skilled Technical Writer who can translate complex technical aspects into understandable and well-structured documents to enhance the clarity and comprehension of the Whitepaper.
