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 등 사용하는 코딩 에이전트에 붙여넣으세요.