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

@velocity-bpa/n8n-nodes-ton

v1.0.0

Published

n8n community node for TON blockchain API integration

Readme

n8n-nodes-ton

[Velocity BPA Licensing Notice]

This n8n node is licensed under the Business Source License 1.1 (BSL 1.1).

Use of this node by for-profit organizations in production environments requires a commercial license from Velocity BPA.

For licensing information, visit https://velobpa.com/licensing or contact [email protected].

This n8n community node provides comprehensive integration with The Open Network (TON) blockchain, offering 7 core resources for managing accounts, jettons, NFTs, transactions, domains, staking operations, and blockchain data. Build powerful blockchain automation workflows with complete TON ecosystem access.

n8n Community Node License TypeScript TON Crypto Web3

Features

  • Account Management - Query account details, balances, and transaction history across TON network
  • Jetton Operations - Manage TON's native token standard with transfer, balance, and metadata operations
  • NFT Integration - Complete NFT lifecycle management including minting, transfers, and metadata retrieval
  • Transaction Processing - Send, track, and analyze TON blockchain transactions with detailed status monitoring
  • Domain Services - Interact with TON DNS for domain registration, resolution, and management
  • Staking Operations - Manage validator staking, delegation, and reward distribution workflows
  • Blockchain Data - Access real-time blockchain information, block details, and network statistics
  • Error Handling - Comprehensive error management with detailed blockchain-specific error codes

Installation

Community Nodes (Recommended)

  1. Open n8n
  2. Go to SettingsCommunity Nodes
  3. Click Install a community node
  4. Enter n8n-nodes-ton
  5. Click Install

Manual Installation

cd ~/.n8n
npm install n8n-nodes-ton

Development Installation

git clone https://github.com/Velocity-BPA/n8n-nodes-ton.git
cd n8n-nodes-ton
npm install
npm run build
mkdir -p ~/.n8n/custom
ln -s $(pwd) ~/.n8n/custom/n8n-nodes-ton
n8n start

Credentials Setup

| Field | Description | Required | |-------|-------------|----------| | API Key | TON API access key for authenticated requests | Yes | | Network | TON network environment (mainnet/testnet) | Yes | | Endpoint URL | Custom API endpoint (optional) | No |

Resources & Operations

1. Account

| Operation | Description | |-----------|-------------| | Get Account | Retrieve account information and balance | | Get Transactions | Fetch account transaction history | | Get Methods | Execute account smart contract methods | | Send Transaction | Send TON from account |

2. Jetton

| Operation | Description | |-----------|-------------| | Get Info | Retrieve jetton token information | | Get Balance | Check jetton balance for account | | Transfer | Send jetton tokens between accounts | | Get Holders | List token holders and their balances |

3. NFT

| Operation | Description | |-----------|-------------| | Get Collection | Retrieve NFT collection details | | Get Item | Fetch specific NFT item information | | Transfer | Transfer NFT ownership | | Get Items | List all items in collection |

4. Transaction

| Operation | Description | |-----------|-------------| | Get Transaction | Retrieve transaction by hash | | Send | Send new transaction to network | | Get Status | Check transaction confirmation status | | Trace | Get detailed transaction execution trace |

5. Domain

| Operation | Description | |-----------|-------------| | Resolve | Resolve domain to TON address | | Get Info | Retrieve domain registration details | | Check Availability | Check if domain is available | | Get Auctions | List active domain auctions |

6. Staking

| Operation | Description | |-----------|-------------| | Get Pools | List available staking pools | | Stake | Delegate TON to validator pool | | Unstake | Withdraw staked TON | | Get Rewards | Retrieve staking reward information |

7. Blockchain

| Operation | Description | |-----------|-------------| | Get Block | Retrieve blockchain block information | | Get Config | Fetch network configuration parameters | | Get Stats | Get network statistics and metrics | | Get Validators | List active network validators |

Usage Examples

// Check account balance and recent transactions
const accountInfo = await tonNode.account.getAccount({
  address: "EQD-cvR0Nz6XAyRBpDeWWNoVt3p8xOiVyJrNMoS2B4WR_9dN"
});

// Transfer jetton tokens
const jettonTransfer = await tonNode.jetton.transfer({
  from: "EQD-cvR0Nz6XAyRBpDeWWNoVt3p8xOiVyJrNMoS2B4WR_9dN",
  to: "EQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAM9c",
  amount: "1000000000",
  jettonAddress: "EQBynBO23ywHy_CgarY9NK9FTz0yDsG82PtcbSTQgGoXwiuA"
});

// Get NFT collection details
const nftCollection = await tonNode.nft.getCollection({
  address: "EQD-cvR0Nz6XAyRBpDeWWNoVt3p8xOiVyJrNMoS2B4WR_9dN"
});

// Resolve TON domain to address
const domainInfo = await tonNode.domain.resolve({
  domain: "alice.ton"
});

Error Handling

| Error | Description | Solution | |-------|-------------|----------| | Invalid Address | Provided TON address format is incorrect | Verify address format and checksum | | Insufficient Balance | Account doesn't have enough TON for operation | Check account balance before transaction | | Network Timeout | TON network request timed out | Retry request or check network status | | Invalid API Key | Authentication failed with provided credentials | Verify API key and permissions | | Contract Error | Smart contract execution failed | Check contract state and method parameters | | Rate Limit | API request rate limit exceeded | Implement request throttling and backoff |

Development

npm install
npm run build
npm test
npm run lint
npm run dev

Author

Velocity BPA

Licensing

This n8n community node is licensed under the Business Source License 1.1.

Free Use

Permitted for personal, educational, research, and internal business use.

Commercial Use

Use of this node within any SaaS, PaaS, hosted platform, managed service, or paid automation offering requires a commercial license.

For licensing inquiries: [email protected]

See LICENSE, COMMERCIAL_LICENSE.md, and LICENSING_FAQ.md for details.

Contributing

Contributions are welcome! Please ensure:

  1. Code follows existing style conventions
  2. All tests pass (npm test)
  3. Linting passes (npm run lint)
  4. Documentation is updated for new features
  5. Commit messages are descriptive

Support