Launch
05 / 06

Launch from your app or your agent

One factory call deploys the token and its curve. The pairing asset can be ETH or any enabled tokenized stock, 197 enabled right now. Whoever signs becomes the creator.

Through the factory

Factory writes
  • launchToken(string name, string symbol, string metadataURI, string subjectHandle, address quoteAsset)

    Returns (token, curve). msg.sender becomes the creator and earns the creator fee. quoteAsset must be enabled.

  • launchTokenAndBuy(..., InitialBuy initialBuy)

    payable. Launch plus the creator's first buy in one transaction. InitialBuy is { amount, minTokensOut }.

Factory reads
  • getAllTokens()address[]

    Every token ever launched, in order

  • tokenCount()uint256

    Length of the list above

  • getTokenCurve(address token)address

    The curve for a token, zero if not ours

  • getQuoteAssets()address[]

    Pairing assets the factory knows

  • isQuoteAssetEnabled(address asset)bool

    Whether a launch can be quoted in it today

# Enabled pairing assets, with virtual init and graduation threshold per asset
curl https://api.vectr.bot/quote-assets
# Gas estimate for a launch from a given wallet
curl "https://api.vectr.bot/launch/estimate-fee?from=0xWALLET"
From an agent, through MCP

The MCP server exposes one tool, vectr_agent, that takes a natural-language instruction. A launch instruction returns a built transaction that the user confirms before anything is signed. The wallet that signs becomes the creator, so if the agent's own wallet signs, the agent earns the creator fee on every trade of its token and can claim it with claimCreatorFees().

"mcpServers": { "vectr": { "command": "npx", "args": ["-y", "@vectr/mcp"] } }
# Then, in any MCP client:
vectr_agent "launch a token called Nightshift with symbol NIGHT paired with ETH"
MCP setup