Index of every page on this site: llms.txt
All skills
whetstoneresearch avatar

/solana-launch-initializer

@4f654fe
Run it yourself

Canonical reference for doppler-sol launch creation, bonding-curve trading, hook configuration, cosigner-gated launch payloads, migration handoff, authorized no-migrator launches, launch fee state, and initializer PDA semantics.

Use this Skill: https://skilld.dev/gh/whetstoneresearch/doppler-skills/solana-launch-initializer

Nothing lands on disk. Nothing to clean up.

Fork this Skill

Edit a local copy. It keeps the author and licence.

SKILL.md

≈64 tokens for metadata: the name and description. ≈910 when used: this file. ≈1k more on demand in 3 files.

Description uses 3.2% of example budget

Before choosing a Skill, your Agent reads its name and description. All available Skills share that space.

  • A shorter description leaves more room for other Skills. This entry exceeds our 1% size suggestion.

In our Claude Code example, all Skill names and descriptions share 8,000 characters. This Skill uses ≈256 characters, or 3.2%.

The 1% threshold is a size suggestion. Longer descriptions can still fit.

Your model, settings, and other Skills decide how much text your Agent can read.

Example settings and source

The example uses a 200k-token context and default Claude Code settings. The count includes the name, description, separators, and when_to_use when present. Codex also counts local file paths.

Skit's source and limits: Codex 0.160.1, Claude Code 2.1.292.

Consumer Source of Truth: Use the published @whetstone-research/doppler-sdk Solana helpers and generated IDLs for launch addresses, instructions, and account decoding.

Solana Launch Initializer

When to use

  • You are creating, inspecting, or supporting a Solana Doppler launch.
  • You need the Solana equivalent of the Airlock launch lifecycle.
  • You need launch PDA lookup, launch phases, curve swap behavior, cosigner hook gating, or authorized no-migrator semantics.

Mental model

The Initializer is the Solana launch entrypoint. It creates the base mint, launch vaults, launch state, launch fee state, optional hook configuration, and optional migrator configuration.

Do not map it one-to-one to EVM Airlock modules. Solana uses one initializer program with external CPI hooks and migrators.

Core workflow

  1. Create or fetch the global InitConfig address with SDK helpers.
  2. Ensure intended migrator and hook programs are allowlisted, unless using Pubkey::default() for none.
  3. Derive launch, launch authority, and launch fee state addresses from (namespace, launch_id) with SDK helpers.
  4. Call initialize_launch with base supply partitions, curve parameters, trading flags, hook config, payload commitment hashes, fee beneficiaries, and migrator config.
  5. Trade through curve_swap_exact_in or preview with preview_swap_exact_in.
  6. If a migrator is configured, call migrate_launch after conditions are met.
  7. If no migrator is configured, confirm the launch has an authority and treat the initializer curve as the terminal venue.

Quick facts

Item Detail
Program Initializer
Config PDA [b"config"]
Launch PDA [b"launch", namespace, launch_id]
Launch authority PDA [b"launch_authority", launch]
Launch fee state PDA [b"launch_fee_state", launch]
Trading phase PHASE_TRADING = 0
Migrated phase PHASE_MIGRATED = 1
Abort phase PHASE_ABORTED = 2
Buy direction TRADE_DIRECTION_BUY = 0
Sell direction TRADE_DIRECTION_SELL = 1
Supported curve XYK with virtual reserves
Payload buffer PayloadBuf, max 256 bytes
Empty cosigner hook payload signature-required gate until migration
Expiring cosigner hook payload 42 bytes; version, expiry mode, expiry value, cosigner hint

Failure modes

  • Looking up a launch by asset mint instead of (namespace, launch_id).
  • Treating Pubkey::default() as an allowlisted real program instead of the "none" hook/migrator marker.
  • Forgetting reserved base: curve trading excludes base_for_distribution + base_for_liquidity.
  • Passing migrator payloads or nonzero base_for_liquidity for a no-migrator launch.
  • Passing nonzero hook or migrator remaining-account commitment hashes when the corresponding path is disabled.
  • Using an expiring cosigner hook payload without committing the matching [namespace, cosigner_config, cosigner] remaining-account hash.
  • Creating a permissionless launch without a migrator; permissionless launches require a migrator and non-empty migrate payload.
  • Assuming no-migrator is the same as EVM NoOpMigrator; it is different by design.
  • Omitting hook or migrator remaining accounts required by the configured external program.

References

Related skills

Source: SKILL.md on GitHub

No rule matched.

skilld matched fixed text patterns in SKILL.md and file names. Patterns miss obfuscated code.

skilld run checks every file with the same patterns. It asks for approval before it loads a Skill with a behavior marked Needs approval.

1 warning4mo3 checks · Risk SAFE
  • Gen Agent Trust Hub4mo

    The skill provides technical documentation and workflow instructions for a Solana-based launch protocol (Doppler). It contains no malicious code, obfuscation, or unauthorized data access patterns. All referenced external resources are official SDKs from the skill's author.

  • Socket4mo

    No alerts

  • Snyk4mo

    Risk: MEDIUM · 1 issue

Signed by skilld at 4f654fe. This ties the file your Agent reads to that commit on GitHub. It does not review the instructions.

Last checked against GitHub 2 months ago.

Steadyupdated 5 months ago
metadata
{
  "author": "doppler",
  "version": "1.0"
}

README badge

README badge for whetstoneresearch/doppler-skills/solana-launch-initializer