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 🙏

© 2024 – Pkg Stats / Ryan Hefner

ton-wallet-finder

v1.2.0

Published

A library to find TON wallet addresses with a specific ending.

Downloads

21

Readme

TON Wallet Finder

This library allows you to find TON wallets with specific address endings.

Installation

npm install ton-wallet-finder

Usage

Create a new JavaScript file, for example findWallet.js, and add the following code:

const { TonWalletFinder, saveResultsToFile } = require('ton-wallet-finder');

// Set the target address ending and options for displaying progress and results
const targetEnding = '8'; // Replace with the desired address ending
const showProcess = true; // Display the search progress
const showResult = true; // Display the results in the console
const saveResult = true;

// Create a new instance of the TonWalletFinder class
const finder = new TonWalletFinder(targetEnding, showProcess, showResult, saveResult);

// Find a wallet with the specified address ending
finder.findWalletWithEnding().then(({ publicKey, privateKey, words, walletAddress }) => {
  
}).catch(error => {
  console.error('Error:', error);
});

Run your script:

node findWallet.js

Options

The TonWalletFinder constructor takes the following options:

  • targetEnding (required): The desired ending for the wallet address.
  • showProgress (optional, default: false): Display the search progress in the console.
  • showResult (optional, default: false): Display the search results in the console.

Methods

findWalletWithEnding()

This method returns a Promise that resolves with an object containing the following properties:

  • keyPair: An object with public and secret keys.
  • words: An array of words representing the wallet seed phrase.
  • address: A wallet address object.

Donations

If you would like to show your gratitude and support, you can donate cryptocurrency to the TonCoin (TON) wallet address: EQA7h7IS4PvdaWi_0-77XfNRpZSLcDev4erumQpl5fbUJXtr.

License

MIT


TON Wallet Finder

Эта библиотека позволяет находить кошельки TON с определенными окончаниями адресов.

Установка

npm install ton-wallet-finder

Использование

Создайте новый JavaScript файл, например, findWallet.js, и добавьте следующий код:

const { TonWalletFinder, saveResultsToFile } = require('ton-wallet-finder');

// Set the target address ending and options for displaying progress and results
const targetEnding = '8'; // Замените на желаемое окончание адреса
const showProcess = true; // Отображать прогресс поиска в консоли
const showResult = true; // Отображать результаты поиска в консоли
const saveResult = true;

// Создание нового экземпляра класса TonWalletFinder
const finder = new TonWalletFinder(targetEnding, showProcess, showResult, saveResult);

// Поиск кошелька с указанным окончанием адреса
finder.findWalletWithEnding().then(({ publicKey, privateKey, words, walletAddress }) => {
  
}).catch(error => {
  console.error('Ошибка:', error);
});

Запустите ваш скрипт:

node findWallet.js

Опции

Конструктор `

TonWalletFinder` принимает следующие опции:

  • targetEnding (обязательный): Желаемое окончание адреса кошелька.
  • showProgress (необязательный, по умолчанию: false): Отображать прогресс поиска в консоли.
  • showResult (необязательный, по умолчанию: false): Отображать результаты поиска в консоли.

Методы

findWalletWithEnding()

Этот метод возвращает Promise, который разрешается объектом, содержащим следующие свойства:

  • keyPair: Объект с публичным (public) и секретным (secret) ключами.
  • words: Массив слов, представляющих сид-фразу кошелька.
  • address: Объект адреса кошелька.

Пожертвования

Если вы хотите проявить свою благодарность и поддержку, вы можете пожертвовать криптовалюту на адрес кошелька TonCoin (TON): EQA7h7IS4PvdaWi_0-77XfNRpZSLcDev4erumQpl5fbUJXtr.

Лицензия

MIT