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.

SKILL.md

≈53 tokens for metadata: the name and description. ≈558 when used: this file. ≈852 more on demand in 3 files.

Description uses 2.6% 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 ≈212 characters, or 2.6%.

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 package and generated IDLs. Do not copy deployed addresses or rely on repo-local scripts as an integration API.

Solana SDK and Lookup

When to use

  • You need to derive Doppler Solana addresses from known inputs.
  • You need to fetch or decode launch, CPMM, or migrator accounts.
  • You need to build or inspect initializer hook payloads or migrator payloads with the SDK or IDLs.
  • You are looking for an asset-keyed EVM helper equivalent.

Core workflow

  1. Use SDK address helpers before manual seed assembly.
  2. Use account discriminators plus memcmp filters for discovery.
  3. Decode accounts with SDK codecs before making behavioral claims.
  4. Use published SDK helpers or IDL-generated clients to build initializer payloads.
  5. Treat mint-key lookup as indexer/discovery work, not direct PDA derivation.

Quick facts

Need SDK area
Initializer addresses published @whetstone-research/doppler-sdk/solana initializer helpers
Launch fetch/decode published SDK initializer helpers or IDL-generated clients
CPMM core helpers published SDK Solana exports and idl/*/cpmm.json
CPMM migrator payloads published SDK Solana exports and idl/*/cpmm_migrator.json
Hook payloads launch hookPayload plus hookRemainingAccountsHash
Launch id helper launchIdFromU64
Account discovery getProgramAccounts with discriminator filters

Failure modes

  • Searching for launch state by base mint only.
  • Passing a non-32-byte launch_id.
  • Building migrator payloads manually and exceeding MAX_PAYLOAD.
  • Treating arbitrary hook payload bytes as the cosigner expiry format without validating length, version, and mode.
  • Forgetting account discriminator offset 0.
  • Using stale SDK or IDL versions.

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

    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