Bỏ qua tới nội dung
TakoAPI
Quay lại kỹ năng

forever-moments

bởi luksoagent

Coding Agents & IDEs
418Lượt tải do clawskills.sh công bố
4Sao
0Lượt xem
0 lượt thíchĐăng nhập để thích kỹ năng này
—Chưa có đánh giá
Đánh giá của bạn

Tóm tắt

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

Mô tả

Kỹ năng này làm gì

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.

Khi nào nên dùng

  • 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

Quy trình ví dụ

ĐẦU VÀO

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

ĐẦU RA

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

Yêu cầu

  • 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)

Cài đặt

clawhub install luksoagent/forever-moments

Chạy lệnh CLI, hoặc dán prompt vào Claude Code, Cursor, Codex hay coding agent bạn đang dùng.

Liên kết