Approved launch numbers; members earn for free; Boost = a 7-day board spot (placement only)
- config: 5 sponsor levels x 10% (company 20%), approved numbers labelled as such, POT_DAILY_CENTS display (2500). - Eligibility: a network member with a linked wallet earns a level or the resharer cut, Boost or not. /api/my/order drops line members with no wallet (compression); empty levels and the no-resharer cut go to the company. - shop.js: VASShop ABI after the contract fix (Purchase.boardDays, skus().boardDays, potDailyMaxCents, potCentsToday); purchase days from the chain. wire.js keeps the on-chain days. - Copy: removed "sponsor levels pay people who have bought a Boost / passed over / none qualified" and the proposal labels; Boost page, chatbot, contract page (split fixed forever, pot daily cap) say a Boost buys placement only. Assets ?v=2. - qa/e2e.mjs: deploys the new VASShop (5 x 10%, pot cap 2500, SKU 7 days); a no-wallet hub member between buyer and sponsor is skipped and both sponsors get exactly 10% without a Boost. 61/61. Chatbot QA 108/108. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -3,9 +3,16 @@
|
||||
"Every ad has a source. Watch yours travel." Approved by Marty 2026-11-16 (mockup: Design canvas 2XuFAog3KEiuXbfEvVvTZk).
|
||||
Plain Node http server, no framework (the ViralAdBlitz / VBB / Downline Banners pattern). Contract: `../contracts` (VASShop).
|
||||
|
||||
Every number marked **PROPOSAL** (Boost $5, resharer 20%, pot 10%, sponsor levels 5 x 5%, sign-up reward $0.25 with a daily cap of 10,
|
||||
10 credits per 100 verified views, tier bonus every 25th sign-up $2.50 locked 14 days, Boost = 7 days on top) is Claude's proposal.
|
||||
Marty has not set them. Payouts of sign-up rewards are OFF (`REWARD_PAYOUTS`).
|
||||
Launch numbers APPROVED by Marty 2026-11-17: Boost $5 = a 7-day board spot (placement only); resharer cut 20% of a Boost bought through
|
||||
their branch (paid by the contract in the same tx); reward pot 10% of every Boost; 5 sponsor levels x 10% (company keeps 20%); split
|
||||
immutable on chain; new-member reward $0.25 in POL per verified brand-new network member through a branch, cap 10/day per person;
|
||||
10 ad credits per 100 verified views. Still proposals: the global pot cap figure ($25/day, `POT_DAILY_CENTS` display + the contract's
|
||||
`potDailyMaxCents`) and the tier bonus (every 25th sign-up $2.50 locked 14 days). Payouts of sign-up rewards are OFF on staging
|
||||
(`REWARD_PAYOUTS`).
|
||||
|
||||
**Members earn for free.** A Boost buys placement only. Level shares and the resharer cut need only a network sign-in (hub member) and a
|
||||
linked wallet. Compression: `/api/my/order` drops everyone in the hub sponsor line without a wallet, so each level passes up to the next
|
||||
eligible person; levels left when the line runs out go to the company; with no resharer, the 20% resharer cut goes to the company.
|
||||
|
||||
## What it does
|
||||
|
||||
@@ -32,9 +39,9 @@ Marty has not set them. Payouts of sign-up rewards are OFF (`REWARD_PAYOUTS`).
|
||||
contract pays from the pot. Admin can release / reject / recheck.
|
||||
- **L1 Boost** (shop.js): `POST /api/my/order` builds a keeper-signed `Order(buyer, sku, qty, ref, line[], resharer, nonce, deadline)`:
|
||||
line = the buyer's hub sponsor line (wallets, up to 20), resharer = the owner of the reshare link the buyer came through (never the
|
||||
buyer). The contract pays the resharer cut, the sponsor levels (pass-up over people who never bought), the pot slice and the company in
|
||||
buyer). The contract pays the resharer cut, the sponsor levels (places 1..5 of the compressed line, no Boost needed), the pot slice and the company in
|
||||
the same transaction. The watcher records Purchase and RewardPaid events; a Boost puts the ad on top of the reshare board for 7 days per unit.
|
||||
- **Trust pack** (proof.js): `/ledger` (Boost splits + sign-up rewards, no emails), `/contract` (live from the chain, or the proposals
|
||||
- **Trust pack** (proof.js): `/ledger` (Boost splits + sign-up rewards, no emails), `/contract` (live from the chain, or the launch numbers
|
||||
before deploy), toasts (new ads, reshares, Boosts), Telegram photo card per Boost (off unless `TG_*` are set), Terms / Earnings
|
||||
Disclaimer / Privacy (TrustClickz), the network footer (netsites.js).
|
||||
- **Chatbot** (chatbot.js + the shared chatcore / kb / netkb), **promo kit** (`/promote`, `/api/promo-kit`, 24 creatives
|
||||
@@ -52,7 +59,7 @@ Marty has not set them. Payouts of sign-up rewards are OFF (`REWARD_PAYOUTS`).
|
||||
npm install
|
||||
node tools/pages.mjs # regenerate public/*.html (one source of copy + legal facts)
|
||||
node tools/art.mjs # icon, OG image, proof cards, kit creatives (Playwright)
|
||||
node qa/e2e.mjs # 59 checks: real VASShop on a local anvil chain + stand-in hub (needs ../contracts built)
|
||||
node qa/e2e.mjs # 61 checks: real VASShop on a local anvil chain + stand-in hub (needs ../contracts built)
|
||||
node qa/chatbot.test.mjs # the site assistant
|
||||
```
|
||||
Env: `.env.example`.
|
||||
|
||||
Reference in New Issue
Block a user