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

/solana-sdk-and-lookup

@4f654fe
Run it yourself

Use doppler-sol IDLs and the published TypeScript SDK for address derivation, account decoding, launch discovery, hook payload decoding, migrator payload encoding, and RPC lookup patterns.

Use this Skill: https://skilld.dev/gh/whetstoneresearch/doppler-skills/solana-sdk-and-lookup

Nothing lands on disk. Nothing to clean up.

Fork this Skill

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

referencesPAYLOADS.md

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

SDK Payload Rules

Initializer stores hook and migrator payloads in fixed buffers.

Limits:

  • MAX_PAYLOAD = 256
  • unused bytes are zeroed by program-side buffer handling

Use published SDK encoders or IDL-generated clients when available.

Cosigner hook expiry payload

The cosigner hook recognizes only these hook payload shapes:

Shape Meaning
Empty payload Expiry disabled; cosigner signature is required while the initializer launch is trading.
42-byte payload Expiring gate with version, mode, expiry value, and cosigner hint.

The 42-byte layout is:

byte 0      = version, currently 1
byte 1      = mode, 1 for Unix timestamp or 2 for slot
bytes 2..10 = little-endian u64 expiry value
bytes 10..42 = cosigner pubkey hint

Invalid non-empty payloads fall back to signature-required behavior. An encoded disabled mode is not canonical; use an empty payload for no-expiry behavior.

For expiring cosigner launches, compute hookRemainingAccountsHash over:

[namespace, cosigner_config, cosigner]

cosigner_config is the PDA derived from seed cosigner_hook_config under the selected cosigner hook program. The cosigner pubkey is duplicated in the payload as a public hint so clients can reconstruct the committed remaining accounts after expiry without holding the cosigner key.

Manual payload encoding is a common source of launch and migration failures. If a hook or migrator instruction fails before its business logic, check discriminator bytes, buffer length, commitment hashes, and account order first.

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 guidance for developers using the Doppler Solana protocol and its associated TypeScript SDK. It follows security best practices by recommending official SDK methods over manual byte manipulation and includes validation logic for decoding external data.

  • 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-sdk-and-lookup