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

Integrate and verify doppler-sol external hook programs for Initializer curve swaps and CPMM swaps/liquidity actions, including cosigner-hook expiry payloads, CPI return data, and remaining-account behavior.

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

Nothing lands on disk. Nothing to clean up.

Fork this Skill

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

referencesREMAINING-ACCOUNTS.md

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

Hook Remaining Accounts

Hook programs often need extra accounts beyond the core instruction account list.

Initializer

Initializer appends launch.hook_payload to the serialized hook context and forwards caller-supplied remaining accounts into the hook CPI.

For the cosigner hook, the committed swap remaining-account list is:

[namespace, cosigner_config, cosigner]
  • namespace is the launch namespace stored on the launch.
  • cosigner_config is the PDA derived from seed cosigner_hook_config under the selected cosigner hook program.
  • cosigner is the configured cosigner pubkey. Before expiry it must be a readonly signer. After expiry it can be passed readonly without a signature, but it is still part of the committed account list.

Cosigner hook integrations should derive the config PDA under the selected hook program id from the deployment configuration.

CPMM

CPMM expects the hook program account in the instruction accounts and forwards additional remaining accounts to the hook CPI, excluding signer and denied accounts.

Debugging

If a hook unexpectedly rejects or returns no data:

  • verify the stored hook program id
  • verify the action flag is enabled
  • verify the hook program account is present
  • verify each expected policy account is present and ordered correctly
  • for cosigner hooks, verify the hash was computed over [namespace, cosigner_config, cosigner]
  • check whether the current action fails open or fail closed on missing return data

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

    This skill provides technical documentation and integration guides for Solana hook programs. It contains only informational markdown content with no executable scripts, external network requests, or sensitive data access.

  • 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-hooks