You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Stellar CLI 28.1.0, which added the deprecation (#2724, #2725), and @stellar/stellar-sdk 17.1.0, the latest release on npm as of Sep 26, 2026.
What did you do?
Followed the migration path from the new deprecation warning (source):
`stellar contract bindings typescript` is deprecated. Use the JavaScript Stellar SDK instead: https://github.com/stellar/js-stellar-sdk#cli
The linked README says that once the native command is removed, stellar contract bindings typescript will resolve to the stellar-contract-bindings-typescript plugin from stellar/js-stellar-sdk#1738.
What did you expect to see?
A way to keep using the command today, and a warning that tells users what they need to do.
The plugin is not a drop in replacement. It is a Node script that the CLI finds on PATH (lookup), so it needs Node and a global install of the SDK. Environments that only have the stellar binary, like CI images, will break once the native command is removed. The JS CLI also does not read the CLI config, so contract aliases (accepted natively) and networks added with stellar network add are not resolved. It only accepts mainnet, testnet, futurenet or localnet (source), and since the CLI's default local network is named local (source), --network local fails.
The generated package changes. The native template pins @stellar/stellar-sdk to ^16.0.1 (source), while the plugin pins the SDK version it ships in, 17.x or later (source).
Suggestion
Publish the SDK release that contains the plugin before the native command is removed, and name that version in the warning.
Make the warning say what to do, for example: install @stellar/stellar-sdk (that version or later) globally and keep using stellar contract bindings typescript. Mention the differences above.
Announce a removal date, counted from the plugin's release rather than from the deprecation, so users are not asked to migrate before the replacement exists.
What version are you using?
Stellar CLI 28.1.0, which added the deprecation (#2724, #2725), and
@stellar/stellar-sdk17.1.0, the latest release on npm as of Sep 26, 2026.What did you do?
Followed the migration path from the new deprecation warning (source):
The linked README says that once the native command is removed,
stellar contract bindings typescriptwill resolve to thestellar-contract-bindings-typescriptplugin from stellar/js-stellar-sdk#1738.What did you expect to see?
A way to keep using the command today, and a warning that tells users what they need to do.
What did you see instead?
stellar-js(package.json). So following the warning today means moving tonpx @stellar/stellar-sdk generatenow, then moving back tostellar contract bindings typescriptonce the plugin ships.PATH(lookup), so it needs Node and a global install of the SDK. Environments that only have thestellarbinary, like CI images, will break once the native command is removed. The JS CLI also does not read the CLI config, so contract aliases (accepted natively) and networks added withstellar network addare not resolved. It only acceptsmainnet,testnet,futurenetorlocalnet(source), and since the CLI's default local network is namedlocal(source),--network localfails.@stellar/stellar-sdkto^16.0.1(source), while the plugin pins the SDK version it ships in, 17.x or later (source).Suggestion
@stellar/stellar-sdk(that version or later) globally and keep usingstellar contract bindings typescript. Mention the differences above.