Standalone Phoenix LiveView app for autolaunch.sh, ported from Regent's legacy /agentlaunch surface.
- Guided launch flow at
/launch - Auction market at
/auctions - Auction detail route at
/auctions/:id - Positions route at
/positions - Human proof flow at
/agentbook - Privy browser login with Phoenix session exchange
- SIWA sidecar proxy endpoints and wallet-signature verification
- CCA readiness checks, launch job persistence, bid quoting, and positions
- Public AgentBook registration and lookup flows
DATABASE_URLorLOCAL_DATABASE_URLSECRET_KEY_BASEPHX_HOSTPORTPRIVY_APP_IDPRIVY_VERIFICATION_KEYSIWA_INTERNAL_URLSIWA_SHARED_SECRETSIWA_HMAC_SECRETETH_MAINNET_RPC_URLETH_SEPOLIA_RPC_URLETH_MAINNET_FACTORY_ADDRESSorETH_FACTORY_ADDRESSETH_MAINNET_UNISWAP_V4_POOL_MANAGERorETH_UNISWAP_V4_POOL_MANAGERETH_MAINNET_USDC_ADDRESSETH_SEPOLIA_USDC_ADDRESSREGENT_EMISSIONS_DISTRIBUTOR_ADDRESSAUTOLAUNCH_DEPLOY_WORKDIRAUTOLAUNCH_DEPLOY_BINARYAUTOLAUNCH_DEPLOY_SCRIPT_TARGETAUTOLAUNCH_DEPLOY_ACCOUNTorAUTOLAUNCH_DEPLOY_PRIVATE_KEYAUTOLAUNCH_CHAIN_IDAUTOLAUNCH_EPOCH_GENESIS_TSAUTOLAUNCH_EPOCH_SECONDSAUTOLAUNCH_PUBLISHER_ENABLEDAUTOLAUNCH_PUBLISHER_INTERVAL_MSWORLD_ID_APP_IDWORLD_ID_ACTIONWORLD_ID_RP_IDWORLD_ID_SIGNING_KEYWORLDCHAIN_RPC_URLWORLDCHAIN_AGENTBOOK_ADDRESSWORLDCHAIN_AGENTBOOK_RELAY_URLBASE_MAINNET_RPC_URLBASE_AGENTBOOK_ADDRESSBASE_AGENTBOOK_RELAY_URLBASE_SEPOLIA_RPC_URLBASE_SEPOLIA_AGENTBOOK_ADDRESSBASE_SEPOLIA_AGENTBOOK_RELAY_URL
//launch/auctions/auctions/:id/positions/agentbook/health/api/auth/privy/session/api/agents/api/agents/:id/api/agents/:id/readiness/api/launch/preview/api/launch/jobs/api/launch/jobs/:id/api/auctions/api/auctions/:id/api/auctions/:id/bid_quote/api/auctions/:id/bids/api/me/bids/api/bids/:id/exit/api/bids/:id/claim/api/agentbook/sessions/api/agentbook/sessions/:id/api/agentbook/sessions/:id/submit/api/agentbook/lookup/api/agentbook/verify/v1/agent/siwa/nonce/v1/agent/siwa/verify
- This app uses LiveView as the source of truth for page state.
- TypeScript is limited to Privy browser auth, wallet signing, and motion hooks.
- The canonical CLI lives in
regent-cliasregent autolaunch .... - Public launches are Ethereum-only. The user does not choose a chain in the launch form.
AUTOLAUNCH_CHAIN_IDdecides whether the environment is mainnet (1) or Sepolia (11155111). - The launch worker expects the hard-cut
CCA_RESULT_JSONpayload with registry, rights hub, vault, and Base emissions addresses. It no longer reads the old fee-vault and pool-id payload. - Launch jobs now collect a recovery Safe, auction proceeds recipient, Ethereum revenue treasury, Base revenue treasury, Tempo revenue treasury, and Base emission recipient.
- Revenue and emissions use fixed 72-hour epochs (
259200seconds) fromAUTOLAUNCH_EPOCH_GENESIS_TS. - The publisher worker is a separate background path. It stores epoch roots, revenue snapshots, and REGENT epoch records in app tables and is enabled with
AUTOLAUNCH_PUBLISHER_ENABLED=true. - Tempo is present in the data model as a reserved routing seam only. It is not active in the v0.1 publisher flow.
- The launch contracts are not defined in this repo. The canonical Solidity sources for the CCA deploy flow, hook ingress, revenue rights hub, revenue vaults, registry, and Base emissions distributor live in
monorepo/contracts. - The launch worker is real-deploy by default; mock deploy is opt-in with
AUTOLAUNCH_MOCK_DEPLOY=true.