-
dobbs-cart 1.2.0 Stable
released this
2026-11-07 04:45:02 +00:00 | 1 commits to master since this releasePhone alerts. The installer now offers a SALE push to your phone for every paid order, through the free ntfy app.
Setting it up (about two minutes)
- Install ntfy on your phone (Play Store, F-Droid or App Store).
- In the app tap +, enter a long random topic name, tap Subscribe. The installer suggests one.
- Paste the topic URL (e.g.
https://ntfy.sh/my-shop-7f3k9q2xv8) wheninstall.phpasks. It can send a test alert right away.
Already installed? Set
notify_ntfy_urlinconfig.phpinstead. Anyone who knows the topic name can read it, so keep it random; alerts carry the store, order number, first item, price and BOB paid, no buyer details. Own ntfy server with a protected topic? Add its token asnotify_ntfy_token. The push is best effort with short timeouts, so it can never hold up settlement; the email stays the record.Upgrade from 1.1.0
Keep
config.phpanddata/, replace everything else. No database changes.R=https://git.subgenius.finance/SubGeniusFinance/dobbs-cart/releases/download/v1.2.0 curl -LO $R/dobbs-cart-1.2.0.tar.gz -LO $R/dobbs-cart-1.2.0.tar.gz.sha256 sha256sum -c dobbs-cart-1.2.0.tar.gz.sha256 tar xzf dobbs-cart-1.2.0.tar.gz sudo rsync -a --exclude=config.php --exclude=data/ dobbs-cart-1.2.0/ /var/www/dobbs-cart/Still on 1.0.0? Upgrade straight here; the 1.1.0 double-spend, refund and late-payment fixes are included.
Downloads
-
Source code (ZIP)
1 download
-
Source code (TAR.GZ)
0 downloads
-
dobbs-cart 1.1.0 Stable
released this
2026-11-06 14:36:23 +00:00 | 4 commits to master since this releaseUpgrade recommended for every v1.0.0 store. Fixes a double-spend bug that could mark an unpaid order PAID, plus a set of refund and late-payment fixes, and adds wBOB payments.
Security fix
- Double-spent (BOB) payments. A 0-confirmation payment that was double-spent could stay in the store's records and, six blocks later, count as confirmed, marking an unpaid order paid. The store now records whether each payment was ever seen in a block; a never-mined payment the node stops reporting is dropped.
Refunds and late payments
- Return addresses are kept while a refund is owed. The privacy purge no longer blanks them on underpaid, overpaid or cancelled-after-payment orders.
- Late (BOB) payments are caught. Expired and cancelled orders are watched for
late_watch_days(default 30); coin that arrives after an order closed is recorded and you get a REFUND DUE email. Late wBOB still arrives as the existing UNMATCHED wBOB PAYMENT email. - Overpayments after payment are caught. Paid and shipped orders are watched for the same window and alert OVERPAID.
- Only confirmed (BOB) counts as owed. The node wallet sees the mempool, so on closed orders and at the moment an order is paid only coin with
min_confirmationscounts; a 0-conf payment could still be double-spent after you refund it. - Mark refunded button beside "Refund due" in the console, recording the amount the page showed.
- Underpaid orders expire safely, after the scan catches up plus
expiry_grace_minutes(and after the wBOB scan, as before). - Self-healing alerts: totals and refund alerts are reconciled every poll with an atomic latch. One broken order no longer stops the poll run; the late watch is time-budgeted (
late_scan_budget_seconds). - Console input: price fields reject ambiguous input and round to cents; stock edits apply as a change with a one-shot token. Two labels now say BOB return address, not XMR.
Also new since 1.0.0
- Pay in wBOB on Gnosis alongside (BOB): exact-amount matching, gas and balance checks on the pay button, backup Gnosis RPC, price-jump confirmation, and pools under
price_min_tvl_usdignored for pricing. - Optional live-chat widget; product sub-headers on homepage cards.
Upgrade from 1.0.0
Keep your
config.phpanddata/, replace everything else. New database columns are added automatically on the first request. Back updata/store.sqlitefirst.R=https://git.subgenius.finance/SubGeniusFinance/dobbs-cart/releases/download/v1.1.0 curl -LO $R/dobbs-cart-1.1.0.tar.gz -LO $R/dobbs-cart-1.1.0.tar.gz.sha256 sha256sum -c dobbs-cart-1.1.0.tar.gz.sha256 tar xzf dobbs-cart-1.1.0.tar.gz sudo rsync -a --exclude=config.php --exclude=data/ dobbs-cart-1.1.0/ /var/www/dobbs-cart/wBOB is optional and off until configured; see
config.example.php(wbob_address,gnosis_rpc_url). Fresh installs: same steps as 1.0.0, with1.1.0in the URLs.Downloads
-
Source code (ZIP)
0 downloads
-
Source code (TAR.GZ)
1 download
-
dobbs-cart 1.0.0 Stable
released this
2026-10-08 23:20:19 +00:00 | 18 commits to master since this releaseThe first release of dobbs-cart: a small (BOB) Dobbscoin shop in vanilla PHP and SQLite. Payments are read from your own Dobbscoin node, prices are set in USD and converted at the live wBOB rate, and the store never needs a private key of its own. A fork of xmr-cart 1.0.0, the Monero version.
Install
R=https://git.subgenius.finance/SubGeniusFinance/dobbs-cart/releases/download/v1.0.0 curl -LO $R/dobbs-cart-1.0.0.tar.gz -LO $R/dobbs-cart-1.0.0.tar.gz.sha256 sha256sum -c dobbs-cart-1.0.0.tar.gz.sha256 tar xzf dobbs-cart-1.0.0.tar.gz && sudo mv dobbs-cart-1.0.0 /var/www/dobbs-cart cd /var/www/dobbs-cart && sudo ./install.sh(
R=…just saves typing the long address twice.) Or clone thev1.0.0tag.The installer checks PHP, then asks for:
- the store name and URL
- the admin email (all notifications to it, or split by type) and the From address
- your node's RPC URL, user and password (it calls the node and shows height, peers and whether the wallet is enabled)
- where order addresses come from
- the price feed (it shows the live rate) or a fixed rate
It writes
config.phpwith fresh secrets and prints the nginx block, the cron lines and your setup key.Requirements: PHP 8.0+ with
pdo_sqlite,curl,gd,gmp,mbstring; nginx or Apache; cron or a systemd timer; a Dobbscoin full node you run withserver=1and its wallet enabled.What's in 1.0.0
Payments, from your own node
- One address per order, from either:
- rpc mode: the node wallet makes a fresh one per order (
getnewaddress, labelleddobbs-cart #N). - pool mode: addresses from your own wallet, pasted into the admin and watched by the node, so no keys sit on the server.
- rpc mode: the node wallet makes a fresh one per order (
- A payment registers the moment it's in the mempool, and settlement looks every minute, so a slow or stalled chain can't expire an order that's been paid. Paid at 6 confirmations by default.
- An unconfirmed payment the node stops reporting (double-spent or dropped) is forgotten instead of leaving the order stuck.
- Encrypted node wallet? It works while locked, drawing on the keypool, and the store emails you when the keypool runs low.
Pricing at the wBOB rate
- USD price tags, converted at the deepest live wBOB pool on Gnosis (
pools.jsonformat, or any{"price_usd": x}feed), locked at checkout for the quote window. - wBOB liquidity is thin. A stale feed or a sudden 2× jump pauses checkout instead of mispricing, and
manual_coin_ratelets you fix the rate yourself.
Everything else from xmr-cart 1.0.0
- Shop: a cart (several items, one order, one payment) with atomic stock reservation; share links,
#anchors, and digital items with no shipping address. - Refunds: a required (BOB) return address, with Refund due tracking.
- Notifications: new order, paid, refund due, node down, price down, low stock and keypool low go to you; a receipt and a shipped email with tracking go to the buyer.
- Privacy: buyer details are erased on a schedule, uploads are re-encoded (no GPS), and the setup key, cookie-secret check and session handling all match xmr-cart 1.0.0.
⚠ (BOB) addresses share Bitcoin's format, so a BTC address passes as a valid return address. The store can't tell them apart.
MIT licensed. See LICENSE and LICENSE-THIRD-PARTY.md.
Downloads
-
Source code (ZIP)
0 downloads
-
Source code (TAR.GZ)
0 downloads
forked from SubGeniusFinance/xmr-cart