
Security News
Ruby's Bundler 4.0.18 Extends Cooldown to bundle lock and bundle cache
The supply chain control that delays freshly published gems now covers lockfile generation and gem vendoring in Ruby projects.
@solinkify/pay
Advanced tools
Solinkify Pay server-side SDK — hosted checkout sessions and ready-to-sign Solana payment transactions (USDC/USDT, on-chain fee split).
Server-side SDK for Solinkify Pay — accept stablecoin payments (USDC / USDT on Solana) from any backend with a hosted checkout. Funds settle merchant-side with the fee split enforced on-chain (99% merchant); Solinkify never holds your money.
Already using WooCommerce, OpenCart, or PrestaShop? Use the ready-made plugins instead. Just need a button on a static site? Use the embeddable widget. This SDK is for custom backends.
npm install @solinkify/pay
Node ≥ 20.19 (built-in fetch).
import { SolinkifyPay } from '@solinkify/pay';
const pay = new SolinkifyPay();
// 1. Create a session when the buyer checks out
const session = await pay.createCheckoutSession({
merchantWallet: 'YOUR_SOLANA_WALLET',
amount: 19.99, // in `currency` below
currency: 'USD', // non-USD (EUR, IDR, ...) is FX-converted
orderId: 'INV-1042',
tokenMint: 'USDC', // USDC | USDT (or a mint address)
returnUrl: 'https://store.com/thanks',
cancelUrl: 'https://store.com/cart',
});
// 2. Redirect the buyer
res.redirect(session.checkoutUrl); // hosted page: connect wallet → pay
// 3. Confirm server-side (webhook-free polling or on the return redirect)
const record = await pay.getSession(session.sessionId);
if (record.status === 'paid') {
// fulfil the order
}
The buyer pays on solinkify.com/checkout/<session> — wallet connect, amount and
token pinned to the session, on-chain verification. Sessions expire automatically
if unpaid.
| Method | Purpose |
|---|---|
createCheckoutSession(params) | Create a hosted checkout session → { sessionId, checkoutUrl, expiresAt } |
getSession(id) | Read a session (status: pending / paid / expired) |
verifySession(id, { buyerWallet, signature }) | Submit a payment proof for verification (used by custom checkout UIs) |
listSessions(merchantWallet, limit?) | Merchant's sessions, newest first |
createPaymentTransaction(params) | Advanced: ready-to-sign Solana transaction for embedded wallet UX |
Skip the hosted page and build the payment into your own UI — the returned transaction already carries the on-chain fee split (99% merchant) and routes through the Solinkify DePIN relay network when available:
const tx = await pay.createPaymentTransaction({
merchantWallet: 'MERCHANT_WALLET',
buyerWallet: 'BUYER_WALLET',
amount: 1.5, // token units (1.5 USDC)
orderId: 'INV-1042',
tokenMint: 'USDC',
});
// hand `tx` to the buyer's wallet to sign & send,
// then verifySession / your own confirmation flow
new SolinkifyPay({ apiUrl: 'https://api.solinkify.com' }); // default
MIT © Solinkify
FAQs
Solinkify Pay server-side SDK — hosted checkout sessions and ready-to-sign Solana payment transactions (USDC/USDT, on-chain fee split).
The npm package @solinkify/pay receives a total of 17 weekly downloads. As such, @solinkify/pay popularity was classified as not popular.
We found that @solinkify/pay demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
The supply chain control that delays freshly published gems now covers lockfile generation and gem vendoring in Ruby projects.

Security News
During a UK cyber test, a Mythos 5 agent used sockpuppets, social engineering, and prompt injection to try to get a maintainer to merge malware.

Company News
Socket is now in the AWS Security Hub Extended plan. Adopt it through AWS, apply committed spend, and block malicious open source packages.