-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update dApp to work with the single-asset balance model. (#80)
* Handle decimals, classic tx over contract invocations * Unify calls, add some comments * WIP: Drop sandbox mode, make updates after testing: We have to drop sandbox mode, because we need classic Stellar operations. The sandbox RPC server (i.e. `soroban serve`) does not support anything but the Soroban-only `invokeHostFunction` operation. We'd need to simulate trustlines in the sandbox if we want this mode available to the example dApp. * Account balances or smn... approvals still don't work * Add updated contract token spec * WIP debugging :( * Update Soroban dependencies to latest release * Optimized token spec * Temporarily reset stuff * Update comments * Revert "Temporarily reset stuff" This reverts commit 8c4f38d85c8c9d4ba01b14372910b267098be246. * incorporate misc. pr feedback * update quickstart docker image * I think we need to convert the deposit amount to stroops * Remove double-negation * Fix bug in convert.ts (TODO: Add unit tests here) * Safety check that deposit amounts are positive Even without this, `deposit` should still fail on the `xfer_from`, so it shouldn't be an issue. * Update dependencies to latest Soroban SDK. * Update comments about future work * Though we can't fix the tests entirely, we can make progress * Fixing up comments * Don't need the extra getPublicKey call * add nodejs complete workflow * disable the rust workflow so we can merge Co-authored-by: Paul Bellamy <[email protected]>
- Loading branch information
555Enver
and
Paul Bellamy
authored
Jan 10, 2023
1 parent
dd8d479
commit 08a51cd
Showing
14 changed files
with
211 additions
and
190 deletions.
There are no files selected for viewing
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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
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
Oops, something went wrong.