{"id":51222368,"url":"https://github.com/tempoxyz/tempo-maybe-pay","last_synced_at":"2026-06-28T08:03:51.471Z","repository":{"id":362690458,"uuid":"1258532531","full_name":"tempoxyz/tempo-maybe-pay","owner":"tempoxyz","description":null,"archived":false,"fork":false,"pushed_at":"2026-06-05T13:45:23.000Z","size":177,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-06-05T14:18:16.780Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/tempoxyz.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":"AGENTS.md","dco":null,"cla":null}},"created_at":"2026-06-03T17:07:07.000Z","updated_at":"2026-06-05T11:12:04.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/tempoxyz/tempo-maybe-pay","commit_stats":null,"previous_names":["tempoxyz/tempo-maybe-pay"],"tags_count":null,"template":false,"template_full_name":null,"purl":"pkg:github/tempoxyz/tempo-maybe-pay","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tempoxyz%2Ftempo-maybe-pay","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tempoxyz%2Ftempo-maybe-pay/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tempoxyz%2Ftempo-maybe-pay/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tempoxyz%2Ftempo-maybe-pay/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tempoxyz","download_url":"https://codeload.github.com/tempoxyz/tempo-maybe-pay/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tempoxyz%2Ftempo-maybe-pay/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34881390,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-28T02:00:05.809Z","response_time":54,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2026-06-28T08:03:50.761Z","updated_at":"2026-06-28T08:03:51.461Z","avatar_url":"https://github.com/tempoxyz.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Tempo Maybe Pay\n\nTempo Maybe Pay is a \"try to bankrupt the house\" storefront for buying product NFTs with probabilistic TIP-20 payments. Users escrow the maximum payment, onchain commit-reveal randomness resolves whether the order is paid or free, and the item NFT is delivered either way. Each NFT can be redeemed back to the house for 99% of its price for 1 hour.\n\n## Flow\n\n1. A user connects a Tempo passkey wallet.\n2. The app opens a committed randomness epoch.\n3. The user chooses an item and pay probability.\n4. The user approves pathUSD escrow and places an order.\n5. The frontend waits for the order receipt and calls the Vercel processor.\n6. The processor reveals the seed, resolves the order, returns free escrow or keeps paid escrow in the house contract, and delivers the item NFT.\n7. The user can redeem the NFT for 99% of its price within 1 hour, returning the NFT to store inventory.\n8. Expired redemption claims can be settled onchain; the NFT remains a collectible and the house liability unlocks.\n\n## Local Setup\n\n```bash\npnpm install\npnpm --filter @tempo-maybe-pay/contracts test\npnpm --filter @tempo-maybe-pay/web dev\n```\n\nCopy `.env.example` or `apps/web/.env.example` to a local `.env.local` after contracts are deployed.\n\n## Tempo deployments\n\n### Mainnet\n\n- pathUSD store: `0x567A1CBdb1fb304c799d1130f3675B58E923e2C6`\n- pathUSD item token: `0x33D45470110aA62F06D97588205fe413a44eFE44`\n- pathUSD token: `0x20c0000000000000000000000000000000000000`\n- USDC.e store: `0xDD7c855e521B9371aB7c7d2166964b69D239315A`\n- USDC.e item token: `0x64c0c6305b4D3C9290C3412374f6A455EDFDdcd7`\n- USDC.e token: `0x20c000000000000000000000b9537d11c60e8b50`\n- Operator: `0xd39B4A4b4Ec6e07b6f9B72596D1541bC67F08fD4`\n- Initial USDC.e house bankroll: `0 USDC.e` until seeded\n\nDeployment artifacts: `packages/contracts/deployments/4217.json` and `packages/contracts/deployments/4217-usdc.json`.\n\n### Testnet\n\n- pathUSD store: `0x50Fe68c6BF1FC8311252F86701A54F6C753D691D`\n- pathUSD item token: `0x47926a61023B4A99de3F8958b4F168e8aB868Ee3`\n- pathUSD token: `0x20c0000000000000000000000000000000000000`\n- USDC.e store: `0xCd4A483924aB8711F094C2cE351681F691069D34`\n- USDC.e item token: `0x95f4beAB8Db934Dfb71F0D07fe794099D3F82b27`\n- USDC.e token: `0x20c0000000000000000000009e8d7eb59b783726`\n- Operator: `0xd39B4A4b4Ec6e07b6f9B72596D1541bC67F08fD4`\n- Initial USDC.e house bankroll: `0 USDC.e` until seeded\n\nDeployment artifacts: `packages/contracts/deployments/42431.json` and `packages/contracts/deployments/42431-usdc.json`.\n\nThe catalog has three Tempo tier NFTs:\n\n- Tempo Flight Pass, pictured with `:money-with-wings:`\n- Tempo Dollar Lane, pictured with `:dollar:`\n- Tempo Treasury Bag, pictured with `:moneybag:`\n\nTestnet prices are `1`, `10`, and `100` in the selected token. Mainnet prices are `0.001`, `0.01`, and `0.1` in the selected token.\n\n## Live app\n\nProduction: https://tempo-maybe-pay.vercel.app\n\n## Validation\n\n```bash\npnpm check\npnpm --filter @tempo-maybe-pay/web build\n```\n\nTestnet smoke covered free order resolution, 99% redemption, NFT restocking, and liability returning to zero.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftempoxyz%2Ftempo-maybe-pay","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftempoxyz%2Ftempo-maybe-pay","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftempoxyz%2Ftempo-maybe-pay/lists"}