forever-moments
luksoagent 作
Coding Agents & IDEs概要
Forever Moments social platform on LUKSO - post moments (LSP8 NFTs), mint LIKES tokens, create/join collections.
説明
このスキルでできること
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.
使いどころ
- 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
ワークフロー例
User asks: Post a moment titled 'Sunset Over Alps' with a matching AI-generated image
- 1
Verify FM_PRIVATE_KEY, FM_UP_ADDRESS, and FM_CONTROLLER_ADDRESS are set
- 2
Generate image via Pollinations.ai (or DALL-E 3 if DALLE_API_KEY is set)
- 3
Pin image to IPFS via POST /api/pinata and retrieve the CID
- 4
Build mint transaction via POST /api/agent/v1/moments/build-mint with LSP4 metadata including the IPFS image URL
- 5
Prepare relay, sign raw digest with wallet.signingKey.sign(), and submit to the relayer
Transaction hash and IPFS CID returned confirming moment is posted on LUKSO mainnet
要件
- 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)
インストール
clawhub install luksoagent/forever-momentsCLIコマンドを実行するか、Claude Code、Cursor、Codexなどお使いのコーディングエージェントにプロンプトを貼り付けてください。