कंटेंट पर जाएँ
TakoAPI
स्किल्स पर वापस

lsp28-grid

luksoagent द्वारा

Coding Agents & IDEs
405clawskills.sh द्वारा बताए गए डाउनलोड
4स्टार
0व्यूज़
0 लाइकइस स्किल को लाइक करने के लिए साइन इन करें
—अभी तक कोई रेटिंग नहीं
आपकी रेटिंग

संक्षिप्त

Manage LSP28 The Grid on LUKSO Universal Profiles.

विवरण

यह स्किल क्या करती है

Manages LSP28 The Grid on LUKSO Universal Profiles. Encodes grid layouts containing mini-apps, iframes, and external links into VerifiableURI format and writes them on-chain via the KeyManager.

Handles the LSP28-specific encoding pipeline and KeyManager transaction flow that would otherwise require manually assembling ABI calls and VerifiableURI encoding.

इसे कब इस्तेमाल करें

  • Adding a mini-app tile to a Universal Profile grid
  • Embedding an iframe from an external site into a profile layout
  • Linking to an external URL from a grid cell
  • Updating grid layout data stored on LUKSO mainnet
  • Encoding and deploying structured grid JSON to a Universal Profile

उदाहरण वर्कफ़्लो

इनपुट

User asks: Add a mini-app tile titled 'My DApp' with a pink background to my Universal Profile grid

एजेंट
  1. 1

    Constructs a grid item object with type 'miniapp', required fields backgroundColor, textColor, text, and a unique id

  2. 2

    Wraps item in the full grid structure with isEditable and items array

  3. 3

    Encodes the JSON as a base64 VerifiableURI string

  4. 4

    Encodes a setData call targeting LSP28_GRID_KEY on the Universal Profile

  5. 5

    Sends the payload through KeyManager.execute and waits for transaction confirmation

आउटपुट

Grid updated on-chain; transaction receipt with block number returned

आवश्यकताएँ

  • UP_PRIVATE_KEY environment variable (controller private key for the Universal Profile)
  • UP_ADDRESS environment variable (Universal Profile address)
  • KEY_MANAGER environment variable (KeyManager contract address)
  • LUKSO Universal Profile with controller permissions

इंस्टॉलेशन

clawhub install luksoagent/lsp28-grid

CLI कमांड चलाएँ, या प्रॉम्प्ट को Claude Code, Cursor, Codex या जो भी कोडिंग एजेंट आप इस्तेमाल करते हैं उसमें पेस्ट करें।

लिंक