-
Notifications
You must be signed in to change notification settings - Fork 105
Open
Description
[do not pick up this issue yet]
go through the entire lib and
- import
@solana/[whatever]instead of@solana/kit, eg- RPC client & transport →
@solana/rpc,@solana/rpc-transport-http(and@solana/rpc-api,@solana/rpc-typesonly where needed) - Subscriptions →
@solana/rpc-subscriptions - Transactions (compile/sign) →
@solana/transactions - Transaction messages (build/transform) →
@solana/transaction-messages - Signers →
@solana/signers - Accounts fetch/decode →
@solana/accounts,@solana/codecs,@solana/sysvars - Error utils →
@solana/errors
- RPC client & transport →
Add ESLint rule: disallow @solana/kit as an import source
Add "sideEffects": false except for any files that actually run code on import (list those explicitly) (I don’t know what these are yet)
Always use named exports
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels