Skip to content

Commit

Permalink
Use new soroban-cli token create subcommand (#20)
Browse files Browse the repository at this point in the history
* Use soroban-cli token wrap subcommand

* have to update xdr Identifier

* Fix bug in account address parsing

* upd soroban-examples

* Use latest soroban-sdk, soroban-token-spec, and use Invoker for tests

* update sdk again

* soroban-cli -> soroban

* recompiled the token spec to sdk 864a309b

Co-authored-by: Leigh McCulloch <[email protected]>
  • Loading branch information
paulbellamy and leighmcculloch authored Oct 4, 2022
1 parent 49bb8b6 commit 35a14c7
Show file tree
Hide file tree
Showing 10 changed files with 241 additions and 148 deletions.
120 changes: 89 additions & 31 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

22 changes: 11 additions & 11 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -16,14 +16,14 @@ codegen-units = 1
lto = true

[patch.crates-io]
soroban-sdk = { git = "https://github.com/stellar/rs-soroban-sdk", rev = "bf6b383e" }
soroban-spec = { git = "https://github.com/stellar/rs-soroban-sdk", rev = "bf6b383e" }
soroban-auth = { git = "https://github.com/stellar/rs-soroban-sdk", rev = "bf6b383e" }
soroban-sdk-macros = { git = "https://github.com/stellar/rs-soroban-sdk", rev = "bf6b383e" }
soroban-env-common = { git = "https://github.com/stellar/rs-soroban-env", rev = "0a826765" }
soroban-env-guest = { git = "https://github.com/stellar/rs-soroban-env", rev = "0a826765" }
soroban-env-host = { git = "https://github.com/stellar/rs-soroban-env", rev = "0a826765" }
soroban-env-macros = { git = "https://github.com/stellar/rs-soroban-env", rev = "0a826765" }
soroban-native-sdk-macros = { git = "https://github.com/stellar/rs-soroban-env", rev = "0a826765" }
stellar-xdr = { git = "https://github.com/stellar/rs-stellar-xdr", rev = "cebf5259" }
wasmi = { package = "soroban-wasmi", git = "https://github.com/stellar/wasmi", rev = "a61b6df" }
soroban-sdk = { git = "https://github.com/stellar/rs-soroban-sdk", rev = "864a309b" }
soroban-spec = { git = "https://github.com/stellar/rs-soroban-sdk", rev = "864a309b" }
soroban-auth = { git = "https://github.com/stellar/rs-soroban-sdk", rev = "864a309b" }
soroban-sdk-macros = { git = "https://github.com/stellar/rs-soroban-sdk", rev = "864a309b" }
soroban-env-common = { git = "https://github.com/stellar/rs-soroban-env", rev = "fb8a384e" }
soroban-env-guest = { git = "https://github.com/stellar/rs-soroban-env", rev = "fb8a384e" }
soroban-env-host = { git = "https://github.com/stellar/rs-soroban-env", rev = "fb8a384e" }
soroban-env-macros = { git = "https://github.com/stellar/rs-soroban-env", rev = "fb8a384e" }
soroban-native-sdk-macros = { git = "https://github.com/stellar/rs-soroban-env", rev = "fb8a384e" }
stellar-xdr = { git = "https://github.com/stellar/rs-stellar-xdr", rev = "88ded341" }
wasmi = { package = "soroban-wasmi", git = "https://github.com/stellar/wasmi", rev = "a61b6df" }
8 changes: 1 addition & 7 deletions contracts/crowdfund/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,21 +10,15 @@ crate-type = ["cdylib", "rlib"]
[features]
default = ["export"]
export = []
testutils = ["soroban-sdk/testutils", "soroban-auth/testutils", "soroban-token-contract/testutils", "dep:ed25519-dalek", "dep:sha2", "dep:stellar-xdr"]
testutils = ["soroban-sdk/testutils", "soroban-auth/testutils", "dep:stellar-xdr"]

[dependencies]
soroban-sdk = { version = "0.0.4" }
soroban-auth = { version = "0.0.4" }
stellar-xdr = { version = "0.0.1", features = ["next", "std"], optional = true }
ed25519-dalek = { version = "1.0.1", optional = true }
sha2 = { version = "0.10.2", optional = true }

[target.'cfg(not(target_family="wasm"))'.dependencies]
soroban-token-contract = { git = "https://github.com/stellar/soroban-examples", rev = "821dd95", default-features = false, optional = true }

[dev_dependencies]
soroban-sdk = { version = "0.0.4", features = ["testutils"] }
soroban-auth = { version = "0.0.4", features = ["testutils"] }
soroban-token-contract = { git = "https://github.com/stellar/soroban-examples", rev = "821dd95", default-features = false, features = ["testutils"] }
soroban-crowdfund-contract = { path = ".", default-features = false, features = ["testutils"] }
rand = { version = "0.7.3" }
Loading

0 comments on commit 35a14c7

Please sign in to comment.