DApilink

$125.22 crowdfunded from 132 people

$240.34 received from matching pools

40%
average score over 1 application evaluations
Develop a bridgeless, secure Oracle solution on Sapphire blockchain for seamless chain-to-external data communication without centralized bottlenecks, aiming for decentralized, confidential data interaction and integration.

DApilink: Confidential Oracle Solution

Project Description

"Unlock the Future of Blockchain: Seamlessly Connect Worlds with our Bridgeless and Confidential Oracle Solution on Sapphire Blockchain!” Say goodbye to bridges and centralized bottlenecks - our groundbreaking solution empowers seamless, secure, and bridgeless communication between chains and the external world. Join us in revolutionizing the blockchain landscape!”

The project aims to create a robust, decentralized and secure Oracle solution on the Sapphire blockchain. Oracles play a pivotal role in the blockchain ecosystem by enabling smart contracts to securely interact with external data sources and other blockchains. Traditional Oracle solutions often rely on centralized entities, which can pose security risks and introduce points of failure. Our goal is to develop a confidential Oracle solution that ensures decentralization, security, and ease of use for users and developers alike. It provides a plug and play mechanism to interact with blockchains without bridges, external data sources or each oracle deployed on blockchains.

Key Features:

  1. Decentralization: Our Oracle solution will be controlled by a confidential smart contract running on Sapphire blockchain thereby eliminating single points of failure and enhancing the overall security and reliability of the system.
  2. Distributed Network: We will establish a network of trusted nodes managed and authenticated by the smart contract ensuring high availability and low latency for data retrieval and transmission.
  3. Sapphire Blockchain Integration: The smart contract will use signatures to authenticate and manage the nodes.
  4. Secure Communication: Sapphire para time is a confidential EVM. Therefore, the entire contract , the data and transactions are encrypted. The nodes would also run in a secured, sanboxed and confidential environment to enable secure communication between the nodes and external sources, guaranteeing the integrity and confidentiality of data.
  5. Bridgeless Interoperability: Unlike traditional solutions that require bridge contracts to communicate with other chains, our Oracle solution will facilitate seamless cross-chain communication without the need for additional bridge contracts.

Recognition: This project was built in a Privacy for web3 hackathon organized by the oasis protocol and was one among the esteemed winners of the Standards track.

That said, we are applying for the GG19 grant and specifically for the Web3 Open Source Software track to take DApilink forward.

Monetization

  • Charge the user a nominal fee per txn (txn + platform charges)
  • Fee based on level of service (eg: premium customers get faster processing) per txn
  • Subscription slabs based on offerings

Funds Utilization

The funds from the Gitcoin grant will be utilized for:

  1. Development: At the moment the product has limited functionality. The goal is to implement a secured, encrypted infrastructure for the oracle to enable authenticated, genuine HTTP call outs and interchain operability.
  2. Security Audits: Conducting comprehensive security audits to identify and address vulnerabilities, enhancing the overall robustness of the Oracle solution.
  3. Infrastructure Charges: Hosting charges of the serverless functions, virtual machines and shared development environments.
  4. Community Outreach: Organizing workshops, webinars, and developer meetups to educate the community about confidential Oracles and their importance in the blockchain ecosystem.
  5. Documentation: Creating detailed documentation and tutorials to guide developers in integrating our Oracle solution into their projects and fostering widespread adoption.
  6. Hiring: If need be hire an additional member to handle marketing and community outreach

Why Support Us

  1. Innovation: Our project represents an innovative approach to solving the Oracle and Bridge related problems while pushing the boundaries of what is currently possible in the blockchain space.
  2. Community Impact: By developing a decentralized and confidential Oracle solution, we empower developers to build more secure and reliable decentralized applications, enabling growth and innovation within the blockchain community.
  3. Open Source: We are committed to open-source principles, ensuring that our solution remains transparent, accessible, and collaborative.

Team

At the moment we are a team of two full stack developers. I am Krish, a data storage technologist by profession and have been building solutions and apps in web3 since a while now. My team mate is a talented young lad, Arsalan. He is currently pursuing engineering in Computer Science, a prolific builder, marketeer and a creative genius for his age.

Roadmap

  • Phase 1: Revamp to build production level software (Month 1-2)
    • Optimize code to improve performance, security and transaction charges
    • Integrate modules and write the CICD pipeline to run automated tests
  • Phase 2: Development (Month 3-4)
    • Focusing on decentralization, security, and integration with Sapphire blockchain.
    • Implement a bridgeless contract and escrow services on sapphire to enable interchain operability
    • Write tests and improve the CICD pipeline
  • Phase 3: Testing and Optimization (Month 5-6)
    • Conduct extensive testing, including security testing, load testing, and network resilience testing.
    • Optimize the solution for performance and scalability.
  • Phase 4: Community Engagement and Adoption (Month 7-8)
    • Launch the decentralized Oracle solution on the Sapphire blockchain.
    • Engage with the community through workshops, webinars, and developer outreach programs.
    • Provide ongoing support to developers integrating our Oracle solution into their projects.
  • Phase 5: Maintenance ( Month 8 onwards)
    • Maintain code, perform penetration tests and vulnerability scans from time to time
    • Fix bugs and implement new feature requests

Inspiration

Our inspiration to develop this solution stemmed from a shared vision of democratizing access to secure, real-world data within the blockchain ecosystem. Witnessing the immense potential of smart contracts and decentralized applications, we were driven by the need to eliminate the existing limitations that centralized Oracles and bridge contracts impose. We envisioned a future where blockchain technology seamlessly integrates with the external world without compromising on security or decentralization. This vision fueled our passion to innovate, pushing us to explore new horizons in the realm of blockchain interoperability. We were motivated by the belief that true blockchain adoption hinges on creating a trustless environment where smart contracts can autonomously interact with accurate, reliable data from diverse sources. This desire to bridge the gap between blockchain and real-world applications inspired us to embark on this journey, paving the way for a more interconnected, secure, and decentralized digital future.

Tech Stack

DApilink is an open source oracle for sapphire that doesn't need chainlink support to talk to the external world. Below is the current stack and implementation. This will likely go through a change to plug in confidential nodes.

DApilink has 3 primary modules

  1. The client
  2. The contract
  3. The nodes

Let's look at how each module operates:

The client

  • the client is the end user facing app that accepts the api specifications (endpoint, params, body, headers and method)
  • the client interacts with the sapphire contract to mutate the state of the contract with the api spec
  • it listens on events to detect the completion of the job
  • retrieves the cid from the contract and fetches the data from the ipfs gateway

The contract

Aka the brain of this tool. It is the backbone of this implementation. In nutshell it is responsible for the following operations

  • relayer
  • credential manager
  • node manager

Below is how the contract is made to work

  • it takes the user supplied api specifications and updates a structure
  • generates unique string to identify the request and updates a mapping with the specifications
  • it queries the state to fetch an ID of the node to carry out the api invocation after authentication
  • when the node reverts with the data it updates the state with the cid of the search results
  • the client retrieves the cid to fetch the results
  • the contract currently runs on sapphire testnet

The nodes

Aka the oracle are individual nodejs services that does the following

  • performs a login to the contract and registers it self
  • it listens on events from the contract to perform authentication before triggering the job
  • upon authentication it triggers the api request
  • fetches the api response data and uploads to ipfs through a self hosted gateway
  • updates the state of the contract with the cid of the uploaded data

Each node is a VM in Google cloud as of now. But it can be any container hosted anywhere as long as it has an active internet connection

By supporting our project, you are contributing to the advancement of decentralized technology and empowering developers to create more secure and versatile blockchain applications. We are excited about the potential of our confidential Oracle solution and look forward to making a lasting impact on the blockchain ecosystem.

Thank you for considering our application. We are open to any questions or discussions you may have regarding our project. Please feel free to reach out to Krish and/or Arsalan.

DApilink History

  • accepted into Web3 Open Source Software 10 months ago. 132 people contributed $125 to the project, and $240 of match funding was provided.

People donating to DApilink, also donated to

A blockchain-based image and video sharing platform with decentralized identity, storage, and encrypted comments, featuring a customizable feed and live video playback.
Managing and coding for DSPYT, I create and optimize Google-indexed content, analyze Gitcoin data, and boost public awareness of Gitcoin and digital financing.
Dspyt-CodeVerse is dedicated to advancing Web3 through open-source projects, educational resources, and community building, focusing on blockchain and programming languages like Python and JavaScript.
The initiative uses solar power and technology to improve infrastructure in the Global South, creating job opportunities, and providing community charge stations with a prototype ready by Q3 2024.