Disconnected
m1n3 docs
Getting Started

Pool Operator Setup

Run the full m1n3 stack — Bitcoin node, stratum server, gossip node, and dashboard

Full Stack Requirements

RequirementDescription
Bitcoin CoreFull node with RPC enabled (v25+ recommended)
Rust ToolchainRust 1.75+ for stratum server and gossip node
Node.js 18+For the IKA service and dashboard
Sui CLIFor deploying contracts and managing keys
Funded Sui WalletSUI tokens for gas on all on-chain operations

Stratum Server

See the Miner Setup guide for build instructions. As a pool operator, you'll run the stratum server with all CLI arguments:

./target/release/m1n3-stratum \
  --bitcoin-rpc http://user:pass@127.0.0.1:8332 \
  --port 3333 \
  --sui-package 0xdf7cc2d80454cd56818e58e727b48beb2f8c441fcf6e4f46fd2282d24427a895 \
  --sui-pool 0x5b38b5c0ef42da7ae9776b3dedf0a04997d550121f5283790d526bbca46f3128 \
  --template-registry 0xaae6cb21c622ed2ae1ac3425eb8eca2c591eb7d291dbff3c39827de4ba5d746d \
  --initial-difficulty 4096 \
  --target-shares-per-min 10 \
  --decentralized true \
  --sui-rpc-url https://fullnode.mainnet.sui.io:443

Tip: Adjust --initial-difficulty and --target-shares-per-min based on your pool's total hashrate.

Gossip Node

See the Node Runner guide for full build and configuration instructions. As a pool operator, running a gossip node earns you M1N3 tokens from block registrations while also providing block data to your stratum server.

IKA Service / dWallet

MPC-based Bitcoin distribution service.

1. Install dependencies

cd ika-service
npm install

2. Configure environment

.env
NETWORK=mainnet
SUI_RPC_URL=https://fullnode.mainnet.sui.io:443
HTTP_PORT=3000
IPC_SOCKET_PATH=/tmp/m1n3_ika.sock
SUI_KEYPAIR_PATH=~/.sui/sui_config/sui.keystore

3. Run the service

npm start

The IKA service handles MPC-based Bitcoin signing for trustless reward distribution to share holders.

Dashboard Deployment

1. Install and configure

cd dashboard
npm install

Create a .env.local file with your pool's configuration (see Reference).

2. Build for production

npm run build

3. Deploy

The dashboard exports as static files in the out/ directory. Deploy to any static hosting provider (Vercel, Netlify, Cloudflare Pages, or your own server).

# Example: serve locally
npx serve out

Smart Contracts

The m1n3 smart contracts are already deployed on Sui mainnet. You do not need to deploy them yourself. Reference the mainnet object IDs in the Reference section for configuration.

Package ID: 0xdf7cc2d80454cd56818e58e727b48beb2f8c441fcf6e4f46fd2282d24427a895