20.0.0-rc.4.1
Soroban CLI
Fixed
- Clippy --all
Improved
-
Fund command now can accept a public strkey
-
Update typescript bindings
This is the first update in months and is a BIG change! This brings the experience of generated NPM libraries in line with promotional material that has been shared, such as the pinned
soroban-cli
version used in Getting Started and @chadoh's talk at Meridian 2023.-
No more hard-coded RPC, Network Passphrase, and Contract IDs. Instead of importing a flat list of functions, you import a
Contract
and instantiate it. To make it easier to use the library with the specific contract & network you may have used to generate the library, you can also import anetworks
object:Not this anymore:
-import { hello } from 'greeter' - -hello({ to: 'world' })
Instead, this:
import { Contract, networks } from 'greeter' const greeter = new Contract({ rpcUrl: '…', // Bring your own, or use a public test endpoint: https://soroban.stellar.org/docs/reference/rpc-list ...networks.testnet, // …or `networks.futurenet`, or `networks.standalone`, or anything the package author added. // You can also explicitly set `networkPassphrase` and `contractId` yourself. }) greeter.hello({ to: 'world' })
-
Upgrade
soroban-client
to v1.0.0-beta.2 -
Leverage the new
string -> ScVal { ScAddress }
capability ofnativeToScVal
, fixing many conversion bugs in the process -
Deal with the new
SimulateTransactionResponse
schema
-
Changed
- Remove sandbox
Full Changelog: v20.0.0-rc4...v20.0.0-rc.4.1