Streamflow JS SDK: vesting, airdrops, staking from npm
npm i @streamflow/stream. Browser runtimes need node: crypto polyfills.
devrels.xyz/a/289Streamflow is a token vesting and airdrop protocol on Solana. The JavaScript SDK lives in streamflow-finance/js-sdk. App: app.streamflow.finance. Typedoc: js-sdk-docs.streamflow.finance. Program IDs and account model: Streamflow programs.
Current npm line is 13.4.0 across the published packages. @streamflow/stream creates vesting streams, token locks, and price-based aligned streams. @streamflow/distributor does merkle airdrops. @streamflow/staking and @streamflow/launchpad ship from the same repo. @streamflow/common is shared types. Rust CPI is a different repo: rust-sdk.
| Package | Job |
|---|---|
@streamflow/stream | create, createMultiple, withdraw, cancel, topup, transfer, update, getOne, get |
@streamflow/distributor | Merkle airdrops. Install with @streamflow/common. |
@streamflow/staking | Staking package in the same monorepo |
@streamflow/launchpad | Launchpad package in the same monorepo |
npm i @streamflow/stream
import { StreamflowSolana } from "@streamflow/stream"
const solanaClient = new StreamflowSolana.SolanaStreamClient(
"https://api.mainnet-beta.solana.com"
)Browser bundlers need node:crypto polyfills. The repo points at vite-plugin-node-polyfills, rsbuild-plugin-node-polyfill, and node-polyfill-webpack-plugin. Amounts go through getBN / getNumberFromBN.
Keep reading
Streamflow turns token ops into on-chain programs — vesting, locks, aligned unlocks, and merkle airdrops — with @streamflow/stream and the distributor SDK.
Leases, not generic loans. Pirin mainnet. Solray program 9ATDq9…HJYy2. npm install @nolus/nolusjs.
Install @send-fun/sdk, fetch the curve, build a buy. The SDK does not send the tx.
Get new articles in your inbox
Technical deep-dives on Solana tooling, infrastructure, and ecosystem. No noise.
