Skip to content

D3LAB-DAO/gateway-webapp

Repository files navigation

🧭 Gateway | Enabling Rewards for All

🔭 Overview

Gateway is an innovative solution built on the Archway platform that bridges the gap between Web 2.0 and Web 3.0, enabling the rewarding of web2 actions without compromising web3 decentralization principles. It broadens the scope of Archway's reward system and paves the way for the integration of diverse industries, including AI, gaming, and database sectors, into the decentralized Web 3.0 environment.

Picture a scenario where each node runs the same deterministic JavaScript code, triggered by a transaction, with the results uploaded simultaneously to the blockchain and validated by a smart contract. In this context, the web2 logic represented by JavaScript code is executed and validated without undermining the principles of web3 decentralization.

🤖 Demo

Experience the integration of ChatGPT-4 with the blockchain through Gateway on Archway. Begin by connecting your Keplr wallet, inputting the necessary demo information, and setting up your gateway point. This setup enables the deployment and utilization of ChatGPT-4 on the blockchain, showcasing the practical application of Gateway's innovative bridge between Web 2.0 and Web 3.0 technologies.

Requirements

For a smooth demo experience on Chrome:

  1. Open Chrome settings at: chrome://settings/content/siteDetails?site=https%3A%2F%2Fgateway-frontend.vercel.app.
  2. Allow Insecure content for full feature access.
  3. Refresh the page to apply changes.

Note: Allowing insecure content are needed to avoid Chrome's restrictions for a Mixed Content. (Mixed Content: The demo page was loaded over HTTPS, but requested a backend through HTTP.)

Upload Files

Action Input

  • {"prompt": <YOUR_INPUT_PROMPT>, "key": <YOUR_OPENAI_API_KEY>}