Author: Danylo
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.
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
Decentralized Peer-to-Peer Network aspires to:
Establish a seamless communication channel for unhindered access to the 1inch API.
Implement robust message encryption protocols and data proxying mechanisms to ensure the security and integrity of communications traversing the Network.
Provide a well-documented and easy-to-integrate SDK that empowers dApp developers to assemble compatibility with the P2P Network effortlessly.
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.
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.
Role
Registration
Relayer Discovery
Relayer Communication
Role
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.
dApps are critical in initiating requests and interacting with the P2P Network to facilitate user demands.
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.
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.
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.
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.
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.
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.
Project Duration: 1 month
Total Budget for Whitepaper Creation: 30,000 USD (equivalent to 30,000 USDT/USDC)
Payment Transaction Details:
Wallet address: 0xC39f5f17578f44EAceaf85BC00879aAFDa370E45
Blockchain Network: Ethereum Mainnet
Token: USDT or USDC
Token Standard: ERC-20
Funds will be allocated to the 1inch DAO Operations Multisig (0x45e84e10e8E85c583C002A40007D10629EF80fAF), then transferred to Boosty Labs
Payment Transaction Flow (Required by Boosty Labs): To ensure a secure and accurate payment transaction, 1inch is requested to follow these steps:
First, 1inch should send a test transaction of 5 USDT/USDC.
After the test transaction is verified on the blockchain with the "Success" status, Boosty Labs' Finance Department will review and confirm receipt of the test amount.
Upon receiving confirmation from Boosty Labs, 1inch is requested to proceed with the transfer of the remaining 29,995 USDT/USDC.
Software Architect
Role: Lead the architecture design and technical exploration of the P2P system.
Expertise: Specialist in distributed systems, ensuring a scalable and reliable network architecture.
Involvement: Full-time (40 hours/week).
Key Responsibilities:
Develop and refine the architectural framework.
Align architecture with both functional and non-functional requirements.
Plan for system scalability, reliability, and security.
Senior Business Analyst
Role: Define the technical and operational framework of the P2P network.
Skills: Combine business and system analysis with a focus on bridging technical and business domains.
Involvement: Full-time (40 hours/week).
Key Responsibilities:
Analyze, document, and validate business requirements.
Ensure network design meets end-user needs and aligns with the broader 1inch ecosystem.
Identify risks and strategize mitigations.
Conduct market and trend analysis to position the P2P network effectively.
Senior Technical Writer
Role: Transform complex technicalities into accessible, detailed documentation.
Task: Assist in documenting technical and operational aspects of the P2P network by providing understandable and well-structured documents.
Involvement: Part-time (20 hours/week).
Key Responsibilities:
Write, edit, and organize technical content.
Ensuring clarity and coherence in documentation.
Developing diagrams, charts, and other relevant visual representations to enhance understanding of the system
About Boosty Labs: Boosty Labs is the largest blockchain development shop in Europe. The team includes 150+ software engineers, QA engineers, DevOps, SDET, UI/UX designers, project and product managers. Boosty is an experienced team with a deep expertise in the blockchain and fintech industry. We have done a bunch of complicated projects including IDO launchpads, NFT drops, NFT marketplaces, P2E games, DEX, CEX, Dapps, NFT minting tools, decentralized messengers, decentralised VPNs, cross chain bridges and many other different projects.
Blockchain Stack Expertise:
Solidity (Ethereum, Polygon, Avalanche)
Rust (Solana, Casper, Polkadot - Substrate)
Cosmos/Tendermint
FunC (TON)
Motoko (Dfinity)
Cadence (Flow)
Haskel (Cardano, Concordium)
C++ (EOS, WAX, TELOS, Proton)
Experience: Boosty Labs worked with leading companies in the blockchain and DeFi space, like Ledger, Celsius Network, Pocket Network, and Paraswap, handling a wide range of projects from decentralized VPNs, cross-chain bridges, to NFT marketplaces and tokenization platforms. Additional details of some of the successfuul projects:
Ledger: Implemented an NFT Metadata Indexer Pipeline that:
Indexes logs for all ERC721 and ERC1155 tokens and collections, ensuring comprehensive data retrieval.
Downloads, caches, and parses metadata to facilitate accurate and efficient data management.
Indexes the parsed data on a search engine, optimizing data retrieval and management functionalities.
Coinspaid: Conducted a comprehensive audit that led to the following business and system improvements:
Enhanced system performance and security;
Streamlined business processes;
Identified new product features, ensuring the product maintained its competitive edge and alignment with evolving market demands.
Affinidi: Developed a tablet-only web application that:
Utilizes tablet cameras to scan QR codes on VCs, extracting the necessary information for verification.
Transmits the scanned data to the backend, which then forwards it to the respective verifying institutions.
Receives and displays verification results on the user interface, providing customs officials with clear and immediate feedback.