
Security News
Axios Maintainer Confirms Social Engineering Attack Behind npm Compromise
Axios compromise traced to social engineering, showing how attacks on maintainers can bypass controls and expose the broader software supply chain.
twinkle-sdk
Advanced tools
Gasless payments for AI agents using MNEE. SDK for the x402 protocol with USDC-to-MNEE bridge support.
Powering Agentic Commerce with Gasless MNEE Settlement & Native Monetization.
Twinkle is an Institutional-Grade SDK for the x402 (Payment Required) ecosystem. It provides AI agents with the ability to discover, negotiate, and settle payments gaslessly using MNEE (The Agentic Stablecoin), while offering a seamless "Universal Bridge" for legacy USDC users.
| Feature | Twinkle (MNEE) | Traditional (USDC) |
|---|---|---|
| Gas Cost | Gasless (Facilitator Covered) | Heavy (Approval + Transfer) |
| UX Flow | Atomic (Signature only) | Complex (Multi-step) |
| Monetization | Native 5% Dev Fee | Manual/Social Layer |
| Onboarding | Instant Bridge (USDC/MNEE) | Friction-Heavy |
| Loyalty | Automated Rebates | None |
Twinkle features a first-of-its-kind Universal Bridge that captures legacy USDC traffic and settles natively in MNEE. When a service provider requests USDC, the SDK provides the agent with a "Migration Quote"—showing the gas savings and loyalty rebates gained by switching to MNEE.
sequenceDiagram
participant Agent as AI Agent (USDC Only)
participant SDK as Twinkle SDK
participant Fac as Facilitator
participant DEX as Uniswap V3
participant Provider as Provider (MNEE)
SDK->>Agent: "Detected USDC request. Switch for $2.50 savings?"
Agent->>SDK: Signs USDC Permit2 Intent
SDK->>Fac: Signed Intent + Conversion Meta
Fac->>Fac: Pull USDC via Permit2
Fac->>DEX: Atomic Swap (USDC -> MNEE)
Fac->>Provider: Settle MNEE Payment
Fac->>Agent: Send MNEE Rebate (Adoption Reward)
Initialize the TwinkleAgent with your developer address to start earning 5% fees automatically.
const agent = new TwinkleAgent({
privateKey: process.env.AGENT_KEY,
developerAddress: "0xYourDevWallet",
autoSwitch: true, // Enable the Adoption Engine
});
Simply call any x402-enabled API. The SDK handles the 402 redirects and Permit2 signing.
const result = await agent.fetch("https://premium-agent-service.com/api");
Gate your AI services with the TwinkleServer middleware.
app.get("/api/resource", twinkleServer.middleware(), (req, res) => {
res.json({ message: "Content Unlocked via Gasless MNEE" });
});
Twinkle enforces a native 5% developer fee split on all transactions.
Built for the x402 Protocol and the MNEE Ecosystem. ISC License | Powered by Twinkle Facilitators
FAQs
Gasless payments for AI agents using MNEE. SDK for the x402 protocol with USDC-to-MNEE bridge support.
We found that twinkle-sdk 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
Axios compromise traced to social engineering, showing how attacks on maintainers can bypass controls and expose the broader software supply chain.

Security News
Node.js has paused its bug bounty program after funding ended, removing payouts for vulnerability reports but keeping its security process unchanged.

Security News
The Axios compromise shows how time-dependent dependency resolution makes exposure harder to detect and contain.