prepare_launch · Prepare a market launch for your own key to sign
may change things: you confirm before it runsLaunch a new ADEXTO market without handing over a key. Call it once without a signature: it checks the ticker, the chain and an optional ERC-8004 agent you own, and returns an attestation message for the deployer to sign (EIP-191). Call it again with the same arguments plus attestationMessage and attestationSignature: it anchors the launch metadata and returns the unsigned deployTrinity transaction (value 0, gas only), simulated from your address, with a gas estimate. Fee preset: 1.00% per trade, 0.70% to the creator. All supply goes into the curve; the creator gets no allocation. After the transaction is mined, call register_launch. The attestation message ends with an acceptance of the ADEXTO Terms and Acceptable Use Policy (adexto.xyz/terms): signing it is the deployer's acceptance, and markets that break the policy are removed from ADEXTO.
Input schema
{
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"chainId": {
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 9007199254740991,
"description": "Chain to launch on: 143 Monad, 42161 Arbitrum One, 4663 Robinhood Chain, 8453 Base, 5042 Arc, 16661 0G."
},
"name": {
"type": "string",
"minLength": 1,
"maxLength": 64,
"description": "Token name, up to 64 bytes."
},
"symbol": {
"type": "string",
"minLength": 2,
"maxLength": 12,
"description": "Ticker, 2 to 12 letters A-Z or digits. Permanent on chain."
},
"deployer": {
"type": "string",
"pattern": "^0x[a-fA-F0-9]{40}$",
"description": "Address that signs the attestation and sends the launch transaction. It becomes the market's creator and receives the creator fee."
},
"agentId": {
"description": "ERC-8004 agent id on this chain to bind to the token, owned by the deployer. Omit to launch unbound.",
"type": "string",
"pattern": "^\\d{1,78}$"
},
"description": {
"description": "One-line pitch shown on the market page.",
"type": "string",
"maxLength": 280
},
"website": {
"description": "Project website URL, shown on the market page. https:// is assumed when no scheme is given.",
"type": "string",
"maxLength": 200
},
"x": {
"description": "X handle or URL.",
"type": "string",
"maxLength": 200
},
"github": {
"description": "GitHub URL of the project, shown on the market page.",
"type": "string",
"maxLength": 200
},
"docs": {
"description": "Documentation URL, shown on the market page.",
"type": "string",
"maxLength": 200
},
"image": {
"description": "Logo as a base64 data URI (image/png, image/jpeg or image/webp). Omit for the default logo.",
"type": "string",
"maxLength": 200000
},
"category": {
"description": "Market category shown on the explorer.",
"type": "string",
"enum": [
"defi",
"agents",
"meme",
"gaming",
"infra",
"rwa",
"social",
"other"
]
},
"attestationMessage": {
"description": "Second call only: the message the first call returned.",
"type": "string",
"maxLength": 400
},
"attestationSignature": {
"description": "Second call only: the deployer's EIP-191 signature of it.",
"type": "string",
"maxLength": 200
}
},
"required": [
"chainId",
"name",
"symbol",
"deployer"
]
}