Phantasma SDK patch release and pha-deploy 0.6.0
Script and Carbon transactions now get the same default expiry in every SDK, and pha-deploy takes its fees from the chain.
- Published latest versions:
phantasma-sdk-ts 0.18.2,phantasma-sdk-py 4.0.1,phantasma-sdk 3.0.1(Rust),phantasma-sdk-go v0.18.1,PhantasmaPhoenix.RPC 0.16.1,PhantasmaPhoenix.NFT 0.7.15, andpha-deploy 0.6.0. - A script transaction that an SDK helper builds now expires after 45 seconds by default. Carbon transactions already used this default. Before, each SDK had its own value.
- If a person confirms the transaction first, pass a longer expiration. Every SDK now accepts one.
- The Unity SDK core package moves to
0.13.1and ships the updated C# RPC library. The C++ SDK received the same change in its source repository. - pha-deploy now takes the price of every transaction from the chain. It prints the fee before sending.
- For a contract deploy or upgrade, pha-deploy offers the gas limit the chain recommends. If the payer can cover the fee but not the full limit, it lowers the limit to the payer's KCAL balance and says so.
phantasma-sdk-tsno longer installs the Ledger USB packages. An app that works with a Ledger installs them itself.
phantasma-sdk-ts | phantasma-sdk-py | phantasma-sdk | phantasma-sdk-go | PhantasmaPhoenix.RPC | PhantasmaPhoenix.NFT | phantasma-sdk-cpp | phantasma-sdk-unity | pha-deploy
npm install phantasma-sdk-ts@latestpip install --upgrade phantasma-sdk-pycargo add phantasma-sdkgo get -u github.com/phantasma-io/phantasma-sdk-godotnet package update PhantasmaPhoenix.RPCdotnet package update PhantasmaPhoenix.NFTnpm update -g pha-deploy