npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

sdp-explorer

v0.1.0

Published

SDK and CLI explorer for Solana Developer Platform (SDP)

Downloads

144

Readme

sdp-explorer

TypeScript Solana License: MIT

SDK and CLI explorer for the Solana Developer Platform (SDP) — Solana Foundation's enterprise API for stablecoin issuance, payments, and trading.

Modules

| Module | Description | Status | |--------|-------------|--------| | Issuance | Create stablecoins, tokenized deposits, RWAs | Sandbox | | Payments | On-ramp, off-ramp, stablecoin transfers | Sandbox | | Trading | Atomic swaps, vaults, onchain FX | Coming later 2026 |

Installation

git clone <repo-url> && cd sdp-explorer
npm install
npm run build

Environment Variables

| Variable | Required | Default | Description | |----------|----------|---------|-------------| | SDP_API_KEY | Yes | — | Your SDP API key | | SDP_API_URL | No | https://api.platform.solana.com | API base URL | | SDP_NETWORK | No | devnet | Network: devnet, testnet, mainnet-beta |

Copy .env.example to .env and fill in your API key:

cp .env.example .env

SDK Usage

import { SdpSdk } from "sdp-explorer";

const sdk = new SdpSdk({
  apiKey: process.env.SDP_API_KEY!,
  network: "devnet",
});

// Health check
const health = await sdk.healthCheck();

// Create a stablecoin
const coin = await sdk.issuance.createStablecoin({
  name: "Test Dollar",
  symbol: "TUSD",
  decimals: 6,
  initialSupply: 1_000_000,
});

// On-ramp fiat
const onramp = await sdk.payments.createOnramp({
  amount: 1000,
  currency: "USD",
  destinationWallet: "Your11Wa11etPubkey...",
});

// Swap tokens
const quote = await sdk.trading.getSwapQuote({
  fromToken: "USDC",
  toToken: "SOL",
  amount: 100,
});
const swap = await sdk.trading.executeSwap(quote.quoteId);

CLI Usage

# Build first
npm run build

# Health check
npx sdp health

# Issuance
npx sdp issuance create-stablecoin --name "Test Dollar" --symbol TUSD --decimals 6
npx sdp issuance list
npx sdp issuance get <tokenId>
npx sdp issuance mint --token-id <id> --amount 1000 --recipient <pubkey>
npx sdp issuance burn --token-id <id> --amount 500

# Payments
npx sdp payments onramp --amount 1000 --currency USD --wallet <pubkey>
npx sdp payments offramp --amount 500 --currency USD --wallet <pubkey> --bank-account ****1234
npx sdp payments status <paymentId>
npx sdp payments list
npx sdp payments estimate-fees --type onramp --amount 1000 --currency USD

# Trading
npx sdp trading quote --from USDC --to SOL --amount 100
npx sdp trading swap <quoteId>
npx sdp trading vaults list
npx sdp trading vaults create --name "USDC Yield" --strategy yield --tokens USDC
npx sdp trading vaults get <vaultId>
npx sdp trading fx-rate --from USDC --to SOL

Examples

Run any example with tsx:

SDP_API_KEY=<key> npx tsx src/examples/create-stablecoin.ts
SDP_API_KEY=<key> npx tsx src/examples/onramp-flow.ts
SDP_API_KEY=<key> npx tsx src/examples/offramp-flow.ts
SDP_API_KEY=<key> npx tsx src/examples/swap-tokens.ts
SDP_API_KEY=<key> npx tsx src/examples/create-vault.ts

Project Structure

sdp-explorer/
├── src/
│   ├── sdk/           # Core SDK (fetch-based HTTP client + typed modules)
│   │   ├── client.ts  # SdpSdk class, auth, transport
│   │   ├── issuance.ts
│   │   ├── payments.ts
│   │   ├── trading.ts
│   │   ├── types.ts   # Full type definitions
│   │   └── index.ts   # Barrel export
│   ├── cli/           # Commander-based CLI
│   │   ├── index.ts   # Entry point, .env loader
│   │   ├── issuance.ts
│   │   ├── payments.ts
│   │   └── trading.ts
│   └── examples/      # Runnable example scripts
├── package.json
├── tsconfig.json
└── .env.example

License

MIT