miniMerch Studio is a visual shop builder for macOS and Windows — no terminal required. Download Studio →
Prerequisites
Before setting up miniMerch, make sure you have:
- Minima installed - Follow the node setup guide for your platform
- Node synced - Your Minima node should be fully synced
- CoinMarketCap API key (optional) - For real-time Minima pricing
Step 1: Install the CLI Tool
miniMerch uses a command-line tool to generate your shops. You have two options:
Option A: Global Install (Quick Setup)
Install globally with npm. Use this if you just want to run miniMerch commands:
npm install -g @eurobuddha/mini-merch
After this, you can run commands like npx mini-merch setup...
Option B: Local Install (Full Source)
Clone the repository to your computer. Use this if you want the full source code:
- Open Terminal (or Command Prompt on Windows)
- Navigate to where you want to keep your files:
cd ~/Documents
- Clone the miniMerch repository:
git clone https://github.com/eurobuddha/miniMerch.git
- Go into the folder:
cd miniMerch
- Install dependencies:
npm install
After this, run commands with node ./src/index.js
If you don't have these installed, see the platform-specific guides for your operating system:
- macOS Guide - Includes Homebrew installation for Node.js and Git
- Windows Guide - Includes Node.js and Git installation
- Linux Guide - Includes Node.js and Git installation
Step 2: Get Your Keys
You'll need three pieces of information:
Minima Address
Your address for receiving payments:
- Open the Wallet MiniDapp
- Click Receive
- Copy one of your receive addresses. Use the address that's formatted starting with
0x, notMx
Maxima mxpublickey
Your public key for encrypting orders. This must be obtained from the Terminal.
- Open the Terminal MiniDapp in Minima
- Type the following command:
maxima
- Press Enter
- Find the line that says
"mxpublickey": - Copy the value - it starts with
Mxand is a long string - Be accurate when copying.
CoinMarketCap API Key (Optional)
For accurate Minima pricing in your shop:
- Visit coinmarketcap.com/api
- Create a free account
- Go to Dashboard → API Keys → Create Key
- Copy your API key
If you skip this, miniMerch will use a default price.
Step 3: Run Setup Command
Configure your vendor details with this command:
node ./src/index.js setup <minima-address> <cmc-api-key> <mxpublickey>
Global Install:
npx mini-merch setup <minima-address> <cmc-api-key> <mxpublickey>
Local Install:
node ./src/index.js setup <minima-address> <cmc-api-key> <mxpublickey>
Example:
node ./src/index.js setup 0x465CA86A9B5756F45DEB667A69B3DBEC1B82B211 c1d37f5f89564ca58 MxG18HGG6FJ038614Y8CW46US6G20810K0070CD00Z83282G60G19TUFFWSB6EEF...
This saves your configuration locally. You only need to run this once.
Step 4: Generate Your Shop
miniMerch gives you two ways to generate a shop — a single-product shop or a multi-product shop with up to 40 items.
You can now put up to 40 products in a single shop. Buyers browse all your products and add items to a cart before checking out — all in one transaction. Use generate-multi to set up a multi-product shop.
Option A: Single-Product Shop
Use this if you want a shop with one product. Pass all product details as command-line flags:
Global Install:
npx mini-merch generate -n "Product Name" -m units -p 25 -u 50
Local Install:
node ./src/index.js generate -n "Product Name" -m units -p 25 -u 50
Required Flags
| Flag | Description |
|---|---|
-n |
Product name |
-m |
Mode: weight or units |
-p |
Price per gram/unit (USD) |
Mode-Specific Flags
Choose ONE mode and use the corresponding flag:
- Weight mode: Use
-wfor maximum weight in grams - Units mode: Use
-ufor maximum number of units
You cannot use both -w and -u together.
| Flag | Use With Mode | Description |
|---|---|---|
-w |
-m weight |
Maximum weight in grams |
-u |
-m units |
Maximum number of units |
Optional Flags
| Flag | Description |
|---|---|
-d |
Product description |
-i |
Product image path |
--slippage |
Slippage % added to Minima price at checkout to cover volatility (default: 10) |
Examples
Weight mode (selling by weight):
node ./src/index.js generate -n "Organic Barley" -m weight -p 5 -w 1000 -d "Premium malting barley"
Sells up to 1000g at $5/gram.
Units mode (selling fixed items):
node ./src/index.js generate -n "PDF Bundle" -m units -p 25 -u 50 -d "Collection of guides" --slippage 5
Sells 50 units at $25 each, with 5% Minima slippage buffer.
Option B: Multi-Product Shop (up to 40 items)
Use the interactive wizard to add up to 40 products to a single shop. The wizard prompts you for each product's details one by one, then generates everything in one go.
Global Install:
npx mini-merch generate-multi
Local Install:
node ./src/index.js generate-multi
The wizard will ask you for each product:
- Name — the product title
- Mode —
weightorunits(press Enter for weight) - Price — in USD per gram or per unit
- Weight or units — maximum available
- Description — short product description (optional)
- Image path — local file path to the product image (optional)
After all products are entered, the wizard asks for a slippage % (the buffer added to the Minima price at checkout to cover volatility — default 10%). Then it builds both zip files automatically.
Leave the product name blank at any point to stop adding products and proceed to generation.
Step 5: Your Generated Files
After running either generate command, your files are created in a dist/ folder:
Shop MiniDapp
Your shop. Share this file with buyers — they install it on their Minima node to browse and order.
Single product: miniMerch_ProductName.mds.zip
Multi-product: miniMerch_Shop.mds.zip
miniMerchInbox.mds.zip
Your order inbox. Install this on YOUR node to receive and manage all orders.
Step 6: Install MiniDapps on Your Node
As the vendor, you need to install the inbox MiniDapp on your node:
- miniMerchInbox.mds.zip - Installs on YOUR node to receive and manage orders
Note: The shop MiniDapp (miniMerch_YourProduct.mds.zip) is installed by your customers on their nodes to place orders.
Accessing the MiniDapp Hub
Option A: In Browser
If you're using macOS, Linux, or Windows:
- Open your browser
- Go to:
https://127.0.0.1:9003 - Log into the MiniDapp Hub
Option B: Desktop Connect (Android)
If you're using Android on your phone:
- Open the Minima app on your phone
- Go to Settings → Desktop Connect
- Copy the URL and password shown
- Open that URL in your computer's browser
- Enter the password to log in
Installing the Inbox
Install the inbox from your dist/ folder:
- In the MiniDapp Hub, click the + (plus) button
- Navigate to your
dist/folder - Select
miniMerchInbox.mds.zip - Your inbox is now installed and ready to receive orders
Managing Your MiniDapps
Updating a MiniDapp
- Right-click on the miniMerch Inbox
- Select "Update"
- Select the new
.mds.zipfile
Deleting a MiniDapp
- Right-click (or long-press on mobile) on the MiniDapp
- Select "Delete MiniDapp"
- Confirm the deletion
Distributing Your Shop
Once you have your shop file, there are several ways to reach customers:
Via Email
Send the shop file directly to your customer list:
- Find your shop file in the
dist/folder - Attach it to an email or send via a file sharing service
- Customers install it on their Minima node to place orders
Via Your Website
Host the shop file on your existing website:
- Upload
miniMerch_YourProduct.mds.zipto your web host - Link to it from your product page
- Add a link to these instructions for your new users
Via Existing Marketplaces
Link to your Minima shop from your existing sales channels to avoid platform fees:
- Etsy - Link to your Minima shop in your product description or shop banner
- eBay - Include your Minima shop link in item listings or your seller page
- Facebook Marketplace - Share your shop file in posts or groups
- Instagram/TikTok - Bio links or pinned posts directing to your shop
By directing customers to your Minima shop, you can bypass marketplace fees on repeat purchases. Customers download the MiniDapp once and can reorder directly through your shop.
Via IPFS (Advanced)
For decentralized hosting:
- Upload your shop file to IPFS using Pinata, nft.storage, or similar
- Share the IPFS link with customers
- The link will always work as long as someone pins your file
CLI Commands Reference
Global Install Commands
# One-time setup
npx mini-merch setup <address> <cmc-key> <mxpublickey>
# Generate single-product shop (weight mode)
npx mini-merch generate -n "Product" -m weight -p 5 -w 500
# Generate single-product shop (units mode)
npx mini-merch generate -n "Product" -m units -p 25 -u 50
# Generate single-product shop with custom slippage
npx mini-merch generate -n "Product" -m units -p 25 -u 50 --slippage 5
# Generate multi-product shop (interactive wizard, up to 40 products)
npx mini-merch generate-multi
# Open miniMerch Studio web UI (visual shop builder)
npx mini-merch studio
# View config
npx mini-merch config --show
# Reset config
npx mini-merch config --reset
# Help
npx mini-merch --help
Local Install Commands
Run these from the miniMerch folder:
# One-time setup
node ./src/index.js setup <address> <cmc-key> <mxpublickey>
# Generate single-product shop (weight mode)
node ./src/index.js generate -n "Product" -m weight -p 5 -w 500
# Generate single-product shop (units mode)
node ./src/index.js generate -n "Product" -m units -p 25 -u 50
# Generate single-product shop with custom slippage
node ./src/index.js generate -n "Product" -m units -p 25 -u 50 --slippage 5
# Generate multi-product shop (interactive wizard, up to 40 products)
node ./src/index.js generate-multi
# Open miniMerch Studio web UI (visual shop builder)
node ./src/index.js studio
# View config
node ./src/index.js config --show
# Reset config
node ./src/index.js config --reset
# Help
node ./src/index.js --help
Troubleshooting
"Command not found" error
Make sure npm global bin directory is in your PATH. On macOS/Linux, add to your shell config:
export PATH="$PATH:$(npm bin -g)"
Can't access MiniDapp Hub
- Make sure your Minima node is running
- For local access: go to
https://127.0.0.1:9003 - For Desktop Connect: check Settings on your phone
Need help?
- Join the Minima Discord
- Check the miniMerch GitHub