Install Guide

Get a Minima node running, then build and deploy your Pocket Shop.

Step 1: Run a Minima Node
You need a Minima node before you can sell. Choose your platform.
๐Ÿ“ฑ

Android

Download the Minima app from the Google Play Store (or APK from GitHub). Open it โ€” your node starts automatically and runs in the background.

Allow battery optimisation exemption for reliable operation. On first launch, write down your seed phrase immediately (Security โ†’ Manage Seed Phrase).

๐ŸŽ

macOS

1. Install Java if you don't have it:

brew install openjdk

2. Download minima.jar from the Minima GitHub releases page.

3. Open Terminal, create a folder and start:

mkdir ~/minima && cd ~/minima
java -jar minima.jar -data .minima -p2pnodes megammr.minima.global:9001 -mdsenable -mdspassword YOURPASSWORD

4. Open https://127.0.0.1:9003 in your browser (proceed past the SSL warning). Log in with your password.

๐ŸชŸ

Windows

1. Install Java from java.com or Adoptium. Verify with:

java -version

2. Download minima.jar from the Minima GitHub releases page.

3. Create a folder (e.g. C:\minima), copy minima.jar into it. Open Command Prompt, then:

cd C:\minima
java -jar minima.jar -data .minima -p2pnodes megammr.minima.global:9001 -mdsenable -mdspassword YOURPASSWORD

4. Open https://127.0.0.1:9003 in your browser. Log in with your password.

๐Ÿง

Linux

1. Install Java:

# Ubuntu/Debian
sudo apt install default-jre

# CentOS/RHEL
sudo yum install java-17-openjdk

2. Download and start:

mkdir ~/minima && cd ~/minima
curl -L -o minima.jar https://github.com/minima-global/Minima/releases/latest/download/minima.jar
java -jar minima.jar -data .minima -p2pnodes megammr.minima.global:9001 -mdsenable -mdspassword YOURPASSWORD

3. Open https://127.0.0.1:9003 in your browser. Log in with your password.

โŒจ๏ธ

Terminal with tmux (Keep It Running)

On any platform, closing the terminal stops Minima. Use tmux to keep it running in the background.

1. Install tmux:

# Mac
brew install tmux

# Ubuntu/Debian
sudo apt install tmux

# CentOS/RHEL
sudo yum install tmux

2. Create a tmux session and start Minima inside it:

tmux new -s minima
cd ~/minima
java -jar minima.jar -data .minima -p2pnodes megammr.minima.global:9001 -mdsenable -mdspassword YOURPASSWORD

3. Detach from tmux (Minima keeps running): press Ctrl+B, then D

4. Re-attach later: tmux attach -t minima

tmux cheat sheet: Create: tmux new -s minima ยท Detach: Ctrl+B, D ยท Re-attach: tmux attach -t minima ยท List: tmux ls ยท Kill: tmux kill-session -t minima

Common Startup Parameters

All platforms use the same java -jar minima.jar command with these key parameters:

ParameterDescription
-data [folder]Config folder. Default: .minima in home dir.
-port [port]Base port (uses +4 range). Default: 9001. MDS = base+2.
-mdsenableEnable the MiniDapp Hub (required for Pocket Shop).
-mdspassword [pw]MDS login password.
-serverAccept incoming connections (for VPS/server).
-daemonNo stdin input (for background services).
-archiveRun as Archive node (stores full chain).
-cleanCAREFUL! Wipes all data. Fresh start only.
-rpcenableEnable RPC for external integrations.
-helpPrint all available parameters.

Secure Your Node

After starting your node, immediately write down your seed phrase:

1

Open the Security MiniDapp โ†’ Manage Seed Phrase โ†’ Show Seed Phrase

2

Write it on paper or a metal plate. Make 2 copies. Store in separate locations. Never screenshot or copy/paste on a connected device.

MiniDapp Permissions

All MiniDapps start with READ permission โ€” transactions must be approved via the Pending MiniDapp. To give a trusted MiniDapp WRITE access (no approval needed): right-click the MiniDapp (or long press on mobile) โ†’ select Write mode โ†’ Confirm.

Lock your wallet with a password before giving any MiniDapp WRITE permission.

Step 2: Get Your Vendor Credentials
You need two things from your Minima node.
1

Minima Address

Open the Wallet MiniDapp โ†’ Receive tab. Copy your address (starts with 0x).

2

Maxima Public Key

Open the MDS Terminal MiniDapp. Type maxima action:info and copy the mxpublickey value (starts with Mx).

Step 3: Build Your Shop
Use Pocket Shop Studio or the CLI.
A

Option A: Studio Desktop App (Recommended)

Download Pocket Shop Studio from GitHub Releases.

macOS: Open the .dmg, drag to Applications, right-click โ†’ Open on first launch.
Windows: Run the .exe installer. Click "More info" โ†’ "Run anyway" on first launch.

Studio opens at http://localhost:3456. Go to Vendor Setup, paste your address and public key, then go to Build Shop and fill in your product details.

B

Option B: Command Line

npm i -g pocketshop
pocketshop

Or clone the repo and run node build-pocketshop.js <address> <pubkey>

Step 4: Deploy
Two files, two installs โ€” then you're live.
1

Install mInbox on your node

Open the MiniDapp Hub, tap +, select mInbox.zip. This receives and decrypts your orders.

2

Publish the shop to PocketWeb

Open PocketFS on your node, upload [productname].mds.zip. Your shop is now broadcast to every node on the network โ€” searchable by keyword and accessible by address. No link sharing needed.

3

Start selling

Orders appear in mInbox automatically. Update status, reply via ChainMail, export to CSV.

Don't have PocketFS and PocketWeb installed? Get them from pocketweb.uk.

Need help?

Check the FAQ or open an issue on GitHub.

FAQ GitHub Issues