edaf98c8f6
Watershed look from the approved mockup (hero, topo pattern, icons). Network sign-in through the hub, hub membership, activity ping. Reshare links per member per ad with branch/step tracking; family-tree dashboard (branch, step, reshares, views, clicks, sign-ups, Boosts). Verified views earn ad credits for the branch's resharer (L3). L2 sign-up pipeline (hub-new, confirmed email, not self device/IP, throwaway block, daily cap, fraud score) with keeper-signed reward vouchers and a pending-rewards ledger; payouts OFF (REWARD_PAYOUTS). L1 Boosts through VASShop with signed orders naming the sponsor line and the resharer. Trust pack, chatbot, promo kit, PolHunter embed. All numbers are PROPOSALS until Marty sets them. qa/e2e.mjs 59/59 on a local anvil chain, chatbot test 108/108. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
22 lines
1.5 KiB
Bash
22 lines
1.5 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. OFF until Marty confirms the amounts
|
|
LS_TRACK=0 # 1 = LinkSpin tracked links for ads (needs LinkSpin's 'vas' partner entry)
|
|
LS_PARTNER=vas
|