Stellar CLI: stellar contract invoke
Really, every smart contract is its own program, and deserves its own CLI.
So that’s what Stellar CLI gives you.
A unique CLI for each smart contract. Constructed on-the-fly, right from the on-chain interface types. Including the author’s comments. An implicit CLI.
For example, calling the native asset contract on the Test network:
-- in the previous command, this would look like: … -- balance --help. Stellar CLI again fetches the on-chain interface types, this time using it to generate a full list of all arguments to the function, and even generates examples.
Stellar JS SDK: contract.Client
To create a contract client for the same contract as shown for contract invoke above, you would use this JavaScript:
contract bindings typescript command is for: