npm / @stacks/wallet-sdk
@stacks/wallet-sdk
What changed in @stacks/wallet-sdk 7, from its official release notes, upgrade guides and advisories. Sources checked 2026-10-26.
18 breaking10 new APIs and options2 behavior and defaults2 fixes and other
See which of these apply to your code, ranked, in your agent:
npx @unstale/cli init@stacks/wallet-sdk 732 changes
Breaking changes 18
BN.js compatibility was removed, so integrations relying on it must use supported numeric representations.
Cl.serialize now returns a string instead of bytes, so callers must handle its serialized output as a string.
Clarity types are now human-readable, changing the types developers use in code.
The signed option was removed from intToBigInt.
Legacy CLI methods were removed.
Legacy triplesec support for mnemonic encryption was disabled.
The wrapper type for message signatures was removed, changing the representation callers use.
Message types were renamed; update references to the renamed types.
The network object was updated; callers must use the new network object shape.
Networking and fetch methods were renamed to include a fetch prefix; update calls to those methods.
Post-conditions now use human-readable types, changing the representation callers provide or consume.
Private keys are now generated in compressed form by default.
The constructor now takes an options object, requiring callers to update how they create transactions.
Serialization now returns a hex string instead of bytes, so callers must handle the result accordingly.
StacksTransaction was renamed to StacksTransactionWire; update references to the transaction wire type.
The optional anchor mode was removed from transaction options.
More types were renamed to use a Wire suffix; update references to affected types.
The wrapped private key type was removed.
New APIs and options 10
An Address namespace was added for address-related functionality.
Cl.parse was added to parse Clarity values.
More helper functions now accept a network name.
More helper functions now take a network parameter.
Non-sequential multi-sig support was added, along with fixes for legacy multi-sig bugs.
Post-conditions can now use origin principals.
A helper was added to convert a post-condition to hex.
A new API package was added.
Helper methods for STX units were added.
Serialization helpers for transactions were added.
Behavior and default changes 2
hexToBytes now accepts a 0x prefix.
Nonce detection uses the API when it is available.
Fixes and other changes 2
.appendOrigin can now be used with an unwrapped public key.
Network objects now include bootAddress.