feat: create @stacks/rpc-client package
The RPC schema is being removed from the stacks-blockchain-api codebase. This means the @stacks/blockchain-api-client library will no longer include auto-generated code for those endpoints. See more details over at that repo: PR, client migration notes.
This PR creates a new library @stacks/rpc-client which generates a client library using the canonical RPC schema at
https://github.com/stacks-network/stacks-core/blob/master/docs/rpc/openapi.yaml
The library http request types are generated using openapi-typescript, and depends on openapi-fetch.
Some glue code is included to easily use the existing StacksNetwork objects and middleware, and also to export some common types.
The latest updates on your projects. Learn more about Vercel for Git ↗︎
| Name | Status | Preview | Comments | Updated (UTC) |
|---|---|---|---|---|
| stacksjs-docs | ✅ Ready (Inspect) | Visit Preview | 💬 Add feedback | Aug 15, 2024 0:40am |
This is going into its own repo and will be closed when that's ready. /cc @janniks