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

atomicals-js

v0.1.85

Published

Atomicals JavaScript SDK and CLI

Readme

Atomicals Command-line Tool

The command-line tool to fetch, deploy, mint, transfer, and manipulate Atomicals Digital Assets.

Visit the Atomicals Guidebook to get to know about Atomicals!

Multiple templates are covered for setting up Fungible-tokens, NFT collections, Realm & Sub-realm, and Social-FI! Check them out at https://github.com/atomicals/atomicals-js/tree/main/templates.

Table Of Contents

Other Atomicals Tools

  • Atomicals ElectrumX Indexer Server (https://github.com/atomicals/atomicals-electrumx)

Install

The recommended way to use the CLI is via npm. You do not need to clone this repository to use the tool.

To install globally:

npm install -g atomicals-js

This will make the atomicals command available globally.


Quick Start

Once installed, follow the steps below to set up your environment, wallet, and run commands.

0. Environment File (.env)

The CLI expects a .env file to define your ElectrumX connection and wallet path.

Copy .env.example and adjust it to your needs:

ELECTRUMX_PROXY_BASE_URL=https://ep.your-atomicals-electrumx-host/proxy

# Optional wallet configuration
WALLET_PATH=./wallets
WALLET_FILE=wallet.json
# testnet or livenet or regtest
NETWORK=livenet

# Optionnal
CONCURRENCY=4

You can use the default settings or point to a custom wallet directory.

1. Wallet Setup

The wallet stores your taproot keypair and address used for minting and receiving change.

To create a new wallet:

atomicals wallet-init

Example output:

Wallet created at wallet.json
phrase: loud please install guilt shoe move decade matrix bleak venue swing whale
Primary address (P2TR): bc1p9lyej8qkpx42ms3rjlue598kxt8kpfyuw3jwuk8jtqvg4y6uqyeqav2y7r
Primary address WIF: L18PiBLxSBUjfAKswMXat7LarR3VA234NDD1esqmZTiLjdAUur5W
Primary address path: m/86'/0'/0'/0/0
Funding address (P2TR): bc1p8qf06ujs06tmujvvddvfe58j4dq5wgnw5n0r9y8qnyslpxp4xzzq6lvh0z
Funding address WIF: KxScnSty3zP2bJnZvmgthLdn3jponatSyauiwxpMEXXAeE2M9EMz
Funding address path: m/86'/0'/0'/1/0
Full Data: {
  "phrase": "loud please install guilt shoe move decade matrix bleak venue swing whale",
  "primary": {
    "address": "bc1p9lyej8qkpx42ms3rjlue598kxt8kpfyuw3jwuk8jtqvg4y6uqyeqav2y7r",
    "path": "m/86'/0'/0'/0/0",
    "WIF": "L18PiBLxSBUjfAKswMXat7LarR3VA234NDD1esqmZTiLjdAUur5W"
  },
  "funding": {
    "address": "bc1p8qf06ujs06tmujvvddvfe58j4dq5wgnw5n0r9y8qnyslpxp4xzzq6lvh0z",
    "path": "m/86'/0'/0'/1/0",
    "WIF": "KxScnSty3zP2bJnZvmgthLdn3jponatSyauiwxpMEXXAeE2M9EMz"
  },
  "imported": {}
}

Default configuration:

WALLET_PATH=.
WALLET_FILE=wallet.json

You can also use:

WALLET_PATH=./wallets
WALLET_FILE=wallet.json

Ensure your .env file reflects your wallet setup.

2. Explore the CLI

Get the full list of available commands:

atomicals --help

Run any supported command, such as:

atomicals mint ...

For a detailled description of possible commands look into ./docs/help.md

You can also use the Atomicals CLI Navigator to help you navigate through this cli.

Using as a JavaScript/TypeScript SDK

You can also use atomicals-js as a module in your Node.js or TypeScript project.

Install it as a dependency:

npm install atomicals-js

Then use it in code:

import { Atomicals, createMnemonicPhrase, ElectrumApi } from 'atomicals-js';

const mnemonic = createMnemonicPhrase();
console.log("Mnemonic:", mnemonic);

const api = new ElectrumApi({ baseUrl: 'https://ep.wizz.cash/proxy' });
const atomicals = new Atomicals(api);

const result = await atomicals.walletCreate();
console.log(result);

Types are included and automatically supported by modern IDEs.

For Developers/Contributors

If you plan to contribute to the project or need to build it locally:

  1. Clone the repository:
git clone https://github.com/atomicals/atomicals-js.git
cd atomicals-js
  1. Install dependencies and build:
yarn install
npm run postinstall:dev  # Applies local patches if needed
yarn run build
  1. Use the CLI locally:
yarn cli --help

Only contributors or developers should work directly from source. Most users should prefer the npm-based installation.

Community

Atomicals was recently TakeOver by the Community (CTO), if you want to join us:

General warnings

Stay SAFE, interact ONLY with Official accounts and please NEVER SEND YOUR PRIVATE KEYS!

This package is experimental and bugs can happen, don't put your savings into this cli wallet.