Standard Deployment w/Custom Reward Splits

Deploy a new token with Clanker's standard configuration and custom split configurations (via Splits) for reward distribution.

POST https://www.clanker.world/api/tokens/deploy/with-splits

Headers:

x-api-key: your_api_key
Content-Type: application/json

Request Body Parameters:

Parameter
Type
Description

name

string

The name of your token

symbol

string

Token symbol (usually 3-4 characters)

image

string

URL to the token's image

requestorAddress

string

Ethereum address where 40% of creator rewards will be sent

requestKey

string

Unique 32-character identifier for idempotency

splitAddress

string

Address of the Splits contract for reward distribution

Example Request:

curl -X POST 'https://www.clanker.world/api/tokens/deploy/with-splits' \
-H 'Content-Type: application/json' \
-H 'x-api-key: your_api_key' \
-d '{
  "name": "Test Token",
  "symbol": "TEST",
  "image": "https://example.com/image.png",
  "requestorAddress": "0x1234567890123456789012345678901234567890",
  "requestKey": "unique_request_identifier",
  "splitAddress": "0x935Ce0B6bBE179B45061BD5477A4BBA304fc3FFe"
}'

Split Contract Requirements

When using custom Splits contracts, ensure your split contract meets these criteria, otherwise the request will be rejected:

  • Allocate 34% of the Split to this address as the first recipient: 0x1eaf444ebDf6495C57aD52A04C61521bBf564ace

  • The Controller must be set as None (immutable)

  • The remaining distribution may be customized according to your needs

Notes

Request Key Generation

  • Generate a unique 32-character string for each request

  • This is used as an idempotency key to prevent duplicate token deployments

Creator Rewards

  • 40% of creator rewards will accrue to the requestorAddress

  • Ensure the provided address is correct and accessible

Last updated