Skip to content

Commit

Permalink
chore: update for Preview 20
Browse files Browse the repository at this point in the history
- Pin soroban-cli to latest version, 20.1.0
- Update the contract's SDK version
  - **Copy in `abundance` source from `token` contract** at stellar/soroban-examples#277. Note that I **did not author most of the changes in the `contracts/abundance` folder**. I _only_ copied in the changes originally authored in the `soroban-examples` repo, then updated for the single tweak that this `abundance` contract already had: 1. comments on the `mint` method; 2. slightly modified `mint` behavior.
- New CLI's typescript-bindings-generated libraries now return an `AssembledTransaction`, which has a `result` getter and a `signAndSend` method, as explained in stellar/stellar-cli#1034
- Use `stellar-sdk` rather than `soroban-client`
- Use latest `@stellar/freighter-api`
  • Loading branch information
chadoh committed Dec 20, 2023
1 parent 81a535e commit 89c691d
Show file tree
Hide file tree
Showing 15 changed files with 405 additions and 239 deletions.
2 changes: 1 addition & 1 deletion .cargo/config.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# paths = ["/path/to/override"] # path dependency overrides

[alias] # command aliases
install_soroban = "install --git https://github.com/AhaLabs/soroban-tools --rev c7fb7e08ba8efa9828d9df863d991558f269e35b --root ./target soroban-cli --debug"
install_soroban = "install --version 20.0.2 --root ./target soroban-cli --debug"
b = "build --target wasm32-unknown-unknown --release"
# c = "check"
# t = "test"
Expand Down
Loading

0 comments on commit 89c691d

Please sign in to comment.