DogeJS / All apps / Shop

DogeJS ShopFree till for iPad, iPhone and Android

Take Dogecoin at your counter

Tap what you sell, turn the screen to your customer, and watch it turn green when they pay. The money goes straight to your own wallet.

Shop on an iPad held sideways: Corner Coffee, coloured buttons for Espresso, Flat white, Latte, Tea, Croissant, Muffin, Bagel and Cookie, and the current sale of two flat whites and a croissant with tax, total $13.80 and a yellow Charge button.
The customer view on a phone: Corner Coffee, a large QR code, $15.71 and the exact DOGE amount, Scan with your Dogecoin wallet.

What you need

  • An iPad or a phoneOr any tablet or computer with a current browser. A receipt printer is optional.
  • A Dogecoin addressAny wallet gives you one. Payments go straight to it.
  • Two minutesPaste the address, pick your currency, add the things you sell.

Everything a small counter needs

Built for a coffee cart, a market stall or a shop: big buttons, a clear screen for the customer, and a tidy end of day.

Shop on a phone: the sale total $13.80, about 69 DOGE, and eight coloured item buttons; Flat white shows 2 and Croissant 1.

The till

Tap what you sell

Add your menu once as quick items with calm colours, then build each sale with a tap. Or type any amount on the keypad.

  • Up to 24 quick items, priced in dollars, euros, pounds or DOGE
  • Change quantities, add a note such as the table number
  • Big keys that are easy to hit on a busy counter
The customer view: a QR code for $15.71 with the exact DOGE amount.
The customer view after payment: a large green check, Paid, thank you, $15.71.

The customer view

Turn the screen. It turns green by itself.

Your customer scans the QR code with their wallet. When the payment reaches your address, the screen shows a big green check: Paid, thank you.

  • Each sale asks for its own exact amount, so payments never get mixed up
  • The screen stays on while a sale is open
  • Back to the till with the Staff button: hold it, or tap it three times
A receipt from Corner Coffee: two flat whites and a croissant, subtotal $12.75, tax 8.25% $1.05, tip $1.91, total $15.71, the DOGE paid, Paid with Dogecoin, and the transaction with a QR code, with Copy text and Print buttons.

Receipts

A proper receipt, printed or shared

Every paid sale has a receipt with the items, tax, tip, the DOGE paid, the rate and the transaction. Print it on a receipt printer or A4, or share it.

  • 80 mm receipt paper or A4
  • Copy the text or use your device’s share sheet
  • Add a refund note to a sale later
Today on an iPad: $153.52 from 15 sales, 767.60 DOGE, average $10.23, tips $15.77, tax $10.50, a bar chart by hour and the list of sales, with Export CSV and Close the day buttons.

Today

Know how the day went

See today’s takings in your currency and in DOGE, the number of sales, tips and tax, and a chart by hour. Look back at earlier days at any time.

  • Close the day with a printable summary
  • Export a spreadsheet (CSV) with every item
  • Each sale keeps the exchange rate it was made with
The customer view on an iPad asking Add a tip? Your total is $13.80, with buttons for 10%, 15%, 20%, Other amount and No tip.

Tips and tax

Tips and sales tax, done for you

Turn on tips and the customer picks 10, 15 or 20 percent, another amount or no tip, right on their screen. Set your sales tax once and it is added to every sale, or already included in your prices.

  • The tip is part of the same single payment
  • Tax shows on the till, the receipt and the day’s totals
  • Prices in US, Canadian or Australian dollars, euros, pounds or DOGE
Shop on a phone with an Offline badge next to the shop name, still taking a sale of $13.80 at the last known rate, with a note that payments are confirmed by hand while offline.

Works offline, installs like an app

Keeps working when the Wi-Fi does not

Install Shop on your home screen and it opens full screen from its own icon. If the connection drops, it still opens and takes sales at the last known rate.

  • Marks offline sales so you can check them later in your wallet
  • Checking for payments resumes by itself when you are back online
  • Updates only when you tap Reload
Shop settings on a phone: the shop name Corner Coffee, prices in US dollars, and the Dogecoin address with a green check, Valid address on the main network.

Your money

Straight to your wallet. No fees, no account.

Customers pay your own Dogecoin address from their own wallet. Shop never holds your money and never takes a cut, and there is nothing to sign up for.

  • Shop only knows your public address, never a key
  • Your settings and sales stay on your device
  • Use the free public service to see payments, or your own server
Setting a staff PIN: Choose 4 digits, two of four dots filled, and a number keypad.

Staff PIN and backup

Hand the till to your staff

A 4-digit staff PIN locks Settings, deleting sales and refund notes, so the till can sit on the counter. Back up your shop to one file and restore it on a new device.

  • Wrong PINs make the till wait
  • The backup holds settings, items and sales, never a key
  • Restore merges sales, so nothing is counted twice

How it works

  1. Set up once

    Open Shop, paste your Dogecoin address, choose your currency and add what you sell.

  2. Ring it up

    Tap the items, tap Charge and turn the screen. The customer scans the QR code.

  3. See the green check

    When the payment arrives at your address, Shop says Paid, thank you, and keeps a receipt.

Install it

Shop installs from the web in three taps. It then opens full screen from its own icon, like any other app.

The Shop app iconShopInstall ShopOpens Shop. Android and computers offer Install there; on iPad and iPhone follow the steps.
  1. Open Shop in Safari and tap Share at the top right.

  2. Copy
    Add to Home Screen
    Add Bookmark

    Choose Add to Home Screen.

  3. Shop

    Tap Add. Shop is now on your Home Screen: open it from there.

  1. ‹

    Open Shop in Safari and tap Share. On newer iPhones it is under the ··· button.

  2. Copy
    Add to Home Screen
    Add Bookmark

    Scroll the list and choose Add to Home Screen.

  3. Shop

    Tap Add, then open Shop from its icon.

  1. Open Shop in Chrome and tap the ⋮ menu.

  2. Tap Install app (on some phones Add to Home screen), then Install.

  3. Shop

    Open Shop from your home screen or app drawer.

On a computer, Chrome and Edge show an install button in the address bar.

Questions

Are there any fees?

No. Shop is free, has no account and takes no cut. Your customer pays the normal Dogecoin network fee from their own wallet, and the full amount of the sale arrives at your address.

How fast does it turn green?

Shop looks for the payment straight away, then every 15 seconds for the first two minutes (every 5 seconds with your own server). By default it waits for one confirmation, about a minute. In Settings you can choose to turn green as soon as the payment is seen, or to wait for three confirmations for bigger sales.

What if the internet drops?

Installed, Shop still opens and takes the sale with the last known exchange rate. It cannot see payments while offline, so check your wallet and tap Mark as paid; those sales are marked as made offline. Checking starts again by itself when the connection is back.

Can I give a refund?

Shop never holds money, so it cannot send any back. Refund the customer from your wallet or in cash, then add a refund note to the sale: it stays in the list and leaves the day’s totals.

Is my money held by anyone?

No. The customer’s wallet pays your own address directly. DogeJS never touches the payment and has no account for you. Shop only knows your public address, and your settings and sales stay in the browser on your device.

Which wallets can my customers use?

Any Dogecoin wallet that can send to an address. The QR code is a standard Dogecoin payment link with the address and the exact amount, which most wallet apps read when they scan it. If a wallet does not fill in the amount, the customer types the exact amount shown under the code.

Which currencies can I price in?

US, Canadian and Australian dollars, euros, pounds, or DOGE. The rate comes from CoinGecko at most once a minute, or you can set it by hand. Every sale keeps the rate it was made with.

Open Shop and take your first sale

Free, no account, straight to your wallet.

For developers

Documentation

How payments are detected, the data the till keeps, the installable app, and the code behind it.

How it works

Shop is a static web app. You type or tap a sale; the till turns it into DOGE at a rate it freezes for that sale, adds a tiny tag so the amount is unique, and shows a QR code that carries a standard dogecoin: payment link. The customer pays from their own wallet. The till then looks at your address through a server and turns green when a payment of exactly that amount shows up.

Tap itemscart, tax, tipFreeze ratecents to koinu + tagQR codedogecoin: linkCustomer paysfrom their walletTill checksexact amount, green check

Who sees what

  • Keys never touch the till. It only knows your public receiving address. If someone pastes a private key or recovery phrase into a field, the till clears it and says no.
  • Money goes straight to you. The customer's wallet sends to your address. There is no DogeJS account, no middleman and no fee on top of the normal network fee, which the customer pays.
  • Your data stays in this browser. Settings and sales are saved in the browser's local storage on the device. Nothing is uploaded.
  • Two outside calls, both optional. The exchange rate comes from CoinGecko (at most once a minute) unless you set a rate by hand or price in DOGE. Payment checks go to a server you choose: the free public service on the main network, or your own. That server learns your address and your IP address. Without a server you confirm payments yourself.

How payment detection works

Exact-amount matching

A Dogecoin payment does not say which sale it belongs to. So each sale asks for an exact amount: the price in koinu (1 DOGE = 100,000,000 koinu) plus a tag of 1 to 99 koinu, widened up to 9,999 if all of those are taken. No other sale on the same address in the last 24 hours has the same total, so one transaction can only match one sale. A sale for 159.375 DOGE might ask for 159.37500001.

The till counts a transaction as the payment when it has an output to the sale's address of exactly that amount, no other sale has claimed it, and it is not older than the sale (a confirmed block time more than 5 minutes before the sale started is ignored, to allow for clock differences). If several qualify, the one with the most confirmations wins.

When the sale is the only open sale on its address, payments in parts also work: everything that arrives after the till first looked counts towards it. The exact sum is Paid, less is Underpaid (the till says how much is missing), more is "More than asked" and waits for you to tap Mark as paid.

States

StateMeans
WaitingNo payment seen yet. The sale times out after 10, 15 (default), 30 or 60 minutes.
SeenA matching payment is on the network but has no confirmation yet.
Confirming n of mThe payment has n of the m confirmations you asked for.
PaidThe payment has enough confirmations. Settings offer none (as soon as seen), 1 (about a minute, the default) or 3 (a few minutes).
Underpaid / More than askedPayments in parts did not add up exactly.
ExpiredThe time ran out with nothing seen. You can still tap Check now, Mark as paid or cancel.
Marked paidYou confirmed it yourself, for example from your wallet. Marked sales made offline are flagged.
CancelledClosed without payment.

A sale whose payment was seen never expires: it is checked every 30 seconds for confirmations for up to an hour.

Where the till looks, and the limits

ServerChecksLimits
Free public service (BlockCypher, main network only, opt-in: Settings, Payment detection, Use this)At once, every 15 s for the first 2 minutes, then every 30 s until the sale times out.The service allows 100 requests an hour and 1,000 a day per connection, shared by every DogeJS page. The till keeps its own log and never uses more than 80 in any rolling hour or 800 in any day. After 60 in an hour the gap grows to 60 s. Check now may use 10 more an hour, at most one every 5 s. When the allowance is used up it says so and Mark as paid keeps working. Confirmations are "reported by the server": the service sends no block headers.
Your own Esplora-style serverAt once, every 5 s for 2 minutes, then every 10 s.No allowance to respect. The till checks the server is on the same network as your address before using it.
NoneNo checks.You see the payment in your wallet and tap Mark as paid.

One check is one request. A sale that nobody pays within 15 minutes costs 35 requests; one paid within a minute costs about 5, and about 7 or 8 with one confirmation. So roughly ten paid sales an hour are detected at full speed on the free service; a busier till slows down and then pauses until the hour frees up. These numbers are enforced in poll-plan.ts and checked by tests that run back-to-back sales for a simulated day.

Data storage and the backup file

Everything lives in localStorage for the till's origin. If storage is blocked (some private modes) the till keeps working from memory and says so.

KeyHolds
dogejs.shop.configSettings: address, network, currency, shop name, server, confirmations, manual rates, theme, tax, tips, sale timeout, paper, staff PIN hash. Same key since Shop 0.1.
dogejs.shop.salesThe sales, newest 2,000 kept.
dogejs.shop.itemsQuick items (up to 24).
dogejs.shop.ratesThe last exchange rates, for offline use.
dogejs.shop.pollsTimes of this till's requests to the free service (its allowance log).
dogejs.shop.uiSmall interface flags, such as the install hint being closed.

A sale

Amounts are decimal strings of integers: koinu for DOGE, the currency's minor unit (cents) for fiat. Fields marked optional are absent when they do not apply.

FieldMeaning
id, createdAtId and creation time (ms since epoch).
statuswaiting | paid | marked | cancelled | expired. The text states of the screen are worked out from these and the fields below.
address, networkWhere it is paid; mainnet or testnet.
currency, fiatMinor, rateE8, rateSource, rateTimeThe unit the sale was made in, what the customer pays in that currency, and the frozen rate (price of one DOGE times 1e8) with its source.
baseKoinu, tag, koinuPrice in koinu, the identifying tag, and the exact amount asked (base + tag).
needConfirmations, txid, confirmations, paidAtConfirmations required, and what was seen.
lines, subtotal, tax, taxBp, taxIncluded, tipOptional: items sold (name, qty, unit), the amounts before tax and tip, the tax (added or included, in basis points) and the tip.
receivedKoinu, txidsOptional: what arrived so far when a payment came in parts.
refund, offline, demo, note, expiresAtOptional: a refund note you added, marked-paid-offline flag, demo flag, free text note (up to 120 characters) and when the sale stops waiting.

The backup file

Settings, Back up shop data downloads one JSON file; Restore reads it back. It holds your settings, quick items and sales and never a key (the till has none). The staff PIN is left out, so a restored till starts unlocked. Restore refuses files over 8 MiB, files with another format, files from a newer version, and a backup without a valid address. Sales are merged by id (the backup's copy wins), invalid ones are skipped, and at most 2,000 are kept. Run it yourself in the last code example below.

The CSV from Today

Export CSV writes a UTF-8 file with a byte order mark and CRLF line ends, so Excel reads it correctly. A text cell that starts with =, +, - or @ is prefixed with an apostrophe so a spreadsheet never runs it as a formula. Columns, in order:

CSV header
Date (UTC),Status,Amount,Currency,DOGE (exact),Rate (per DOGE),Rate source,Note,Transaction id,Network,Address,Demo,Items,Subtotal,Tax,Tip,Refund,Local time

The staff PIN

An optional 4-digit PIN guards Settings, deleting sales and refund notes. It is stored in the settings as a salted PBKDF2-SHA-256 hash (100,000 iterations). After 5 wrong tries the till makes you wait 30 seconds, and once entered, Settings stay unlocked for 5 minutes. It is a convenience lock for a shared counter, not protection against someone who has the unlocked device and its developer tools.

The installable app (PWA)

Manifest

The till serves /shop/app/manifest.webmanifest:

FieldValue
id, start_url, scope/shop/app/
name, short_nameDogeJS Shop, Shop
display, display_override, orientationstandalone, ["standalone","minimal-ui"], any
theme_color, background_color#FFFBEF (the till sets the dark colour itself with a prefers-color-scheme meta tag and updates it live)
shortcutsNew sale (/shop/app/?go=new), Today's sales (/shop/app/?go=today)
icons192 and 512 px, maskable 192 and 512 px, and an SVG; Apple touch icon 180 px and iOS launch images
screenshotsTwo narrow and two wide, for the install prompt on Android and desktop

Service worker

  • Scope: /shop/app/ only. The product page, the wallet and the rest of the site are never controlled by it.
  • Cache: named dogejs-shop-app-<version>, where the version is a hash of the app shell. The shell is cached at install, so after one visit the till opens with no connection.
  • Pages are network first with a 4 second limit, then the cached copy. Files with a ?v= in the URL are served from the cache first. Fonts are kept in their own cache. Exchange-rate and payment-server answers are never cached.
  • Updates: a new worker waits instead of replacing the running one. The till shows "Update available" with a Reload button; Reload tells the waiting worker to take over and reloads the page. When the new worker activates it deletes older caches.
  • Offline: the till opens, shows an Offline badge, uses the last known rate (or one you set), takes the sale and lets you mark it paid by hand; those sales are flagged offline. Checking resumes when you are back online.
  • Screen wake lock is requested while a sale or the customer view is open, so the screen does not sleep on the counter.
  • Install: Android and desktop Chrome and Edge offer an Install app button. iOS has no install prompt: the till explains Share, then Add to Home Screen.

URLs and parameters

URLWhat it does
/shop/This product page.
/shop/app/The till.
/shop/app/#demo or /shop/app/?demoStarts the demo: test network, simulated checks, nothing saved as your shop. /shop/#demo and /shop/?demo redirect there.
/shop/app/?go=todayOpens Today (the home screen shortcut). ?go=new just opens the till.

The till has no other routes: its screens are in-app state, so the browser Back button leaves the till. It removes the parameters from the address bar once it has read them. If you installed Shop from /shop/ with an early version (0.2), the installed app is sent to /shop/app/ and your saved data is read as it was.

Code examples

The till is built on a small library of plain functions with no DOM. It is not on npm yet: build it from the repository (see Self-hosting) and import @dogejs/shop. All money is bigint: koinu for DOGE, cents for fiat, rates as integers scaled by 1e8. Each example below was run with Node 22 against the built package.

1. Cart, tax and tip to DOGE and a payment link

Tax is added as basis points (825 = 8.25%), the tip is a percentage of the subtotal, and everything rounds half up in integers.

JavaScript
import { totalsOf, tipFromPercent, fiatToKoinu, formatDogeText, buildPaymentLink } from '@dogejs/shop';

// Two flat whites at $4.50 and a croissant at $3.75, in cents.
const subtotal = 2n * 450n + 375n;                                   // 1275n
const tip = tipFromPercent(subtotal, 15);                            // 15% of the subtotal, rounded half up
const t = totalsOf(subtotal, { bp: 825, included: false }, tip);     // 8.25% tax added on top

// One DOGE costs $0.20: a rate is an integer scaled by 1e8.
const koinu = fiatToKoinu(t.total, 20_000_000n);

console.log({ subtotal, tax: t.tax, tip: t.tip, total: t.total });
console.log('koinu:', koinu, '=', formatDogeText(koinu, true), 'DOGE');
console.log(buildPaymentLink({ address: 'nUCAGGgZEPN1QyknmQe1oAku817bQAFKFt', koinu: koinu + 42n, label: 'Demo Cafe' }));

Output

Output (run with Node 22)
{ subtotal: 1275n, tax: 105n, tip: 191n, total: 1571n }
koinu: 7855000000n = 78.55000000 DOGE
dogecoin:nUCAGGgZEPN1QyknmQe1oAku817bQAFKFt?amount=78.55000042&label=Demo%20Cafe

2. Make a sale and match a payment

createSale freezes the rate and picks the tag; pollSales asks a source for the address's transactions and returns events; transition applies them. Here DemoSource stands in for a server. A real server is anything with getAddressTransactions and getTipHeight, such as the Esplora client in backends.

JavaScript
import { createSale, buildPaymentLink, pollSales, transition, saleState, DemoSource, DEMO_ADDRESS, totalsOf, DEFAULT_CONFIG } from '@dogejs/shop';

// 1. Make a sale: 12.75 US dollars at 0.08 USD per DOGE, then add the identifying tag
const now = Date.now();
const made = createSale({
  config: { address: DEMO_ADDRESS, network: 'testnet', confirmations: 1 },
  currency: 'USD', entry: '', note: 'Table 4',
  totals: totalsOf(1275n, { bp: 0, included: false }),
  rate: { priceE8: '8000000', source: 'Demo' },
  existing: [], now,
});
if (!made.ok) throw new Error(made.reason);
let sale = made.sale;
console.log('ask:', sale.koinu, 'koinu (base', sale.baseKoinu, '+ tag', sale.tag + ')');
console.log(buildPaymentLink({ address: sale.address, koinu: BigInt(sale.koinu), label: 'Demo Cafe' }));

// 2. Pretend a customer pays exactly that amount, and look for it
const chain = new DemoSource();
console.log(saleState(sale).label);                       // Waiting
chain.pay(sale.address, BigInt(sale.koinu));              // confirmed in one block
const { updates } = await pollSales(chain, [sale], now + 20_000, 'testnet');
for (const u of updates) sale = transition(sale, u.event);
console.log(saleState(sale).label, sale.txid.slice(0, 12) + '...');   // Paid

Output

Output (run with Node 22)
ask: 15937500001 koinu (base 15937500000 + tag 1)
dogecoin:nUCAGGgZEPN1QyknmQe1oAku817bQAFKFt?amount=159.37500001&label=Demo%20Cafe
Waiting
Paid de0100001a22...

3. The free service allowance

nextCheckAt is the same function the till uses to decide when to ask again.

JavaScript
import { PollLedger, FREE_PLAN, nextCheckAt } from '@dogejs/shop';

// The free service allows 100 requests an hour. The till keeps its own log and never uses more than 80.
const t0 = 1_700_000_000_000;
const ledger = new PollLedger(undefined, () => t0);
for (let i = 0; i < 70; i++) ledger.record(1, t0 - i * 40_000);      // 70 requests in the last hour

// A sale made 10 minutes ago, still waiting. The last check was 20 seconds ago.
const sale = { id: 'a', createdAt: t0 - 600_000, expiresAt: t0 + 300_000, status: 'waiting' };
const due = nextCheckAt({ sales: [sale], lastCheckAt: t0 - 20_000, checked: new Set(['a']), now: t0, plan: FREE_PLAN, ledger });

console.log('requests used in the last hour:', ledger.used(3_600_000, t0));
console.log('next check in', (due - t0) / 1000, 'seconds (60 requests used this hour, so the gap after the last check grows from 30 to 60 seconds)');

Output

Output (run with Node 22)
requests used in the last hour: 70
next check in 40 seconds (60 requests used this hour, so the gap after the last check grows from 30 to 60 seconds)

4. Write and read a backup file

The file is exactly what Settings, Back up shop data downloads.

JavaScript
import { makeBackup, parseBackup, DEFAULT_CONFIG } from '@dogejs/shop';

const config = { ...DEFAULT_CONFIG, address: 'nUCAGGgZEPN1QyknmQe1oAku817bQAFKFt', network: 'testnet', shopName: 'Demo Cafe' };
const file = makeBackup({ config, items: [], sales: [] }, Date.UTC(2026, 10, 28, 12, 0, 0));
console.log(file);

const back = parseBackup(file);
console.log(back.ok, back.data.config.shopName);
console.log(parseBackup('{"format":"something-else"}'));

Output

Output (run with Node 22)
{
 "format": "dogejs-shop-backup",
 "version": 1,
 "app": "0.3.0",
 "exportedAt": "2026-11-28T12:00:00.000Z",
 "config": {
  "version": 2,
  "address": "nUCAGGgZEPN1QyknmQe1oAku817bQAFKFt",
  "network": "testnet",
  "currency": "USD",
  "shopName": "Demo Cafe",
  "server": "",
  "confirmations": 1,
  "manualRates": {},
  "theme": "auto",
  "taxBp": 0,
  "taxIncluded": false,
  "tips": false,
  "saleTimeoutMin": 15,
  "paper": "80mm"
 },
 "items": [],
 "sales": []
}
true Demo Cafe
{ ok: false, reason: 'That file is not a DogeJS Shop backup.' }

API reference

Named exports of @dogejs/shop. Nothing touches the DOM on import. dist/shop.js is the till itself (an IIFE), not an API.

AreaMain exports
MoneyKOINU_PER_DOGE, parseScaled, formatScaled, formatFiat, formatDogeText, fiatToKoinu, koinuToFiat, pickTag. Minimum sale 0.01 DOGE.
CartaddItem, addCustom, setQty, subtotalOf, taxOf, tipFromPercent, totalsOf, TIP_PERCENTS. Up to 24 quick items, 60 lines, quantity 999.
SalescreateSale, transition, saleState, isOpen, counts, the Sale type.
DetectionmatchSale, partialFor, pollSales, checkServer, DemoSource.
ScheduleFREE_PLAN, SERVER_PLAN, DEMO_PLAN, PollLedger, nextCheckAt, checkNowAt, stillChecking.
OutputbuildPaymentLink, salesToCsv, saleRow, receipts and the day report.
StorageStore, KEYS, makeBackup, parseBackup, mergeSales, sanitizeConfig.
PINisPin, hashPin, checkPin, PinLock: the staff PIN.
ReportsdayReport, totalsSince, receiptOf, receiptText, closeDayLines.

Self-hosting

Source: github.com/DogeJS-Dev/shop-mode. The till is plain static files, so any static host with HTTPS works.

  1. Build the till script and the helper library:
Shell
git clone https://github.com/DogeJS-Dev/shop-mode.git
cd shop-mode
npm install      # also installs core and backends from their git tags
npm run build    # dist/shop.js (the till) and dist/index.mjs (the helper library)
npm test         # 91 unit tests
  1. The till's page, stylesheet, manifest, icons and service worker are in the website repository under site/shop/app/. Copy that folder to your host and put your freshly built dist/shop.js in it as shop.js.
  2. Serve it at /shop/app/. The manifest and the service worker use that absolute path. To serve it elsewhere, change id, start_url and scope in the manifest and the path checks in sw.js.
  3. After you change any file of the shell, change the VERSION string at the top of sw.js, so tills that are already installed see "Update available".

There is nothing to configure in code: the address, currency, name and server are set in the till's Settings and saved in each device's browser. Branding is the name and icons in the manifest and icons/. The CSS is app.css, built on the DogeJS ui.css tokens.

More questions

What if two customers pay at once?

Each open sale asks for a different exact amount, so each payment matches one sale. If a customer pays a different amount, the sale shows Underpaid or More than asked, and you decide.

Is a payment from the free service final?

The till marks a sale Paid from what the service reports. For goods you cannot take back, choose 3 confirmations, check your wallet, or use your own server. The service is run by a third party and the till cannot verify its confirmations.