External Tester Quickstart
Use this path to test the hosted Cortex Base Sepolia deployment without cloning the repo or getting database access.
Hosted Surfaces
- Web app: https://cortex.projectaegis.ai
- API: https://cortex-api.projectaegis.ai
- Explorer: https://sepolia.basescan.org
- Base Sepolia faucets: Base faucet list
1. Prepare a Wallet
- Use MetaMask, Rabby, Coinbase Smart Wallet, or another EIP-1193 wallet.
- Add or switch to Base Sepolia.
- Fund the wallet with a small amount of Base Sepolia ETH for gas and test payments.
- Open /onboarding and connect the wallet.
2. Request a Hosted API Key
Hosted document writes require X-Cortex-Api-Key. The web app can request one for you from the Hosted API key panel.
- In
/onboarding, open the Hosted API key panel. - Click Request key.
- Sign the wallet message. This does not submit a transaction or spend funds.
- The returned key is stored in browser local storage and used for hosted document writes.
Cortex API key request
address: <your-lowercase-wallet-address>
issued_at: <unix-seconds>3. Register a Merchant and Service
- Open /onboarding.
- Stay on Merchant setup, enter the merchant fields, publish the profile, then register the merchant.
- Switch to Service, enter service details, publish metadata and catalog, then register the service.
- Wait a few seconds for the dashboard to show newly indexed records after each transaction.
4. Register an Agent and Policy
- Switch to Agent setup.
- Register the agent identity.
- In Spending policy, add a policy for your merchant or choose Any merchant for open purchasing.
- For the simplest native payment path, use the zero address token and zero address facilitator.
- Save the policy and confirm the wallet transaction.
5. Run a Purchase
- Open /purchase-simulator.
- Select your merchant, service, and agent from Registered context.
- Keep Direct transfer with native testnet ETH for the first run.
- Commit quote, send native ETH, record receipt, and record fulfillment.
- Wait roughly 5-10 seconds for indexing before checking dashboards.
6. Verify
Check the protocol, merchant, and agent dashboards, or use the public read APIs:
export API_URL=https://cortex-api.projectaegis.ai
export ADDRESS=0xYourWallet
curl "$API_URL/merchants?owner=$ADDRESS&active=true"
curl "$API_URL/agents?owner=$ADDRESS&limit=50"
curl "$API_URL/receipts?agent=$ADDRESS&limit=50"
curl "$API_URL/analytics/commerce"Troubleshooting
401 API key required: request a key from the Hosted API key panel, then retry the publish action.- Wallet prompts on the wrong network: switch to Base Sepolia and retry.
- Missing dashboard data immediately after a transaction: wait a few seconds for the indexer and refresh.
- Empty merchant dropdown in the simulator: register a merchant/service first, or use seeded demo merchants if available.
- Direct native payment is the lowest-friction path. ERC-20, facilitator, swap, and x402 flows may need token setup or approvals.