forked from stellar/stellar-cli
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(bindings-ts): support multi-auth workflows
- add `atomic_swap` and `token` contracts from https://github.com/stellar/soroban-examples to `test-wasms` - greatly complicate `ts-tests/package.json` to deploy & generate bindings for these new contracts, plus creating an `alice` identity and minting separate amounts of two separate tokens to the `root` user and `alice` - add tests for atomic swap functionality inspired by https://github.com/stellar/soroban-react-atomic-swap - let this logic guide needed updates to `bindings typescript`-generated libraries: - don't return flat values - instead, always return an object which will have at least a `txUnsigned` and `simulation` key - object contains all possibly-relevant fields from the logic it performs Co-authored-by: Aristides Staffieri <aristides.staffieri@stellar.org>
- Loading branch information
1 parent
9ec6baf
commit 7919dbf
Showing
27 changed files
with
3,420 additions
and
2,527 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1 change: 1 addition & 0 deletions
1
cmd/crates/soroban-spec-typescript/ts-tests/contract-token-hash.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
07ec9b8333159ac477239ff1a54c6fc45c5817e03cf0f45b6c9e51727c0e3dc7 |
Oops, something went wrong.