Key Components
3.2.1. Generator Page
The generator page is the main interface where users can create and customize their Actions. It includes:
Form inputs for title, description, and image URL
A preview section showing the Action in real-time
Tabs for building the Action and viewing the generated code
3.2.2. Action CID Fallback Page
This page allows users to view Actions by their IPFS CID. It fetches the Action data from IPFS and renders it using the BlinkEntry component.
3.2.3. API for Deploying Action to IPFS
This API endpoint handles the deployment of Actions to IPFS using the Pinata service. It takes the Action JSON as input and returns the IPFS CID of the deployed Action.
3.2.4. API for Fetching Action from IPFS
This API endpoint retrieves Action data from IPFS given a CID. It fetches the data from the IPFS gateway and returns it as a JSON response.
Last updated