When users deposit into your vault, they receive LP tokens. By default, these tokens have no metadata — wallets will display them as "Unknown Token." Setting up metadata ensures a proper user experience.
Why Metadata Matters
Wallets (Phantom, Solflare, etc.) display the token name, symbol, and image
Jupiter and other aggregators use metadata for token identification
Host a JSON file with the following structure at a publicly accessible URL:
{"name":"My Vault LP","symbol":"mvLP","description":"LP token for My Vault on Voltr","image":"https://your-domain.com/vault-logo.png"}
Hosting Options
Option
Pros
Cons
GitHub repository
Free, version controlled, reliable
Public repo required
Arweave/IPFS
Permanent, decentralized
Small cost, immutable (can't update)
Your own domain
Full control
Requires hosting
Recommended: Host your metadata JSON and logo image in a GitHub repository. See github.com/ranger-finance/assets for an example of how to structure your assets.
Create or Update Metadata via SDK
Use the createCreateLpMetadataIx instruction to attach metadata to your vault's LP token:
Only the admin can create or update LP token metadata.