
Company News
/Security News
Socket Selected for OpenAI's Cybersecurity Grant Program
Socket is an initial recipient of OpenAI's Cybersecurity Grant Program, which commits $10M in API credits to defenders securing open source software.
atomicals-js
Advanced tools
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
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.
Once installed, follow the steps below to set up your environment, wallet, and run commands.
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.
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.
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.
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.
If you plan to contribute to the project or need to build it locally:
git clone https://github.com/atomicals/atomicals-js.git
cd atomicals-js
yarn install
npm run postinstall:dev # Applies local patches if needed
yarn run build
yarn cli --help
Only contributors or developers should work directly from source. Most users should prefer the npm-based installation.
Atomicals was recently TakeOver by the Community (CTO), if you want to join us:
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.
FAQs
Atomicals JavaScript SDK and CLI
The npm package atomicals-js receives a total of 2 weekly downloads. As such, atomicals-js popularity was classified as not popular.
We found that atomicals-js 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.

Company News
/Security News
Socket is an initial recipient of OpenAI's Cybersecurity Grant Program, which commits $10M in API credits to defenders securing open source software.

Security News
Socket CEO Feross Aboukhadijeh joins 10 Minutes or Less, a podcast by Ali Rohde, to discuss the recent surge in open source supply chain attacks.

Research
/Security News
Campaign of 108 extensions harvests identities, steals sessions, and adds backdoors to browsers, all tied to the same C2 infrastructure.