Skip to content
Closed
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
44 changes: 22 additions & 22 deletions Cargo.lock

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

4 changes: 2 additions & 2 deletions packages/rs-dapi/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -87,8 +87,8 @@ prometheus = "0.14"
once_cell = "1.19"

# Dash Core RPC client
dashcore-rpc = { git = "https://github.com/dashpay/rust-dashcore", rev = "e7792c431c55c0d28efb0344b3a1948f576be5ce" }
dash-spv = { git = "https://github.com/dashpay/rust-dashcore", rev = "e7792c431c55c0d28efb0344b3a1948f576be5ce" }
dashcore-rpc = { git = "https://github.com/dashpay/rust-dashcore", rev = "c0da3509c695351e6dc300723ded35b4f0df16a3" }
dash-spv = { git = "https://github.com/dashpay/rust-dashcore", rev = "c0da3509c695351e6dc300723ded35b4f0df16a3" }

rs-dash-event-bus = { path = "../rs-dash-event-bus" }

Expand Down
10 changes: 5 additions & 5 deletions packages/rs-dpp/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -24,18 +24,18 @@ chrono = { version = "0.4.35", default-features = false, features = [
] }
chrono-tz = { version = "0.8", optional = true }
ciborium = { version = "0.2.2", optional = true }
dashcore = { git = "https://github.com/dashpay/rust-dashcore", rev = "e7792c431c55c0d28efb0344b3a1948f576be5ce", features = [
dashcore = { git = "https://github.com/dashpay/rust-dashcore", rev = "c0da3509c695351e6dc300723ded35b4f0df16a3", features = [
"std",
"secp-recovery",
"rand",
"signer",
"serde",
"eddsa",
], default-features = false }
key-wallet = { git = "https://github.com/dashpay/rust-dashcore", rev = "e7792c431c55c0d28efb0344b3a1948f576be5ce", optional = true }
key-wallet-manager = { git = "https://github.com/dashpay/rust-dashcore", rev = "e7792c431c55c0d28efb0344b3a1948f576be5ce", optional = true }
dash-spv = { git = "https://github.com/dashpay/rust-dashcore", rev = "e7792c431c55c0d28efb0344b3a1948f576be5ce", optional = true }
dashcore-rpc = { git = "https://github.com/dashpay/rust-dashcore", rev = "e7792c431c55c0d28efb0344b3a1948f576be5ce", optional = true }
key-wallet = { git = "https://github.com/dashpay/rust-dashcore", rev = "c0da3509c695351e6dc300723ded35b4f0df16a3", optional = true }
key-wallet-manager = { git = "https://github.com/dashpay/rust-dashcore", rev = "c0da3509c695351e6dc300723ded35b4f0df16a3", optional = true }
dash-spv = { git = "https://github.com/dashpay/rust-dashcore", rev = "c0da3509c695351e6dc300723ded35b4f0df16a3", optional = true }
dashcore-rpc = { git = "https://github.com/dashpay/rust-dashcore", rev = "c0da3509c695351e6dc300723ded35b4f0df16a3", optional = true }

env_logger = { version = "0.11" }
getrandom = { version = "0.2", features = ["js"] }
Expand Down
6 changes: 3 additions & 3 deletions packages/rs-platform-wallet/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,11 @@ description = "Platform wallet with identity management support"
dpp = { path = "../rs-dpp" }

# Key wallet dependencies (from rust-dashcore)
key-wallet = { git = "https://github.com/dashpay/rust-dashcore", rev = "e7792c431c55c0d28efb0344b3a1948f576be5ce" }
key-wallet-manager = { git = "https://github.com/dashpay/rust-dashcore", rev = "e7792c431c55c0d28efb0344b3a1948f576be5ce", optional = true }
key-wallet = { git = "https://github.com/dashpay/rust-dashcore", rev = "c0da3509c695351e6dc300723ded35b4f0df16a3" }
key-wallet-manager = { git = "https://github.com/dashpay/rust-dashcore", rev = "c0da3509c695351e6dc300723ded35b4f0df16a3", optional = true }

# Core dependencies
dashcore = { git = "https://github.com/dashpay/rust-dashcore", rev = "e7792c431c55c0d28efb0344b3a1948f576be5ce" }
dashcore = { git = "https://github.com/dashpay/rust-dashcore", rev = "c0da3509c695351e6dc300723ded35b4f0df16a3" }

# Standard dependencies
thiserror = "1.0"
Expand Down
2 changes: 1 addition & 1 deletion packages/rs-platform-wallet/examples/basic_usage.rs
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ fn main() -> Result<(), PlatformWalletError> {
{
use key_wallet_manager::wallet_manager::WalletManager;

let _wallet_manager = WalletManager::<PlatformWalletInfo>::new();
let _wallet_manager = WalletManager::<PlatformWalletInfo>::new(network);
println!("Platform wallet successfully integrated with wallet managers!");
}

Expand Down
4 changes: 2 additions & 2 deletions packages/rs-platform-wallet/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -241,11 +241,11 @@ impl WalletInfoInterface for PlatformWalletInfo {
self.wallet_info.set_description(description)
}

fn birth_height(&self) -> Option<u32> {
fn birth_height(&self) -> u32 {
self.wallet_info.birth_height()
}

fn set_birth_height(&mut self, height: Option<u32>) {
fn set_birth_height(&mut self, height: u32) {
self.wallet_info.set_birth_height(height)
}

Expand Down
2 changes: 1 addition & 1 deletion packages/rs-sdk-ffi/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ rs-sdk-trusted-context-provider = { path = "../rs-sdk-trusted-context-provider",
simple-signer = { path = "../simple-signer" }

# Core SDK integration (always included for unified SDK)
dash-spv-ffi = { git = "https://github.com/dashpay/rust-dashcore", rev = "e7792c431c55c0d28efb0344b3a1948f576be5ce", optional = true }
dash-spv-ffi = { git = "https://github.com/dashpay/rust-dashcore", rev = "c0da3509c695351e6dc300723ded35b4f0df16a3", optional = true }

# FFI and serialization
serde = { version = "1.0", features = ["derive"] }
Expand Down
Loading