Add all-in-one litesvm plugin#187
Conversation
🦋 Changeset detectedLatest commit: fa05433 The changes in this PR will be included in the next version bump. This PR includes changesets to release 3 packages
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
trevor-cortex
left a comment
There was a problem hiding this comment.
Summary
Adds a litesvm() all-in-one plugin that composes the existing individual LiteSVM plugins (litesvmConnection, litesvmAirdrop, litesvmGetMinimumBalance, litesvmTransactionPlanner, litesvmTransactionPlanExecutor) plus planAndSendTransactions into a single call. This mirrors the solanaRpc pattern from the RPC package.
Review
Clean PR — the implementation follows the established solanaRpc pattern closely. The composition via pipe is straightforward, the browser stub throws correctly, docs and changeset are in order, and the test covers both the Node.js happy path and the browser error path.
One minor observation below on the browser stub, but nothing blocking.
LGTM 👍
Merge activity
|
This PR adds a `litesvm` all-in-one plugin that sets up a full LiteSVM client in a single call, including SVM connection, airdrop support, minimum balance computation, transaction planning, and transaction execution. This mirrors the pattern established by `solanaRpc` in the RPC package.
6db08f2 to
fa05433
Compare

This PR adds a
litesvmall-in-one plugin that sets up a full LiteSVM client in a single call, including SVM connection, airdrop support, minimum balance computation, transaction planning, and transaction execution. This mirrors the pattern established bysolanaRpcin the RPC package.