Skip to content

feat: support BlockRun account API billing - #4

Open
KillerQueen-Z wants to merge 1 commit into
BlockRunAI:mainfrom
KillerQueen-Z:feat/account-api-key
Open

feat: support BlockRun account API billing#4
KillerQueen-Z wants to merge 1 commit into
BlockRunAI:mainfrom
KillerQueen-Z:feat/account-api-key

Conversation

@KillerQueen-Z

Copy link
Copy Markdown
Collaborator

Franklin.bet's generator and CI previously required a Base x402 wallet, and the public docs/site said API keys were unsupported. This makes BLOCKRUN_API_KEY the preferred billing credential for chat generation, passes it through both automation workflows (including Franklin agent mode), preserves wallet fallback, and updates the site, README, env template, and contributor guidance with account registration, credits, and key links. Wallet documentation now lists Solana before Base where the Franklin agent supports both.

Depends on BlockRunAI/blockrun-llm-ts#36 and BlockRunAI/Franklin#156. Refresh the lockfile to the SDK release containing #36 before merge.

Validation:

  • npm test — 5/5 pass
  • Node syntax checks for generator, event CLI, and shared oracle
  • package/lock JSON parse and npm pack --dry-run
  • Live account API through this repository's resolveClient: openai/gpt-4.1-nano returned the expected result, selected account billing, created no wallet files, and exposed no credential in output
  • npm audit — 0 vulnerabilities

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant