@solana/kora 0.3.0-beta releases add bundle methods for the v2.2.0-beta
server and move to Kit 7. Install the beta SDK:
@solana/kora 0.3.0-beta.3, which requires @solana/kit 7 and
its matching plugins (@solana/kit-plugin-rpc, @solana/kit-plugin-signer,
and @solana/kit-plugin-instruction-plan). npm installs them as peer
dependencies. The stable @solana/kora 0.2.x stays on Kit 6.
Kit Client Entry Point
createKitKoraClient, the client the
Kit Client guide recommends for
0.2.x, is no longer exported from @solana/kora. From 0.3.0-beta.2 it lives in
the @solana/kora/kit entry point and is deprecated in favour of the kora()
Kit plugin from the same entry point. The main @solana/kora entry point exports
KoraClient, koraPlugin, KoraError, and KoraErrorCode.
The kora() plugin reads the user’s signer from identity() in
@solana/kit-plugin-signer and sets Kora as the fee payer:
tokenProgram()
the same way as the 0.2.x Kit client. Existing code can keep calling
createKitKoraClient by importing it from @solana/kora/kit.