Token metadata
Every token carries full metadata, like any launch on Montra: a name, a symbol, an image, a description and links. It's fixed at launch, for every template and for every play token, and readable on chain the way Montra tokens are.
What's fixed at launch
Buys BTC at 3×, takes profit at +2%, stops at −1%, repeats.
| Part | What's in it |
|---|---|
| Name and symbol | The token's ERC-20 name and ticker. Styled letters become ordinary ones (full-width BTC is BTC). Characters that don't show are refused in the name and the description: direction marks, zero-width spaces and joiners, so emoji built with a joiner too. A ticker is 1–12 letters A–Z and digits. |
| Links | Website, X, Telegram and Discord: https only, no name before an @, and an address that mixes alphabets (a Cyrillic letter in a Latin name, punycode look-alikes too) is refused. |
metadataURI | A document { name, symbol, description, image, website, twitter, telegram, discord } at an ipfs:// or https:// URI. |
profile | { logo, description, socials: { telegram, twitter, discord, website, extra } } |
metadataURI{ name, symbol, description, image, website, twitter, telegram, discord } at an ipfs:// or https:// URI.profile{ logo, description, socials: { telegram, twitter, discord, website, extra } }On chain
- The factory writes the metadata to
CoreposProfilesin the launch transaction. - It checks the links first:
ipfs://orhttps://for images and documents,https://for links, with length limits. - Nothing can change it after launch.
- On the site, a token's image shows only when Corepos hosts it or it's on IPFS; any other image is hidden and the coin's icon shows instead. Each link shows its host next to its icon (xn-- form for non-Latin hosts), and a name or ticker that looks like another token's gets a “Similar to …” notice.
- A play token (the
CoreposBundlecontract) carries the same:CoreposBundles.create(legs, weights, name, symbol, metadataURI, profile)takes it at launch, and each one answersgetTokenInfo(),logo(),description(),socials()anddeployer()on its own address. See Launch a play token.
The token's calls
Every token answers Montra's calls on its own address (interface ICoreposToken), so terminals and explorers that read Montra tokens read Corepos tokens the same way.
| Call | Returns |
|---|---|
getTokenInfo() | The token's info in one call, the way Montra tokens answer it |
contractURI() | The metadata document's URI |
tokenURI() | The same URI, for readers that ask for it by this name |
metaURI() | The same URI |
logo() | The logo's URI |
description() | The description |
socials() | Telegram, X, Discord, website and an extra link |
deployer() | The address that launched the token |
getTokenInfo()contractURI()tokenURI()metaURI()logo()description()socials()deployer()Uploading
The launch form uploads the image and the document for you, through the Corepos API, mirroring Montra's routes, and only when you launch: right before your wallet signs, the image goes up, then the document. Until then both stay in your tab, so filling in the form sends nothing anywhere.
| Route | Takes | Limits | Returns |
|---|---|---|---|
POST /api/metadata/image | The raw bytes of a PNG, JPEG, WebP or GIF, checked by their magic bytes | 2 MB and 4096 × 4096 pixels, 20 an hour per IP | { uri, url, sha256 } |
POST /api/metadata | { name, symbol, description, image, website?, twitter?, telegram?, discord? }; the rules above | Name ≤ 64, ticker 1–12, description ≤ 1,000 characters, 30 an hour | { uri, url } |
POST /api/metadata/image{ uri, url, sha256 }POST /api/metadata{ name, symbol, description, image, website?, twitter?, telegram?, discord? }; the rules above{ uri, url }Each image is re-encoded to a 512 px WebP and its metadata (camera, GPS and the like) is stripped before it's stored; an animated GIF keeps its first frame. Files are stored on IPFS through Pinata, or, without it, by content hash and served from /metadata/{sha}. The same bytes always give the same URI.
- The form checks an image when you pick it: a PNG, JPEG, WebP or GIF of at most 2 MB that opens as an image. At launch the server can still refuse it (over 4096 × 4096 pixels, or uploads paused for a while: too many at once, or storage full), and the launch says why.
- Uploads work from corepos.xyz. On any other copy of the site (a test deployment, your own machine) the image stays a local preview in your tab.