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
additional functionality for soroban specific contract usage(may move to a separate ticket)
Ability to submit Soroban/Protocol 20 Operations in Tx's, BumpFootprintExpirationOp, InvokeHostFunctionOp, RestoreFootprintOp
add support for using soroban rpc to use preflight which is required for the operations. Obtain tx Ext.SorobanData and InvokeHostFunction.Auth and the required miniumFee, to be included in the tx submitted. refer to js sdk implementation of preflight usage in prepareTransactionfor example - https://github.com/stellar/js-soroban-client/blob/main/src/server.ts#L526
add support for contract data ScVal conversions to sensible native java types, refer to js sdk's functional implementation of nativetoScVal and scValToNative for example and scope of conversions, i.e. all the different val types.
add an abstraction such as a pub/sub interface for getting contract events from soroban rpc as a stream.
add test coverage with mocked rpc interface.
add support for fetching contract storage key/value data, refer to js sdk implementation of getContractData()
follow the existing go p20/xdr sdk interface conventions.
The text was updated successfully, but these errors were encountered:
This epic will be used to track the necessary changes to the SDK/Horizon API pursuant to Soroban / Protocol 20
minimal to support non-breaking compatibility with horizon API:
InvokeHostFunctionOp
,BumpFootprintExpirationOp
,RestoreFootprintOp
in api response handlers (protocol definition). Support for new InvokeHostFunctionOperation #472C...
).to
/from
fields in theInvokeHostFunctionOp:AssetBalanceChanges
object. Support for new InvokeHostFunctionOperation #472num_contracts
andcontracts_amount
. Support for new stats in AssetResponse #473additional functionality for soroban specific contract usage(may move to a separate ticket)
Ext.SorobanData
andInvokeHostFunction.Auth
and the required miniumFee, to be included in the tx submitted. refer to js sdk implementation of preflight usage inprepareTransaction
for example - https://github.com/stellar/js-soroban-client/blob/main/src/server.ts#L526ScVal
conversions to sensible native java types, refer to js sdk's functional implementation of nativetoScVal and scValToNative for example and scope of conversions, i.e. all the different val types.follow the existing go p20/xdr sdk interface conventions.
The text was updated successfully, but these errors were encountered: