Add Satoshi API community example#74
Open
Bortlesboat wants to merge 1 commit into
Open
Conversation
28449a9 to
f66007b
Compare
Author
|
Refreshed onto current main and resolved the workspace conflict while preserving the newer packages workspace. The community example now follows the current repository formatting. Verification: scoped Satoshi example typecheck passed, touched-file Prettier check passed, and diff check passed. Note: current upstream main's frozen install is already blocked by its root manifest/lockfile mismatch, so validation used pnpm install with lockfile reads/writes disabled and did not include an unrelated lockfile rewrite. |
f66007b to
c0f1642
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Reviewer Packet
Verification
Notes
Repo-wide checks appear red on main before this change: prettier reports existing formatting warnings across many files, and eslint crashes in the existing vercel-puppeteer example because @eslint/eslintrc is missing.
Note
Low Risk
Documentation and isolated example code only; no changes to production packages or core runtime behavior.
Overview
Adds a community integrations section under
examples/community/, replacing the prior WIP placeholder README with an index that links to a new Satoshi API + Browserbase sample.The new
satoshi-apipackage is a standalone TypeScript demo: it calls Satoshi API’s freeGET /api/v1/fees/recommended(optionalX-API-Key), normalizes the response into a human-readable fee decision, then starts a Stagehand session on Browserbase, opensmempool.space, and logs the fee summary alongside the Browserbasesession_idand page title. Docs cover env vars, setup, and the optional paid x402fees/nowroute.pnpm-workspace.yamlnow includesexamples/community/*so the nested example participates in the monorepo workspace.Reviewed by Cursor Bugbot for commit c0f1642. Bugbot is set up for automated code reviews on this repo. Configure here.