Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update SDK #417

Merged
merged 1 commit into from
Jan 1, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion packages/docs/pages/integrating-with-namada/sdk/query.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ This code will attempt to query the chain's current epoch:
```rust
use namada_sdk::{rpc, Namada};

match rpc::query_epoch(sdk.client()).await {
match rpc::query_epoch(&sdk.client).await {
Ok(current_epoch) => println!("Current epoch: {:?}", current_epoch),
Err(e) => println!("Query error: {:?}", e),
}
Expand Down
24 changes: 12 additions & 12 deletions packages/docs/pages/integrating-with-namada/sdk/setup.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -5,17 +5,17 @@
To begin working with the Namada SDK, add the following to your `Cargo.toml`:

```rust
namada_core = { git = "https://github.com/anoma/namada", tag = "v0.43.0" }
namada_sdk = { git = "https://github.com/anoma/namada", tag = "v0.43.0", default-features = false, features = ["std", "async-send", "download-params"] }
namada_tx = { git = "https://github.com/anoma/namada", tag = "v0.43.0" }
namada_governance = { git = "https://github.com/anoma/namada", tag = "v0.43.0" }
namada_ibc = { git = "https://github.com/anoma/namada", tag = "v0.43.0" }
namada_token = { git = "https://github.com/anoma/namada", tag = "v0.43.0" }
namada_parameters = { git = "https://github.com/anoma/namada", tag = "v0.43.0" }
namada_proof_of_stake = { git = "https://github.com/anoma/namada", tag = "v0.43.0" }
tendermint = "0.37.0"
tendermint-config = "0.37.0"
tendermint-rpc = { version = "0.37.0", features = ["http-client"] }
tendermint-proto = "0.37.0"
namada_core = { git = "https://github.com/anoma/namada", tag = "v0.46.1" }
namada_sdk = { git = "https://github.com/anoma/namada", tag = "v0.46.1", default-features = false, features = ["std", "async-send", "download-params"] }
namada_tx = { git = "https://github.com/anoma/namada", tag = "v0.46.1" }
namada_governance = { git = "https://github.com/anoma/namada", tag = "v0.46.1" }
namada_ibc = { git = "https://github.com/anoma/namada", tag = "v0.46.1" }
namada_token = { git = "https://github.com/anoma/namada", tag = "v0.46.1" }
namada_parameters = { git = "https://github.com/anoma/namada", tag = "v0.46.1" }
namada_proof_of_stake = { git = "https://github.com/anoma/namada", tag = "v0.46.1" }
tendermint = "0.38.0"
tendermint-config = "0.38.0"
tendermint-rpc = { version = "0.38.0", features = ["http-client"] }
tendermint-proto = "0.38.0"
tokio = { version = "1.0", features = ["full"] }
```
Loading