Index of every page on this site: llms.txt
All skills
Run it yourself

Reference for doppler-sol CPMM pools, positions, swaps, liquidity, protocol fee positions, oracle accounts, hooks, and PDA-based pool addressing.

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

Nothing lands on disk. Nothing to clean up.

Fork this Skill

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

referencesPDAS.md

≈229 tokens on demand. Your agent reads this file only when SKILL.md points to it.

CPMM PDAs

Seeds

PDA Seeds
AmmConfig [b"config"]
Pool [b"pool", token0_mint, token1_mint]
authority [b"authority", pool]
Position [b"position", pool, owner, position_id_le_bytes]
protocol_fee_owner [b"protocol_fee_owner", pool]
protocol_fee_position [b"position", pool, protocol_fee_owner, 0]
OracleState [b"oracle", pool]

Pool mints are canonically ordered by raw pubkey bytes. Passing token0_mint and token1_mint in the wrong order fails initialization.

Position IDs

position_id is caller-chosen. There is no global counter. A user can own multiple positions for the same pool by choosing distinct ids.

Protocol position

Every pool stores protocol_fee_position. Protocol fee share minting can increase this position's shares, so it must be included in liquidity paths that mint or redeem protocol shares.

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 warning5mo3 checks · Risk SAFE
  • Gen Agent Trust Hub5mo

    This skill is a technical reference for Solana CPMM (Constant Product Market Maker) protocols, providing documentation on PDA derivation, pool accounting, and oracle structures. It consists entirely of informational markdown files with no executable components or security risks detected.

  • Socket5mo

    No alerts

  • Snyk5mo

    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 6 months ago
metadata
{
  "author": "doppler",
  "version": "1.0"
}

README badge

README badge for whetstoneresearch/doppler-skills/solana-cpmm