This repository was archived by the owner on Jan 8, 2026. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
feat: switch from soroban-react to generated libs #117
Merged
Merged
Changes from all commits
Commits
Show all changes
42 commits
Select commit
Hold shift + click to select a range
5eff63f
feat: switch from soroban-react to generated libs
chadoh 056c436
feat: add ft-contract source; rm `../examples`
chadoh 6489764
fix: use workspace dependency versions; update sdk
chadoh f679b8e
feat: no more embedding secret keys
chadoh c81b30a
fix: add mint_100 and comment out events
willemneal 8d2fa49
fix: start tryna fix event subscriptions
chadoh 8494dfb
fix: update UI after minting 100 ABND
chadoh 9ad0ac9
fix: signAndSend `deposit`; fix modal; update form
chadoh d885ceb
docs: update AlmostUnnecessaryProvider comment
chadoh 4c17f32
build: allow newer node versions; improve package name
chadoh 5488b42
build: generate contract clients
chadoh 3e327e8
build: fill in .soroban-example-dapp/* first
chadoh 54eb663
build: install locked CLI version with alias
chadoh 97e9ab7
build: build contracts before generating clients
chadoh 98a1e2c
build: s/run-script/run/
chadoh d62f3b3
build: make convert.ts pass strict; exclude target/ from type checking
chadoh a3e74c3
build: use node 18 in CI
chadoh 66547fa
build: update lockfile; cat lockfiles during build
chadoh a1a5d5d
build: switch to yarn; will it work better?
chadoh 6d845de
build: omg yarn works with relative paths but not file:
chadoh 10c60a9
build: rm busted debug steps; update docs for yarn
chadoh d56d609
build: s/yarn ci/yarn install --frozen-lockfile
chadoh 3c39750
build: back to npm we go
chadoh a77507c
build: switch to postinstall script
chadoh cb9f650
build: rm outdated build step
chadoh afd29e5
build: warn, don't deny, on clippy complaints
chadoh 18b404d
feat: use freighter-api@1.5
chadoh ac00a3b
feat: straightforward copy/paste of subscribe logic
chadoh 4c86660
feat: move subscribe logic to useSubscription hook
chadoh fa09e62
fix: update all relevant UI after pledging
chadoh b74d052
fix: avoid Freighter error if not yet connected
chadoh a9e40b3
fix: can't default build to wasm because tests
chadoh 842aea3
build: use latest soroban-cli
chadoh 24ba3d7
build: use latest cli/soroban-client; rm stellar-base pin
chadoh 4eab280
build: use latest CLI rev from stellar repo
chadoh c8cda1a
fix: deal with undefined case
chadoh 7db004e
build: rm RUSTFLAGS from Makefile
chadoh 8b65e62
fix: allow using standalone
chadoh 0a214fa
build: update freighter-api
chadoh 77cc1e3
build: update pinned soroban-cli version
chadoh be72e6e
build(ci): stub .soroban-example-dapp/network
chadoh f7793e2
fix: add 'await'
chadoh File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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,133 @@ | ||
| # paths = ["/path/to/override"] # path dependency overrides | ||
|
|
||
| [alias] # command aliases | ||
| install_soroban = "install --git https://github.com/stellar/soroban-tools --rev 2b343d3e6afdb5eff54fb03622627cd55e785358 --root ./target soroban-cli --debug" | ||
| b = "build --target wasm32-unknown-unknown --release" | ||
| # c = "check" | ||
| # t = "test" | ||
| # r = "run" | ||
| # rr = "run --release" | ||
| # recursive_example = "rr --example recursions" | ||
| # space_example = ["run", "--release", "--", "\"command list\""] | ||
|
|
||
| [build] | ||
| # jobs = 1 # number of parallel jobs, defaults to # of CPUs | ||
| # rustc = "rustc" # the rust compiler tool | ||
| # rustc-wrapper = "…" # run this wrapper instead of `rustc` | ||
| # rustc-workspace-wrapper = "…" # run this wrapper instead of `rustc` for workspace members | ||
| # rustdoc = "rustdoc" # the doc generator tool | ||
| # target = "wasm32-unknown-unknown" # build for the target triple (ignored by `cargo install`) | ||
| # target-dir = "target" # path of where to place all generated artifacts | ||
| rustflags = [ # set these to match .github/workflows/rust.yml | ||
| "-Wclippy::all", # warn for all clippy lints | ||
| "-Wclippy::pedantic", # warn for pedantic clippy lints | ||
| ] # custom flags to pass to all compiler invocations | ||
| # rustdocflags = ["…", "…"] # custom flags to pass to rustdoc | ||
| # incremental = true # whether or not to enable incremental compilation | ||
| # dep-info-basedir = "…" # path for the base directory for targets in depfiles | ||
|
|
||
| # [doc] | ||
| # browser = "chromium" # browser to use with `cargo doc --open`, | ||
| # # overrides the `BROWSER` environment variable | ||
|
|
||
| # [env] | ||
| # # Set ENV_VAR_NAME=value for any process run by Cargo | ||
| # ENV_VAR_NAME = "value" | ||
| # # Set even if already present in environment | ||
| # ENV_VAR_NAME_2 = { value = "value", force = true } | ||
| # # Value is relative to .cargo directory containing `config.toml`, make absolute | ||
| # ENV_VAR_NAME_3 = { value = "relative/path", relative = true } | ||
|
|
||
| # [future-incompat-report] | ||
| # frequency = 'always' # when to display a notification about a future incompat report | ||
|
|
||
| # [cargo-new] | ||
| # vcs = "none" # VCS to use ('git', 'hg', 'pijul', 'fossil', 'none') | ||
|
|
||
| # [http] | ||
| # debug = false # HTTP debugging | ||
| # proxy = "host:port" # HTTP proxy in libcurl format | ||
| # ssl-version = "tlsv1.3" # TLS version to use | ||
| # ssl-version.max = "tlsv1.3" # maximum TLS version | ||
| # ssl-version.min = "tlsv1.1" # minimum TLS version | ||
| # timeout = 30 # timeout for each HTTP request, in seconds | ||
| # low-speed-limit = 10 # network timeout threshold (bytes/sec) | ||
| # cainfo = "cert.pem" # path to Certificate Authority (CA) bundle | ||
| # check-revoke = true # check for SSL certificate revocation | ||
| # multiplexing = true # HTTP/2 multiplexing | ||
| # user-agent = "…" # the user-agent header | ||
|
|
||
| # [install] | ||
| # root = "/some/path" # `cargo install` destination directory | ||
|
|
||
| # [net] | ||
| # retry = 2 # network retries | ||
| # git-fetch-with-cli = true # use the `git` executable for git operations | ||
| # offline = true # do not access the network | ||
|
|
||
| # [net.ssh] | ||
| # known-hosts = ["..."] # known SSH host keys | ||
|
|
||
| # [patch.<registry>] | ||
| # # Same keys as for [patch] in Cargo.toml | ||
|
|
||
| # [profile.<name>] # Modify profile settings via config. | ||
| # inherits = "dev" # Inherits settings from [profile.dev]. | ||
| # opt-level = 0 # Optimization level. | ||
| # debug = true # Include debug info. | ||
| # split-debuginfo = '...' # Debug info splitting behavior. | ||
| # debug-assertions = true # Enables debug assertions. | ||
| # overflow-checks = true # Enables runtime integer overflow checks. | ||
| # lto = false # Sets link-time optimization. | ||
| # panic = 'unwind' # The panic strategy. | ||
| # incremental = true # Incremental compilation. | ||
| # codegen-units = 16 # Number of code generation units. | ||
| # rpath = false # Sets the rpath linking option. | ||
| # [profile.<name>.build-override] # Overrides build-script settings. | ||
| # # Same keys for a normal profile. | ||
| # [profile.<name>.package.<name>] # Override profile for a package. | ||
| # # Same keys for a normal profile (minus `panic`, `lto`, and `rpath`). | ||
|
|
||
| # [registries.<name>] # registries other than crates.io | ||
| # index = "…" # URL of the registry index | ||
| # token = "…" # authentication token for the registry | ||
|
|
||
| # [registry] | ||
| # default = "…" # name of the default registry | ||
| # token = "…" # authentication token for crates.io | ||
|
|
||
| # [source.<name>] # source definition and replacement | ||
| # replace-with = "…" # replace this source with the given named source | ||
| # directory = "…" # path to a directory source | ||
| # registry = "…" # URL to a registry source | ||
| # local-registry = "…" # path to a local registry source | ||
| # git = "…" # URL of a git repository source | ||
| # branch = "…" # branch name for the git repository | ||
| # tag = "…" # tag name for the git repository | ||
| # rev = "…" # revision for the git repository | ||
|
|
||
| # [target.<triple>] | ||
| # linker = "…" # linker to use | ||
| # runner = "…" # wrapper to run executables | ||
| # rustflags = ["…", "…"] # custom flags for `rustc` | ||
|
|
||
| # [target.<cfg>] | ||
| # runner = "…" # wrapper to run executables | ||
| # rustflags = ["…", "…"] # custom flags for `rustc` | ||
|
|
||
| # [target.<triple>.<links>] # `links` build script override | ||
| # rustc-link-lib = ["foo"] | ||
| # rustc-link-search = ["/path/to/foo"] | ||
| # rustc-flags = ["-L", "/some/path"] | ||
| # rustc-cfg = ['key="value"'] | ||
| # rustc-env = {key = "value"} | ||
| # rustc-cdylib-link-arg = ["…"] | ||
| # metadata_key1 = "value" | ||
| # metadata_key2 = "value" | ||
|
|
||
| # [term] | ||
| # quiet = false # whether cargo output is quiet | ||
| # verbose = false # whether cargo provides verbose output | ||
| # color = 'auto' # whether cargo colorizes output | ||
| # progress.when = 'auto' # whether cargo shows progress bar | ||
| # progress.width = 80 # width of progress bar |
This file contains hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 was deleted.
Oops, something went wrong.
This file contains hidden or 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 hidden or 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.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This PR copied in the
tokenexample from https://github.com/stellar/soroban-examples. But the examples repo does not have the pedantic clippy linting, so this more rigid check failed. This makes the clippy check only warn (-W) rather than deny (-D).