Deployment
- Install Node.js
git clone https://github.com/atomicals/atomicals-js.gitcd atomicals-JavaScriptnpm install -g typescriptnpm run buildnpm install -g yarnyarn installyarn cli wallet-init// This is the command to create a wallet
The last step creates a wallet. After running the command, a wallet.json file will be generated in the folder, containing your mnemonic phrase and private key. Make sure to back up this file securely.
Once the wallet is created, two addresses are automatically generated: Primary Address and Funding Address.
Primary: Used to receive Atomicals ecosystem assets.
Funding: A transit wallet used during the minting (mining) process. Typically, you deposit the required amount of BTC into the Funding address for minting the corresponding assets.
Common Commands
Minting FT Command:
yarn cli mint-dft dmint --satsbyte 30
yarn cli mint-dft quark --satsbyte=100
dmint and quark are token names — replace them with the corresponding FT asset name.
satsbyte sets the miner fee. Setting it to 100 means minting at a rate of 100 sats/KB.
Minting Image NFT Command:
yarn cli mint-nft "\punk0000.png" --satsbyte 30 --satsoutput 1000 --bitworkc 233
Checking Balance:
npm run cli balances