Skip to content

Migrate connect to RPC based APIs #399

@kyranjamie

Description

@kyranjamie

@stacks/connect continues to wrap the JWT-based calls used by Leather, Xverse etc.

These wallets now support RPC specs for Bitcoin requests, and the direction proposed in @janniks SIP is that Stacks follows suit stacksgov/sips#166

Developers are finding it difficult to migrate to the new APIs, and would rather continue to use @stacks/connect. This is easier than interacting with wallets directly via their injected provider.

It should be considered what is involved to upgrade @stacks/connect to the new RPC-based APIs. Perhaps it's best to just push a new breaking version, and prompt developers to update their apps. Another option would be to run both in parallel during, so that developers can incrementally opt-in during the transitionary phase.

This change would also be a motivating factor for wallets to prioritise the new Stacks APIs.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

Status

🏗 In Progress

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions