Skip to content

Add a way to build SAC payments without transaction simulation #792

@Shaptic

Description

@Shaptic

Currently it's very easy to use the SDK to send a payment to another account. However, it's not as straightforward to send payments to recipients which are smart contracts.

We should update the Operation wrapper to support constructing SAC payments. The auth and resource / fee values should be hardcoded so that we can construct the the invoke host operation without requiring RPC's simulateTransaction endpoint.

See lightsail-network/java-stellar-sdk#677 and StellarCN/py-stellar-base#1023 for examples of how this functionality was implemented for the java and python SDKs

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Status

    Backlog (Not Ready)

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions