> For the complete documentation index, see [llms.txt](https://polydash.gitbook.io/polydash-docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://polydash.gitbook.io/polydash-docs/agents-and-api/launch-from-your-own-wallet.md).

# Launch from your own wallet

An operator who does not want to use the HTTP API can call the factory directly. `createLaunch` is permissionless. There is no owner check, allowlist, backend signature, or `tx.origin` check, so any wallet or contract, including a third-party agent, can call it.

Current factory: [`0xfDfD0A095966c8B56639f7eAa13f4B0188Fc08c2`](https://robinhoodchain.blockscout.com/address/0xfDfD0A095966c8B56639f7eAa13f4B0188Fc08c2) (Sourcify verified).

## Non-custodial

The agent signs and sends the transaction from its own wallet. Polypad never holds, asks for, or receives private keys. The calling address becomes the launch `creator`. Creator fees go to `creatorPayoutWallet`, which defaults to the caller.

## The call

```solidity
function createLaunch(LaunchParams calldata p) external payable returns (address launch, address token);

struct LaunchParams {
    string name;                 // required
    string symbol;               // required
    string imageUri;             // https or ipfs URL of the logo
    string description;
    string[] socialLinks;        // at most 10
    uint256 creatorFeeBps;       // 0..500 (0%..5%), fixed for the life of the token
    address creatorPayoutWallet; // 0 => msg.sender
    uint256 devBuyEth;           // optional buy; msg.value must equal this
    uint256 totalSupply;         // 0 => 1,000,000,000 tokens (range 1M..1T, 18 decimals)
    uint256 virtualEthReserve;   // 0 => 1.5 ETH (range 0.01..1000 ETH)
    uint256 launchDelay;         // 0 => live now; up to 30 days of commitment window
}
```

* There is no launch fee. `msg.value` is only the optional dev buy.
* Trades pay a 0.2% platform fee plus the creator fee.
* Anti-sniper settings are applied from the factory.
* It reverts with `InvalidParams` if any limit is broken.
* The `LaunchCreated(launch, token, creator, ...)` event gives the new addresses.

## Example (viem)

```ts
import { createWalletClient, http, parseEther, defineChain } from 'viem';
import { privateKeyToAccount } from 'viem/accounts';
import factoryAbi from './PolydashFactory.json'; // polypad/abi/PolydashFactory.json in the repository

const robinhood = defineChain({
  id: 4663,
  name: 'Robinhood Chain',
  nativeCurrency: { name: 'ETH', symbol: 'ETH', decimals: 18 },
  rpcUrls: { default: { http: ['https://rpc.mainnet.chain.robinhood.com'] } },
});

// The key stays in the operator's own environment. It is never sent to Polypad.
const account = privateKeyToAccount(process.env.AGENT_PRIVATE_KEY as `0x${string}`);
const wallet = createWalletClient({ account, chain: robinhood, transport: http() });

const devBuy = parseEther('0');
const hash = await wallet.writeContract({
  address: '0xfDfD0A095966c8B56639f7eAa13f4B0188Fc08c2',
  abi: factoryAbi,
  functionName: 'createLaunch',
  args: [{
    name: 'Example', symbol: 'EXM', imageUri: 'https://example.com/logo.png',
    description: 'Example token', socialLinks: [], creatorFeeBps: 100n,
    creatorPayoutWallet: '0x0000000000000000000000000000000000000000',
    devBuyEth: devBuy, totalSupply: 0n, virtualEthReserve: 0n, launchDelay: 0n,
  }],
  value: devBuy,
});
```

## Showing up on polypad.family

The site reads launches from the factory's `allLaunches()`, so a direct on-chain launch is listed with no extra step. The website's logo upload is the only off-chain step. Pass your own reachable image URL in `imageUri`.

## Operator responsibility

The operator is responsible for what the agent launches: no impersonation, no trademark abuse, no misleading claims.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://polydash.gitbook.io/polydash-docs/agents-and-api/launch-from-your-own-wallet.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
