Files
martbost 608ec6547b 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>
2026-11-17 05:19:56 -06:00

23 lines
1.6 KiB
Bash

# ViralAdSource app env (Coolify). Never commit real values. Numbers marked PROPOSAL in config.js have defaults; Marty sets the real ones.
DOCSTORE_URL= # mysql://user:pass@host:3306/viraladsource REQUIRED (files are local prototype only)
SITE_HOST=viraladsource.com # staging: vas.saasy.top
STAGING=0 # 1 = staging banner + the admin-only test-member switch (refused on viraladsource.com anyway)
SESSION_SECRET=
ADMIN_TOKEN= # x-admin-token for /api/admin/*
NETWORK_SSO_SECRET= # network-wide secret (LinkSpin partner calls)
HUB_URL=https://hub.saasy.top
HUB_SECRET= # this site's hub secret (HUB_SITES.viraladsource)
HUB_SITE=viraladsource
HUB_SSO=on # network sign-in through the hub
HUB_ENABLED=0 # 1 = report Boosts to the hub (contract-bind / spend)
HUB_JOIN=0 # 1 = a confirmed L2 sign-up is written to the hub (join-all). 0 = dry check only
MAIL_URL= # mail relay for confirm links (JSON POST {from,to,subject,text}); empty = no mail
CONTRACT_ADDRESS= # VASShop
CHAIN_RPC=
KEEPER_KEY= # signs orders + reward vouchers (a NEW key, never the ViralAdBlitz keeper)
RELAY_KEY= # pays gas for claimReward relays (holds a little POL only)
REWARD_PAYOUTS=0 # 1 = relay sign-up rewards (amounts approved 2026-11-17; turn on at go-live only)
POT_DAILY_CENTS=2500 # display only: must match the contract potDailyMaxCents (the contract enforces it)
LS_TRACK=0 # 1 = LinkSpin tracked links for ads (needs LinkSpin's 'vas' partner entry)
LS_PARTNER=vas