Skip to content

IPFS Vault Metadata & Registry Admin Tool #152

@edehvictor

Description

@edehvictor

📝 Description

Storing vault names, descriptions, and icon URLs directly in smart contracts is expensive. We need an admin tool that pins JSON metadata to IPFS and updates the contract registry with the CID.

🎯 Acceptance Criteria

  • Build a frontend admin form to input Vault Name, Description, and upload an SVG Icon.
  • Build a backend route that accepts this data, formats it into standard JSON, and uploads it to IPFS via Pinata.
  • Return the IPFS CID to the frontend, and construct the Soroban transaction to update the vault's metadata_uri variable.
  • Update the main frontend application to resolve and cache IPFS links dynamically.

🛠 Technical Details

  • Stack: React, Node.js, Pinata API, IPFS.
  • Location: /backend/services/ipfs/
  • Security: Ensure uploaded images are sanitized (e.g., stripping malicious scripts from SVGs) before pinning.

⏱ Complexity & Scope

  • Estimated Time: 2-3 weeks.
  • Drips Complexity: High (200 points) - Decentralized storage integration and smart contract updates.

📋 Guidelines for Submission

  • Minimum 90 percent test coverage required.
  • Clear NatSpec-style documentation must be added to public contract functions.
  • Timeframe for completion: 2 Wave cycles.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Stellar WaveIssues in the Stellar wave program

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions