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

@tychilabs/stonfi-gasless-sdk

v0.0.5

Published

Universal Gas Framework SDK for gasless payments - pay TON transaction fees with STON token

Downloads

25

Readme

STON.fi Gasless SDK

npm version License: MIT

Universal Gas Framework SDK for paying TON transaction fees with STON tokens.

By Tychi Labs

Overview

The STON.fi Gasless SDK enables developers to build applications where users pay transaction fees with STON tokens instead of TON. This eliminates the friction of requiring users to hold native tokens for gas, making blockchain interactions more accessible and user-friendly.

Why UGF?

Traditional blockchain transactions create barriers for new users who must acquire native tokens just to pay gas fees. Universal Gas Framework solves this by:

  • Simplifying User Experience - Users can transact using only STON tokens, removing the need to manage multiple token types
  • Supporting DeFi Ecosystem - Locked STON provides liquidity to STON.fi, strengthening the broader ecosystem
  • Enabling Gasless Flows - Developers can create seamless onboarding experiences where users never think about gas fees
  • Maintaining Security - All transactions are cryptographically signed and verified on-chain

Whether you're building a DEX, NFT marketplace, or any dApp on TON, UGF enables truly gasless user experiences while leveraging STON's liquidity.

How It Works

  1. Users lock STON tokens in the UGF escrow contract
  2. Locked STON becomes an x402 balance used for gas payments
  3. Your application requests a quote via the SDK
  4. User signs the payment digest
  5. UGF verifies the signature and deducts STON
  6. The contract pays TON gas fees on the user's behalf
  7. Transaction executes seamlessly

No relaying, no wrapped tokens - just direct gas payment with STON.

Installation

npm install @tychilabs/stonfi-gasless-sdk

Requirements

  • Node.js 16 or higher
  • @ton/core >= 0.63.0 (peer dependency)
  • API Key - Contact us at [email protected] to get started

Features

  • STON Gas Payments - Pay transaction fees with STON instead of TON
  • Cryptographic Signing - Built-in utilities for digest signing and verification
  • Full TypeScript Support - Complete type definitions for all API interactions
  • Simple, Intuitive API - Clean interfaces that follow modern JavaScript patterns
  • Comprehensive Error Handling - Typed error classes for precise error management
  • Production Ready - Battle-tested code with proper validation and security measures

Documentation

Complete guides and references to get you started:

Use Cases

  • DEX Integrations - Enable token swaps without requiring TON for gas
  • NFT Marketplaces - Let users mint and trade NFTs using only STON
  • Gaming dApps - Simplify in-game transactions by eliminating gas fee complexity
  • Onboarding Flows - Create seamless signup experiences without native token requirements
  • DeFi Applications - Build lending, staking, or yield farming platforms with gasless UX

Coming Soon

ston.universalgasframework.com - Self-service portal for API key management, analytics, and monitoring

Getting Help

We're here to support your integration:

Contributing

We welcome contributions from the community. Please see our contributing guidelines and feel free to submit issues or pull requests.

License

MIT © Tychi Labs