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

StarkFAAS-Framework

StarkFAAS-Framework enables decentralized computing on StarkNet using WebAssembly, IPFS, and serverless architecture. Build secure, scalable dApps effortlessly.

StarkFAAS-Framework

Created At

StarkHack

Project Description

StarkFAAS-Framework is a modern platform that combines WebAssembly (WASM) computing, IPFS storage and retrieval, and serverless architecture, all powered by the StarkNet blockchain. This framework allows developers to create decentralized applications (dApps) with high efficiency, security, and scalability, while also enhancing the StarkNet ecosystem with strong computational abilities.

Key Features and Components of StarkFAAS-Framework

WebAssembly Computing:

  • Efficient and Scalable: Leverage WebAssembly to achieve high-performance, portable bytecode execution, enhancing computational capabilities within decentralized applications.

  • Enhanced Performance: Utilize the lightweight nature of WASM to deliver fast and reliable computations.

Serverless Architecture:

  • FAAS Platform: Adopt a serverless model for the flexible and cost-effective deployment of dApps without the complexities of managing traditional servers.

  • On-Demand Scaling: Automatically scale functions based on workload demand, ensuring optimal resource utilization.

StarkNet Integration:

  • Blockchain Security: Utilize StarkNet’s zk-rollup-based Layer 2 solution for Ethereum, providing high throughput and low-cost transactions.

  • Smart Contracts: Deploy Cairo smart contracts to securely and verifiably manage WASM CIDs on StarkNet.

  • Decentralized Function Management: Implement smart contracts for function registration, updating, and decentralized verification to ensure trusted execution.

IPFS Integration:

  • Decentralized Storage: Use IPFS to provide secure, decentralized storage and retrieval, ensuring data integrity and availability.

  • Seamless Data Management: Integrate IPFS for efficient, decentralized data storage solutions.

Component Integration and Module Fusion

The architecture of StarkFAAS-Framework integrates various components and modules to provide a robust, decentralized computing platform. Below is an ASCII diagram representing the integration of these components:

+--------------------------------------------------------------------------+
|                              StarkFAAS-Framework                         |
+--------------------------------------------------------------------------+
|                                                                          |
|    +-------------------+     +-------------------+     +-----------------+|
|    |   WebAssembly     |     |       IPFS        |     |     StarkNet    ||
|    |    Computing      |     |    Integration    |     |    Integration  ||
|    +-------------------+     +-------------------+     +-----------------+|
|    |                   |     |                   |     |                 ||
|    |  +--------------+ |     |  +--------------+ |     |  +------------+ |||
|    |  | WASM Runtime | |     |  | IPFS Library | |     |  |  Smart     | |||
|    |  | Integration  |<-------->| Integration  |<-------->|  Contract  | |||
|    |  +--------------+ |     |  +--------------+ |     |  |   Mgmt     | |||
|    +-------------------+     +-------------------+     |  +------------+ |||
|    |                   |     |                   |     |                 ||
|    |  +--------------+ |     |  +--------------+ |     |  +------------+ ||
|    |  | WASM Modules | |     |  | IPFS API     | |     |  | Contracts  | ||
|    |  |  Execution   | |     |  | Integration  | |     |  |   Driven   | ||
|    |  +--------------+ |     |  +--------------+ |     |  |   Arch.    | ||
|    +-------------------+     +-------------------+     +-----------------+|
|                                                                          |
|    +-------------------+     +-------------------+     +-----------------+|
|    |  Extism Plugin    |     | Filecoin-Lassie   |     |   Filecoin      ||
|    |   Management      |     |   Integration     |     |   IPFS Storage  ||
|    +-------------------+     +-------------------+     +-----------------+|
|    |                   |     |                   |     |                 ||
|    |  +--------------+ |     |  +--------------+ |     |  +------------+ |||
|    |  | Plugin Loader| |     |  | Lassie API  | |     |  |  WASM CID   | |||
|    |  | Integration  | |     |  | Integration | |     |  |   File      | |||
|    |  +--------------+ |     |  +--------------+ |     |  |   Mgmt     | |||
|    +-------------------+     +-------------------+     |  +------------+ |||
|                                                                          |
|    +-------------------+     +-------------------+     +-----------------+|
|    |     WASM VM       |     |       Fiber       |     |                 ||
|    |    Execution      |     |     HTTP Server   |     |                 ||
|    +-------------------+     +-------------------+     +-----------------+|
|    |                   |     |                   |     |                 ||
|    |  +--------------+ |     |  +--------------+ |     |                 ||
|    |  |  wazero VM   | |     |  |   Request    | |     |                 ||
|    +-------------------+     +-------------------+     +-----------------+|
+--------------------------------------------------------------------------+

This diagram clearly represents the integration of various components and modules within the StarkFAAS-Framework, showcasing the interactions and dependencies between WebAssembly, IPFS, and StarkNet for a robust decentralized computing platform.

Value Proposition

The StarkFAAS-Framework transforms decentralized computing by offering developers a complete toolkit to create scalable, secure, and efficient dApps. By leveraging WebAssembly, IPFS, serverless architecture, and the StarkNet blockchain, the framework speeds up innovation, builds trust, and advances the development of decentralized applications within the StarkNet ecosystem.

How it's Made

Technical Support

WebAssembly (WASM) Computing:

  • Technology: Leverage WebAssembly for efficient and portable bytecode execution, enabling high-performance computing within the serverless environment.
  • Integration: Seamlessly integrate WebAssembly runtime libraries and tools to compile and execute WASM modules within the framework.

StarkNet Integration:

  • Smart Contracts in Cairo: Develop smart contracts in Cairo to store and manage WASM CIDs on StarkNet, ensuring the integrity and availability of data on the blockchain.
  • Decentralized Function Files Management: Implement smart contracts for the registration, getting,updating, and decentralized verification of functions files, providing trusted and tamper-proof execution.
  • Security and Scalability: Utilize StarkNet’s zk-rollup technology for scalable and secure transactions, ensuring efficient, low-cost operations for dApps.

IPFS Integration:

  • Technology: Use IPFS for decentralized storage and retrieval of data.
  • Integration: Integrate IPFS libraries and APIs for secure, decentralized data management.

Partner Technologies and Benefits:

  • StarkNet Smart Contracts: Ensure secure, scalable, and tamper-proof storage and management of WebAssembly CIDs with Cairo-based smart contracts.
  • Filecoin-Lassie: Enhance IPFS file retrieval, improving data access capabilities within the serverless environment.
  • Extism: Facilitate extensibility and customization through wasm plugins.
  • wazero: Ensure efficient execution of WebAssembly code with wasm virtual machine capabilities.
  • Fiber: Provide high-performance HTTP server functionalities for improved network communication and request handling.

WebAssembly CID Management within StarkNet

+--------------------------------------------------------+
|                    StarkFAAS-Framework                 |
+--------------------------------------------------------+
|                                                        |
|          +------------------+  +------------------+    |
|          |     WebAssembly  |  |    IPFS CID      |    |
|          +------------------+  +------------------+    |
|          |     Manager      |  |     Manager      |    |
|          +--------+---------+  +------------------+    |
|                   |                |                   |
|                   |                |                   |
|          +--------v---------+      |                   |
|          |   WebAssembly    |      |                   |
|          |   CID Manager    |      |                   |
|          +------------------+      |                   |
|          |   Smart Contract |      |                   |
|          |   Integration    |      |                   |
|          +------------------+      |                   |
|                   |                |                   |
|                   |                |                   |
|          +--------v---------+      |                   |
|          |      IPFS        |      |                   |
|          +------------------+      |                   |
|          |   Storage &      |      |                   |
|          |   Retrieval      |      |                   |
|          +------------------+      |                   |
|                   |                |                   |
|                   |                |                   |
|          +--------v---------+      |                   |
|          |    StarkNet      |      |                   |
|          +------------------+      |                   |
|          |  Blockchain &    |      |                   |
|          |  Smart Contracts |      |                   |
|          +------------------+      |                   |
+--------------------------------------------------------+

Within the StarkFAAS-Framework, the WebAssembly CID Manager module is essential for managing WebAssembly Content IDs (CIDs) in the StarkNet ecosystem. This module is closely connected with StarkNet's blockchain and smart contract features, allowing seamless integration and management of WebAssembly CIDs for secure and efficient decentralized computing. The Smart Contract Integration in the WebAssembly CID Manager module ensures that WebAssembly CIDs are securely stored, updated, and verified on StarkNet, offering a trusted and tamper-proof environment for dApp development and execution.

background image mobile

Join the mailing list

Get the latest news and updates