Skip to content

Add testnet5 - #209

Draft
orangesurf wants to merge 1 commit into
mempool:mainfrom
orangesurf:orangesurf/add-testnet5
Draft

orangesurf wants to merge 1 commit into
mempool:mainfrom
orangesurf:orangesurf/add-testnet5

Conversation

@orangesurf

Copy link
Copy Markdown

Accept network: 'testnet5'. Without it the library silently uses the mainnet REST and WebSocket endpoints, because any network it does not know becomes an empty prefix. Same five files as the testnet4 change (#206): the two prefix lists, both READMEs and the package keywords.

No version bump; that is left to the release. mempool.space serves a versioned bundle (frontend/mempool-js/v3.0.0/), so it needs a new bundle folder after the next release.

Testing: npm run build passes. makeBitcoinAPI({ hostname: 'mempool.space', network }) gives https://mempool.space/testnet5/api/ for testnet5, and the same base URLs as before for mainnet, testnet, testnet4 and signet. Not run against a live testnet5 server.

@cla-bot cla-bot Bot added the cla-signed label Nov 20, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant