# Builds the static pages of domain-sites/paywell.company (not the app or rate pages, which are hand-written). # python3 tools/paywell-gen/build.py import os, html ROOT = os.path.join(os.path.dirname(os.path.abspath(__file__)), "..", "..", "domain-sites", "paywell.company") D = "https://paywell.company" LOGO = '' FAV = "data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Crect width='32' height='32' rx='9' fill='%230f3d2e'/%3E%3Ccircle cx='16' cy='14.5' r='8.5' fill='%23e0a526'/%3E%3Ccircle cx='16' cy='14.5' r='6.6' fill='none' stroke='%230f3d2e' stroke-opacity='.35' stroke-width='1'/%3E%3Cpath d='M16 9.6l1.5 3.1 3.4.5-2.5 2.4.6 3.4-3-1.6-3 1.6.6-3.4-2.5-2.4 3.4-.5z' fill='%230f3d2e'/%3E%3Cpath d='M8.5 25.5c2.2 1.6 4.7 2.4 7.5 2.4s5.3-.8 7.5-2.4' fill='none' stroke='%237fd1a3' stroke-width='2.2' stroke-linecap='round'/%3E%3C/svg%3E" NAV = [("/how-it-works/", "How it works"), ("/fair-pay/", "Fair pay"), ("/learn/", "Bitcoin basics"), ("/rate/", "Rate a visit"), ("/app/", "Team app"), ("/open/", "Open code")] def head(path, title, desc, extra=""): nav = "".join(f'{t}' for h, t in NAV) return f''' {html.escape(title)} {extra}
{LOGO}Paywell
''' FOOT = '''
''' DIAGRAM = open(os.path.join(os.path.dirname(os.path.abspath(__file__)), 'bonus_diagram.html'), encoding='utf-8').read().strip() RANKS_HTML = '''
1ExplorerEveryone starts here, learning the work. 1 bonus share.
2BuilderGrowing: steady high scores and teammates’ backing. 1½ bonus shares.
3GuideOn the way to mastery, helping others grow. 2 bonus shares.
''' def ic(d): return f'
' I_SHIELD = '' I_COIN = '' I_STAR = '' I_HEART = '' I_QR = '' I_SCALE = '' I_LOCK = '' I_BOOK = '' I_USD = '' def write(rel, s): p = os.path.join(ROOT, rel); os.makedirs(os.path.dirname(p), exist_ok=True) open(p, "w").write(s) ORG = ''' ''' # ---------------- Home ---------------- write("index.html", head("/", "Paywell | Fair pay you can see", "Paywell pays team members a guaranteed wage plus daily Bitcoin bonuses shown in dollars, and lets customers thank great service with a rating instead of a tip.", ORG) + f'''

Open now in test mode. Test coins only, no real money moves.

Fair pay you can see.

A guaranteed wage, a daily Bitcoin bonus shown in plain dollars, and a simple way for customers to say thank you without spending a cent. No tip jars. No tip screens.

A dog groomer in a bright salon smiling at her phone during a short break

How Paywell works

Do great work, earn more Bitcoin.

Your wage is always guaranteed. On top of it, a daily Bitcoin bonus grows with what customers and teammates say about your work, and with your tier. There are only three tiers.

{DIAGRAM} {RANKS_HTML}

See the full rules

A customer holding a phone above a receipt with a small printed code on a shop counter

For customers

Say thanks in ten seconds.

Scan the code on your receipt or tap the link in your text or email. Pick a rating. That’s it. No app, no account, no tip.

  1. Open your linkEach visit gets its own one-time link.
  2. Tap a ratingBig, simple buttons. Add a note if you like.
  3. DoneGreat ratings raise that person’s daily bonus. The company pays it, not you.

Rate a visit

Daily check-in

Thirty seconds at the end of each shift.

Before you head home, rate each teammate you worked with today: one to five stars and a kind, honest note if you like. It takes less than a minute, and it is how good teamwork gets noticed.

  1. Only people you worked withOne check-in per teammate per day. You can’t rate yourself.
  2. Private to your companyCheck-ins stay inside your own team. Nobody outside it ever sees them, and teammates see the stars and notes, not who wrote them.
  3. Skipping is fineA missing check-in is never counted as a yes or a no. It simply doesn’t count.
Two coworkers at a café counter after closing, one tapping stars on a phone while the other smiles

Our promises

What a rating can never do.

Ratings are a way to reward great work. They are not a way to take pay away.

Lower your hourly wage
Move your payday
Take back pay you’ve earned
Touch your wallet balance
Claw back a bonus already paid

A low rating only counts after it is checked, and you can always dispute it. If the facts are unclear, the team member gets the benefit of the doubt. Read the safeguards.

The team app

Dollars first. Always.

Your bonus is held in Bitcoin, but the app shows what it’s worth in U.S. dollars, right now. Bitcoin amounts and rates are one tap away when you want them. The point is to show what your money can buy, not to get you trading.

See every paycheck

Wage, score, tier and Bitcoin bonus, day by day.

Your wallet, your keys

We make a wallet that only you can open, or you use your own. Hold it, send it, or turn it into dollars through a licensed provider.

Your ratings

See each rating and dispute any you think is wrong.

Learn as you go

Short lessons on fees, price swings, taxes and keeping it safe.

Team chat

Channels for your crew, shout-outs, GIFs and shift swaps. Friendly, not corporate.

Take payment

Show a code or tap phones. The customer pays, then rates the visit. No kiosks, no tip screens.

Daily check-in

Rate the teammates you worked with today, in under a minute.

Passkey sign-in

Your face or fingerprint is your login. No usernames, no passwords.

Open the team app

A plumber sitting on the tailgate of a work truck at sunset, smiling at his phone
A home-repair crew of four having a cheerful morning huddle beside a service van

Fair pay. No tipping.

One policy, every company.

Every company that pays through Paywell follows the same promise: part-time roles paid by the hour, as much or as little as each person wants up to 39 hours a week, days off whenever they want, a guaranteed wage, daily performance bonuses, paid out automatically funded by the company, and no tips asked for or accepted. Customers never see a tip prompt.

Read the fair pay policy

Where things stand. The team app works today in test mode: start a team, invite teammates, check in, send rating links, take test payments and chat. It uses Bitcoin’s test network, so the coins have no value. Real wages and bonuses will go through a licensed payroll provider, and no real money moves through Paywell until every legal and tax check is done. Everything we build is open for anyone to copy: see the code.
''' + FOOT) # ---------------- How it works ---------------- write("how-it-works/index.html", head("/how-it-works/", "How Paywell works | Wages, bonuses and ratings", "How Paywell pays a guaranteed wage plus a daily Bitcoin bonus based on customer reviews, peer reviews and one of three tiers, and how reviews are checked, disputed and protected from fraud.") + f'''

How it works

Simple rules, written down.

Here is exactly how pay, bonuses and ratings fit together, and how we keep the system fair for team members and customers.

A home-repair crew having a morning huddle beside a service van

1. Your pay

Your pay has two parts. The wage is fixed. The Bitcoin bonus grows with your reviews and your tier.

''' + DIAGRAM + '''
PartHow it’s paidCan reviews change it?
Guaranteed wageHourly, in U.S. dollars, through regular payroll with normal tax withholding. At or above the legal minimum wage where you work, plus overtime as the law requires. Paid on the same payday every time.Never. Base pay and payday never depend on ratings.
Daily Bitcoin bonusYour score × your tier’s bonus shares × the value of one share, set by your company and shown to the team. Paid automatically every day in Bitcoin to your wallet, shown in dollars.Only today’s bonus, before it’s paid. It never goes below zero.

Bonuses are wages too. They show on your pay stub at their dollar value on the day they’re paid, and taxes are withheld and reported the same way as the rest of your pay. If you work overtime, these bonuses are counted in your regular rate, so your overtime pay goes up with them, as federal law requires.

2. Your score: customers and teammates

Your score runs from 0 to 100 and uses recent reviews and updates every day, so one bad day can’t sink it.

Part of your scoreWhere it comes fromWeight
Customer reviewsAfter each visit, the customer can give 1 to 5 stars through a one-time link. No app, no account, no tip.60%
Peer reviewsThe daily check-in: at the end of each shift, teammates who worked with you give 1 to 5 stars on teamwork, care and reliability, with an optional note.40%

Five stars counts as 100 and one star counts as 0. Customer reviews of 1 or 2 stars count only after they’re checked. No new reviews? Your score stays where it was. A missing check-in is never counted as a yes or a no.

  • Peer reviews are private. You see the stars and notes, not who wrote them. Nobody on the team can see who wrote what, and nobody outside your company ever sees them.
  • One check-in per teammate per day. You can’t review yourself, and trading five-star reviews or ganging up on someone is flagged and removed.
Example. Maya’s customers gave her 4.8 stars on average (that’s 95) and her teammates 4.6 stars (that’s 90). Her score is 95 × 60% + 90 × 40% = 93. She’s a Builder (tier 2), so her bonus today is 93% of 1½ shares.

3. Three tiers

There are only three tiers. Your tier sets how many bonus shares you get each day.

''' + RANKS_HTML + '''
  • Moving up is reviewed every three months. It looks at your score over that time and at what your teammates say.
  • Moving down only happens after a full three months of low scores, with written notice first and the right to dispute it.
  • Your tier never lowers your wage.

4. Safeguards for team members

No cut to hourly wages
No cut to earned pay
No cut to wallet balances
No clawback of paid bonuses
  • Low ratings are checked first. A 1 or 2 star rating is held for review before it counts. The reviewer looks at the visit record and any note from the customer.
  • You see every rating. Each one shows in your app with the date, the visit and any comment. Customer contact details stay private.
  • Things outside your control don’t count against you. Prices, wait times caused by scheduling, weather and company policies are filtered out.
  • Ratings only follow the law. Where local law limits how bonuses can change, the stricter rule wins, and a low rating simply won’t lower anything.

5. Disputing a review

  1. Tap “Dispute”Any rating in your app, within 14 days. Say what happened in your own words.
  2. The rating is pausedA disputed rating has no effect on your bonus while it’s reviewed.
  3. Someone fair reviews itA trained reviewer outside your own team, never someone from your own team.
  4. Decision in 5 business daysYou get the reason in writing. If it’s unclear, you win.
Two coworkers talking calmly at a break room table

Disputes never count against you, and nobody can be punished for raising one. You can also ask for a second review by a different person.

6. Keeping reviews honest

A florist showing a code on her phone to a customer who scans it with his own phone
  • One visit, one link. Each rating link is signed, tied to one real completed visit, works once, and expires after 14 days.
  • Links go to the customer. Links are printed on the receipt, sent to the contact the customer gave, or shown to them once as a code at the end of the visit. A team member can’t rate their own visit, and a link can’t be used twice.
  • Unusual patterns are flagged. Bursts of ratings, many ratings from one device, or ratings from people connected to the team member are set aside for review.
  • Nobody can edit a rating. Not anyone on the team. Every change, review and decision is logged.
  • No personal tracking. We don’t use ad trackers. Rating pages keep only what’s needed to check the rating.

7. Your wallet, your choice

A person unlocking a phone with their face at a bus stop in the morning

When you sign up, you choose where your Bitcoin goes: we create a wallet for you with your account (your passkey locks its backup, nothing to write down), or you paste the address of a wallet you already have and bonuses go straight there. You can switch any time.

Bonuses paid to your Paywell wallet land in the app. You can keep them there, send them to another wallet you control, spend them where Bitcoin is accepted, or turn them into dollars through a licensed provider. It works the other way too: if you’d like, you can choose to turn some of your own dollars into Bitcoin after payday, through a licensed provider, always your choice and never required. Learn the basics before you move anything.

Your keys, not ours. A wallet we make for you is opened only by your passkey. We keep a locked backup we cannot open, so we can never move your coins, and neither can anyone who breaks into our servers.

''' + FOOT) # ---------------- Fair pay ---------------- write("fair-pay/index.html", head("/fair-pay/", "Fair pay. No tipping. | Paywell", "The fair pay policy every Paywell company follows: part-time roles, a guaranteed wage, daily company-funded Bitcoin bonuses, paid out automatically, and no tips.") + f'''

Our employment policy

Fair pay. No tipping.

The same promise at every company that pays through Paywell. Good work is rewarded by the company, never by asking customers for more.

A plumber smiling at his phone on the tailgate of his truck

The policy

Part-time, paid hourly
Work as much or as little as you want
Days off whenever you want
A guaranteed wage
Daily Bitcoin bonuses
Rewards paid by the company
Thanks through ratings
  1. Part-time roles.Every role is part-time and paid by the hour. Team members work as much or as little as they want, up to 39 hours a week, and take days off whenever they want.
  2. A guaranteed wage.Every team member gets a steady hourly wage that meets or beats every wage law where they work, paid through normal payroll.
  3. Daily Bitcoin bonuses.On top of that wage, team members get a bonus every day, paid out automatically, shown in dollars and paid in Bitcoin. It grows with customer reviews, peer reviews and tier (there are three).
  4. No tips.Team members don’t ask for or accept tips. Customers never see a tip jar, tip line or tip screen.
  5. Thanks without spending.Customers who loved the service can leave a rating. Great ratings raise that person’s bonus.
  6. The company pays the reward.Every bonus comes from the company. Customers never pay extra for good service.
  7. Holistic health care.Team members get their health care through the holistic clinics we work with. Care outside those clinics is not covered.

What it means for customers

The price you see is the whole price. Nobody will hand you a screen asking for 20%. If someone did a great job, a quick rating is the best way to thank them, and it costs you nothing.

What it means for team members

You know what you’ll earn before the week starts. Great days earn more. Hard days never take away what you’re owed. You can always dispute a rating, and you can always see how your bonus was worked out. See the full rules.

Bonuses and taxes

Bonuses are part of your pay. They are reported at their dollar value when paid, and taxes are withheld the same way as your wage, so there are no surprises at tax time.

New to Bitcoin?

Read Bitcoin basics: what it is, how to keep it safe, how to turn it into dollars, and what fees, price swings and taxes mean for you.

''' + FOOT) # ---------------- Learn ---------------- lessons = [ ("hold", "Hold Bitcoin without a bank", "Bitcoin lives in a wallet, not a bank account. Your Paywell wallet works on your phone. You don’t need a bank account to receive your bonus or to keep it.", "

A wallet holds the keys that prove the Bitcoin is yours. Think of it like the key to a safe: whoever has the key can open it. That’s why your Paywell wallet keeps a locked backup, opened only by your passkey.

"), ("send", "Send it to another wallet", "You can move your Bitcoin to any other wallet you control, like a hardware wallet or another app.", "

Every wallet has an address, a long string of letters and numbers or a QR code. Always copy and paste or scan it, never type it by hand, and send a small test amount first. Bitcoin sent to the wrong address can’t be pulled back.

Sending uses a network fee. The app shows the fee in dollars before you confirm.

"), ("spend", "Spend it where it’s accepted", "Some shops, websites and services take Bitcoin directly. You scan their code and confirm the amount in dollars.", "

Most places still want dollars, so spending usually means converting first. Spending Bitcoin can count as selling it for tax purposes, so the app keeps a record for you.

"), ("convert", "Turn it into dollars", "Supported providers can convert your Bitcoin into U.S. dollars and send them to a bank account or debit card.", "

The app will show the provider’s rate and fee in dollars before you agree, so you know exactly how many dollars you’ll get. Providers are licensed and may ask you to verify your identity the first time.

"), ] L = "".join(f'

{t}

{p}

' for i, t, p, _ in lessons) LD = "".join(f'

{t}

{d}' for i, t, p, d in lessons) write("learn/index.html", head("/learn/", "Bitcoin basics | Paywell", "Plain-English Bitcoin basics for team members: holding, sending, spending and converting Bitcoin, plus fees, price swings, taxes, wallet security and passkey-locked backups.") + f'''

Bitcoin basics

What your bonus is, and what you can do with it.

Plain English, no hype. Your bonus is paid in Bitcoin and always shown in dollars. Here’s what that means for you.

A young woman at a kitchen table carefully writing on a small paper card

Four things you can do

It’s your money. You choose what happens to it.

{L}
{LD}

Fees

Moving Bitcoin isn’t free. Sending it pays a network fee that changes with how busy the network is. Converting it to dollars usually has a provider fee or a spread. Paywell always shows the full cost in dollars before you confirm. Paying your bonus into your wallet costs you nothing.

Price swings

Bitcoin’s price in dollars moves up and down, sometimes a lot in a single day. A bonus worth $100 today could be worth more or less next week. That’s why the app shows today’s dollar value first. If you need that money for rent or bills, you can turn it into dollars soon after it arrives. Holding Bitcoin is your choice, not a requirement, and we’ll never push you to trade.

Good rule of thumb: don’t hold more in Bitcoin than you could handle seeing drop by half. Keep money for bills in dollars.

Taxes

  • When you get it: your bonus is taxable pay at its dollar value on the day it’s paid. It shows on your pay stub and your year-end tax form, and taxes are withheld for you.
  • When you sell, spend or convert it: if the price went up since you got it, the gain may be taxable. If it went down, you may have a loss.
  • Records: the app keeps the date and dollar value of everything that comes in and goes out, so you or your tax preparer have what you need.

This is general information, not tax advice. Rules differ by state and change over time.

Keeping your wallet safe

  • Lock the app with your phone’s face, fingerprint or passcode.
  • Sign in with your passkey (your face or fingerprint). There’s no password to steal.
  • Never share a passkey setup link or any recovery words with anyone, including anyone who says they work for us. We will never ask.
  • Watch out for messages that rush you or promise to double your money. Those are scams.
  • Check addresses carefully, and send a small test first.
A small fireproof box on a shelf holding a folded paper card and a steel plate

Your backup, locked by your passkey

Every wallet has secret keys. Most apps make you write down 12 or 24 recovery words and keep them safe forever. With Paywell you don’t have to.

  • When you create your wallet, your phone locks a backup of its keys with your passkey (your face or fingerprint) and stores the locked backup with us.
  • Only your passkey can open it. We keep a locked box we can’t open, so nobody here can see or move your Bitcoin.
  • Your passkey syncs through your phone’s password manager. On a new phone, sign in with it and your wallet comes back.
  • Keep your phone’s password manager account safe, and add a second device you trust, so you never lose your passkey.

Moving from another wallet app? Enter its recovery words once, and from then on your passkey keeps the backup.

Questions?

The team app has short lessons on each of these, and you can ask your own AI assistant to explain anything here in more detail.

''' + FOOT) # ---------------- Privacy ---------------- write("privacy/index.html", head("/privacy/", "Privacy | Paywell", "How Paywell handles information on this site, the rating pages and the team app.") + '''

Privacy

We keep this short because we keep very little.

This website

No ad trackers, no analytics scripts and no cookies for tracking. We count page views as a single number per page, with no cookies and no personal details. The site is hosted on Cloudflare, which keeps standard server logs for security.

Rating pages

When you rate a visit we keep the rating, any note you write, the visit it belongs to, and the time. We use basic signals such as how many ratings come from one network to stop fraud, and we don’t sell or share them. Team members see your rating and note, never your contact details.

Team app

Team chat messages are visible to your company’s team and kept until they’re deleted. Sign-in uses passkeys, so we never hold a password; your face or fingerprint never leaves your device.

For team members we keep what’s needed to pay you correctly and follow the law: pay records, bonus records, ratings, disputes, wallet activity and tax records. Payroll and money conversion are handled by licensed partners who follow their own privacy rules. Your wallet backup is locked on your phone with your passkey before it reaches us. We store it but can’t open it, and only you can get it back.

Careers requests

If you send a request on our Careers page, we keep your message so we can reply.

Your choices

You can ask us to show you, correct or delete what we hold about you, except records the law requires us to keep, such as pay and tax records.

''' + FOOT) # ---------------- Careers ---------------- write("careers/index.html", head("/careers/", "Careers | Paywell", "Careers at Paywell. Send us a short request to work with us.", '\n') + '''

Careers

We’re always glad to hear from people who want to build with us. Tell us what kind of work you’d like to do and how we can reach you.

All our roles are part-time and paid by the hour. Work as much or as little as you want, up to 39 hours a week, and take days off whenever you want. Team members get a Bitcoin bonus every day, paid out automatically, that grows with performance, and get their health care through the holistic clinics we work with. Care outside those clinics is not covered.

''' + FOOT) # ---------------- 404 ---------------- write("404.html", head("/404", "Page not found | Paywell", "This page doesn’t exist.") + '''

We couldn’t find that page.

If you were trying to rate a visit, check the link on your receipt, text or email, or enter your code.

''' + FOOT) # ---------------- Rate ---------------- write("rate/index.html", head("/rate/", "Rate your visit | Paywell", "Rate a visit in seconds. No app, no account, no tip. Great ratings raise the team member’s bonus, paid by the company.", '\n\n') + """

Rate your visit

Say thanks in ten seconds.

No app, no account and no tip. Your rating is the thank-you.

Or scan the QR code on your receipt, or tap the link in your text or email.

No tip, ever

The price you paid is the whole price. Great service is rewarded by the company.

Great ratings help

A 4 or 5 star rating raises that person’s daily bonus right away.

Low ratings are checked

A 1 or 2 star rating is reviewed first, and the team member can respond.

""" + FOOT) # ---------------- Team app ---------------- write("app/index.html", head("/app/", "Team app | Paywell", "The Paywell team app: start a team, sign in with a passkey, check in on teammates, send rating links, take payment, hold a Bitcoin wallet and chat. Test mode: test coins only.", '\n\n') + """

Team app · test mode

Your pay, in plain dollars.

Start a test team, add your teammates, and use every part of Paywell: daily check-ins, customer rating links, taking payment, your own Bitcoin wallet and team chat. It all runs here on the web, on any phone or computer. Test mode uses test coins, and no real money moves.

Loading…

Sign-in is a passkey only: your face, fingerprint or screen lock. No passwords. The wallet runs on Bitcoin’s test network (signet), and its backup is locked by your passkey so we can never open it. All of this code is open: see Open code.

""" + FOOT) # ---------------- Open code ---------------- import shutil GH = "https://github.com/projectatomai/hosting-research/blob/main/" SRC = [ ("domain-sites/functions/paywell-app.js", "paywell-app.js", "Team app server: passkey sign-up and sign-in (WebAuthn checked on our server), teams, setup links, daily check-ins, scores, daily bonus math, chat, rating links, and the test-network Bitcoin proxy."), ("domain-sites/functions/paywell-api.js", "paywell-api.js", "Customer rating links (signed, one use, 14 days) and the wallet vault that stores a passkey-locked backup we cannot open."), ("tools/paywell-gen/schema.sql", "schema.sql", "The whole database: teams, people, passkeys, sessions, check-ins, ratings, chat, vault."), ("domain-sites/paywell.company/app/app.js", "app.js", "The team app in the browser: screens, passkeys, wallet lock (PRF + HKDF + AES-GCM), check-ins, payments, chat."), ("tools/paywell-gen/app-src/wallet-src.js", "wallet-src.js", "The wallet: BIP39 words, BIP84 addresses, building and signing payments, QR codes. Built with audited open libraries (@scure)."), ("domain-sites/paywell.company/assets/rate.js", "rate.js", "The customer rating page."), ("tools/paywell-gen/bonus_diagram.html", "bonus_diagram.html", "The daily bonus diagram used on this site and on every brand’s fair pay page."), ("tools/paywell-gen/logo.svg", "logo.svg", "Our logo: a gold coin with a rating star, over a smile."), ("tools/paywell-gen/build.py", "build.py", "Builds every page of this website."), ] REPO = os.path.join(os.path.dirname(os.path.abspath(__file__)), "..", "..") os.makedirs(os.path.join(ROOT, "open", "src"), exist_ok=True) for rel, name, _ in SRC: shutil.copyfile(os.path.join(REPO, rel), os.path.join(ROOT, "open", "src", name + ".txt")) rows = "".join(f'{html.escape(n)}{html.escape(d)}Read it here · Source' for r, n, d in SRC) write("open/index.html", head("/open/", "Open code | Paywell", "All of Paywell is open: the team app, the server, the database, the wallet, the rating links, the logo and the pay model. Copy any of it, free, no permission needed.") + f'''

Open code

Take it. It’s yours too.

Every line of Paywell is public and free to copy, change and use, for any reason, with no permission needed. The code, the database, the designs, the logo and the full pay model are all here. We give it away on purpose: fair pay should be easy for every company to start.

A laptop on a workbench showing code beside a notebook with a hand-drawn diagram of the bonus formula

What’s open

{rows}
FileWhat it doesGet it

Everything is dedicated to the public domain (CC0 for words and pictures, the Unlicense for code). You don’t need to credit us.

How it fits together

  1. A website, nothing to installThe site, the team app and the rating pages are plain web pages served from the edge. They work on any phone or computer, and you can add the app to your home screen.
  2. Passkeys onlySign-in uses WebAuthn passkeys: your face, fingerprint or screen lock. There are no passwords to steal. Our server checks every passkey signature itself.
  3. A small databaseOne SQLite database (Cloudflare D1) holds teams, people, check-ins, ratings and chat. Sessions are stored only as a fingerprint (hash) of the token.
  4. A wallet we can’t openThe wallet is made in your browser. Its backup words are locked with a key that only your passkey can produce (the WebAuthn PRF extension), then stored with us as a sealed box.
  5. Signed rating linksEach visit gets a link signed by the server (HMAC-SHA256). It works once, for 14 days, and can’t be faked or reused.
  6. The math is publicScore = customer reviews 60% + peer check-ins 40%, from 0 to 100. Daily bonus = score × tier shares × the value of one share. Tiers: Explorer 1, Builder 1½, Guide 2.

Run your own copy

  1. Copy the domain-sites folder and the tools/paywell-gen folder from the repository.
  2. Create a D1 database and load schema.sql into it.
  3. Deploy to Cloudflare Pages with that database bound as PAYWELL_DB.
  4. Change the domain name in paywell-app.js (it’s the passkey website ID), and you have your own Paywell.
Before real money moves. Test mode uses Bitcoin’s test network. Paying real wages needs a licensed payroll provider, normal tax withholding and reporting, and the money transmitter rules in each state. Our research page lists the sources.
''' + FOOT) # ---------------- Pay (opened by an NFC tap or QR from a Paywell phone) ---------------- write("pay/index.html", head("/pay/", "Pay | Paywell", "Pay with Bitcoin by tapping phones. Shown in dollars.", '\n\n') + """

Test mode: test coins only, no real value.

Pay by tapping phones

Hold your phone to a Paywell phone, or scan its code. This page opens with the payment ready.

""" + FOOT) pages = ["/", "/how-it-works/", "/fair-pay/", "/learn/", "/rate/", "/app/", "/open/", "/research/", "/careers/", "/privacy/"] write("sitemap.xml", '\n\n' + "".join(f"{D}{p}\n" for p in pages) + "\n") write("robots.txt", "User-agent: *\nAllow: /\nDisallow: /r/\nSitemap: https://paywell.company/sitemap.xml\n") write("llms.txt", """# Paywell > Paywell is an open pay and customer-ratings platform, working today in test mode. Team members get a guaranteed wage through normal payroll, a daily company-funded Bitcoin bonus, paid out automatically always shown in U.S. dollars, that grows with customer reviews (60%), peer reviews (40%) and tier (three tiers). Customers rate visits through a one-time link (receipt QR code, text or email) with no app, no account and no tip. - [How it works](https://paywell.company/how-it-works/): pay parts, score, three tiers, safeguards, disputes, fraud checks - [Fair pay. No tipping.](https://paywell.company/fair-pay/): the employment policy every Paywell company follows - [Bitcoin basics](https://paywell.company/learn/): holding, sending, spending, converting, fees, price swings, taxes, security, passkey-locked wallet backup - [Rate a visit](https://paywell.company/rate/): customer rating page - [Team app](https://paywell.company/app/): working test-mode app: passkeys, teams, daily check-ins, rating links, take payment, test-network wallet, chat - [Open code](https://paywell.company/open/): all source code, database, logo and pay model, public domain - [Research](https://paywell.company/research/): sources and the full operating model Ratings never lower wages, earned pay, wallet balances or paid bonuses. Status: test mode; no real money moves yet. """) print("built", ROOT)