VBBShop hooks (inert until configured, nothing deployed): GET /api/my/voucher signs an EIP-712 sponsor voucher with KEEPER_KEY when the hub lookup names the member's network sponsor (new optional sponsor field; none or self = no voucher); shop.js watcher reads Purchase logs (CONTRACT_ADDRESS + CHAIN_RPC, confirmed blocks, 1,000-block ranges) and credits packs once per txHash:logIndex, dedupe marks saved in vbb.json with the credits; admin status shows the watcher, never the key. Packages page stays coming soon. Smoke 117/117 (fake chain + voucher checks)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -12,6 +12,10 @@ services:
|
||||
ADMIN_TOKEN: ${ADMIN_TOKEN:-}
|
||||
NETWORK_SSO_SECRET: ${NETWORK_SSO_SECRET:-}
|
||||
WALLETCONNECT_PROJECT_ID: ${WALLETCONNECT_PROJECT_ID:-}
|
||||
CONTRACT_ADDRESS: ${CONTRACT_ADDRESS:-}
|
||||
CHAIN_RPC: ${CHAIN_RPC:-}
|
||||
SHOP_START_BLOCK: ${SHOP_START_BLOCK:-}
|
||||
KEEPER_KEY: ${KEEPER_KEY:-}
|
||||
volumes:
|
||||
- vbb-data:/app/data # uploads only once DOCSTORE_URL is set
|
||||
expose:
|
||||
|
||||
Reference in New Issue
Block a user