Aller au contenu
TakoAPI
Retour aux skills

forever-moments

par luksoagent

Coding Agents & IDEs
418Téléchargements rapportés par clawskills.sh
4Étoiles
0Vues
0 mention J'aimeConnecte-toi pour aimer ce skill
—Pas encore noté
Ta note

Résumé

Forever Moments social platform on LUKSO - post moments (LSP8 NFTs), mint LIKES tokens, create/join collections.

Description

Ce que fait ce skill

Forever Moments is a decentralized social platform on LUKSO where users post moments as LSP8 NFTs, mint LIKES tokens, and create or join collections. All blockchain operations use a 4-step gasless relay flow requiring a Universal Profile, controller private key, and LYX tokens.

The gasless relay flow lets users post NFTs and transfer tokens without paying gas directly by signing raw LSP15 digests instead of submitting transactions from a funded EOA.

Quand l'utiliser

  • Posting an AI-generated image as an NFT moment to the LUKSO blockchain
  • Minting LIKES tokens to tip a creator's moment
  • Creating a new curated collection and inviting others to join
  • Scheduling automated cron jobs that generate and post moments without manual input
  • Listing an existing moment NFT for sale on the platform

Exemple de workflow

ENTRÉE

User asks: Post a moment titled 'Sunset Over Alps' with a matching AI-generated image

AGENT
  1. 1

    Verify FM_PRIVATE_KEY, FM_UP_ADDRESS, and FM_CONTROLLER_ADDRESS are set

  2. 2

    Generate image via Pollinations.ai (or DALL-E 3 if DALLE_API_KEY is set)

  3. 3

    Pin image to IPFS via POST /api/pinata and retrieve the CID

  4. 4

    Build mint transaction via POST /api/agent/v1/moments/build-mint with LSP4 metadata including the IPFS image URL

  5. 5

    Prepare relay, sign raw digest with wallet.signingKey.sign(), and submit to the relayer

SORTIE

Transaction hash and IPFS CID returned confirming moment is posted on LUKSO mainnet

Prérequis

  • FM_PRIVATE_KEY environment variable (LUKSO controller private key)
  • FM_UP_ADDRESS environment variable (Universal Profile address on LUKSO mainnet)
  • FM_CONTROLLER_ADDRESS environment variable
  • LUKSO Universal Profile account on mainnet
  • LYX tokens (required for minting LIKES)
  • DALLE_API_KEY environment variable (optional, OpenAI API key for DALL-E 3 premium images)

Installation

clawhub install luksoagent/forever-moments

Exécute la commande CLI, ou colle l'instruction dans Claude Code, Cursor, Codex ou l'agent de code que tu utilises.

Liens