Changelog
This changelog tracks all notable changes to Kite. For more information about specific versions, please refer to the GitHub releases .
Kite version 1.4.0
Changes
- Use Uint8Array rather than Buffer for improved browser compatibility
Kite version 1.3.4
Changes
- You no longer need to specify any options when using
createWallets()
with just a number parameter.
Kite version 1.3.3
Additions
- Add
signMessageFromWalletApp()
for signing messages using a wallet app
Kite version 1.3.2
Additions
- Add
signatureBytesToBase58String()
andsignatureBase58StringToBytes()
utility functions for converting between signature formats - Add
sendTransactionFromInstructionsWithWalletApp()
for wallet app integration
Changes
- Removed using
TransactionSendingSigner
fromsendTransactionFromInstructions()
. This wasn’t the right approach, browser apps should usesendTransactionFromInstructionsWithWalletApp()
Kite version 1.3.1
Additions
sendTransactionFromInstructions()
now supports bothKeyPairSigner
andTransactionSendingSigner
for wallet integration.
Kite version 1.3.0
Additions
connect()
now accepts RPC and RPC subscription clients directly as arguments. This allows you to re-use existing connections in browser environments and use Kite with custom RPC transports.
Kite version 1.2.5
Bug fixes
- Docs: use ‘Token Extensions’ consistently
Kite version 1.2.4
Bug fixes
- Update
connection.rpc
type to better reflect Solana Kit.
Kite version 1.2.3
Additions
- Add
getAccountsFactory()
Kite version 1.2.2
Additions
- More error messages are now shown in the new, friendly format.
Kite version 1.2.1
Additions
- Error messages from Anchor are also now shown in the new, friendly format. No more custom program errors!
Kite version 1.2.0
Additions
- Errors from transactions will now include:
- a better
message
, featuring- the name of the program
- the instruction handler
- the error text from the program’s instruction handler Rather than ‘custom program error’
- a
transaction
property, so you can inspect the transaction (including its logs) from the error.
- a better
Bug fixes
- Fix accidental nested array on getLogs return type
- Add missing maxSupportedTransactionVersion param to
getLogs()
Kite version 1.1.1
- Update to latest @solana/kit
Kite version 1.1.0
Additions
- Main package is now
solana-kite
. - Add
getPDAAndBump()
- calculates a Program Derived Address (PDA) and its bump seed from a program address and seeds, automatically encoding different seed types (strings, addresses, and bigints). getTokenAccountBalance()
- can now take either a wallet and token mint (it will find the token account and then get the balance), or a token account address.- Add
checkTokenAccountIsClosed()
- checks if a token account is closed or doesn’t exist, supporting both direct token account address and wallet+mint lookup. - Add TSDoc comments for all functions, so VSCode and other editors can display parameters nicely.
- Solana
@solana/kit
has been renamed to@solana/kit
, and dependencies have been updated accordingly.
Bug fixes
- Fix bug where types were generated but not shown to consuming apps.
- Fix bug where
mintTokens()
was minting to the mint authority rather than the destination.
Kite version 1.0.1
- Add
getTokenAccountBalance()
- Minor docs updates
Kite version 1.0
Major Changes
- New name:
@helius-dev/kite
- Use @solana/web3.js version 2
- A new
connect()
method is provided, which returns an object withrpc
,rpcSubscriptions
,sendAndConfirmTransaction()
,getExplorerLink()
and the other functions in this library. - Most functions are now a property of
connection
. For example,connection.getLamportBalance()
instead ofgetBalance()
. - Added support for Helius RPCs - just specify the name and as long as the Helius API key is set in the environment, it will be used.
Style Changes
- We’ve tried to match the coding style of web3.js v2
xToY()
becomescreateXFromY
.create
is now the preferred nomenclature, soinitializeKeypair
is nowcreateWallet
,- Functions that return a
doThing()
function are calleddoThingFactory()
- We do not use web3.js Hungarian notation - this library uses
getFoo()
rather thangetFooPromise()
since TS rarely uses Hungarian.
Other Changes
initializeKeypair
is nowcreateKeyPairSigner
- Since web3.js uses Promises in more places, nearly every helper function returns a
Promise<>
now, so you’ll useawait
more often. - localhost links on
getExplorerLink()
no longer add an unnecessary customUrl parameter confirmTransaction
is nowgetRecentSignatureConfirmation
- We no longer support base58 encoded private keys - instead we use the ‘Array of numbers’ format exclusively. If you have base58 encoded private keys you can convert them with the previous version of this library.
- Use
tsx
overesrun
. Whiletsx
needs atsconfig.json
file,tsx
has many more users and is more actively maintained. - Remove CommonJS support.
Previous changelog as @solana/helpers
Version 2.5
- Add
makeTokenMint()
- 2.5.4 includes a few fixes to build system and TS types that were missing in earlier 2.5.x releases
- 2.5.6 includes a fix for esm module post-build script
Version 2.4
- Add
createAccountsMintsAndTokenAccounts()
Version 2.3
- Improved browser support by only loading node-specific modules when they are needed. Thanks @piotr-layerzero!
Version 2.2
- Add
getSimulationComputeUnits()
Version 2.1
- Add
initializeKeypair()
- Change documentation to be task based.
Version 2.0
- Breaking: Replace both
requestAndConfirmAirdropIfRequired()
andrequestAndConfirmAirdrop()
with a single function,airdropIfRequired()
. See [README.md]! - Fix error handling in
confirmTransaction()
to throw errors correctly. - Added
getLogs()
function
Version 1.5
- Added
getExplorerLink()
Version 1.4
- Added
requestAndConfirmAirdropIfRequired()
Version 1.3
- Now just
helpers
. The oldnode-helpers
package is marked as deprecated. - Added
requestAndConfirmAirdrop()
- Added
getCustomErrorMessage()
Version 1.2
- Added
addKeypairToEnvFile()
Version 1.0
- Original release.
Last updated on