project screenshot 1
project screenshot 2
project screenshot 3
project screenshot 4

Pod Protocol

Pod Protocol: decentralized serverless functions and graph databases

Pod Protocol

Created At

HackFS 2022

Project Description

Pod Protocol provides decentralized Serverless Functions, traceable data and GraphQL query services. The most important thing is: this is all done without Gas, so Pod can handle things that are inconvenient in the chain very well. WASM enables trusted functions to run on decentralized nodes. Pod Protocol implements a traceable logging chain through the addition of logs and IPLDs only, which can be used to build traceable data between nodes by continuously querying the history through the IPLDs, and can replace consensus between nodes. Data can also be easily queried via GraphQL.

How it's Made

  1. Build: compile functions into WASM using AssemblyScript (looks similar to TypeScript) and upload it to IPFS with a configuration file, the CID is the Pod id
  2. Deploy: submit the Pod id to the node to complete the deployment
  3. Call: The user sends the command to the node, which checks the input command and runs it through the WASM virtual machine. If it executes successfully, the node will store the command log as a chain via IPLD. If the execution fails, the data will be rolled back. Other nodes can trace back all the way to the beginning CID based on the last CID and complete the data construction
  4. Query: querying the stored data via GraphQL
background image mobile

Join the mailing list

Get the latest news and updates