You're Invited:Meet the Socket Team at RSAC and BSidesSF 2026, March 23–26.RSVP
Socket
Book a DemoSign in
Socket

bittensor-wallet

Package Overview
Dependencies
Maintainers
1
Versions
38
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

bittensor-wallet - pypi Package Compare versions

Comparing version
3.1.0
to
4.0.0
+2
-1
Cargo.toml
[package]
name = "bittensor_wallet"
version = "3.1.0"
version = "4.0.0"
edition = "2021"
readme = "README.md"

@@ -6,0 +7,0 @@ [lib]

# Changelog
## 4.0.0
* make when_created field optional for json file import by @camfairchild in https://github.com/opentensor/btwallet/pull/160
* Fix hotkeypub by @thewhaleking in https://github.com/opentensor/btwallet/pull/161
**Full Changelog**: https://github.com/opentensor/btwallet/compare/v3.1.0...v4.0.0
## 3.1.0 /2025-07-07

@@ -4,0 +10,0 @@

Metadata-Version: 2.4
Name: bittensor-wallet
Version: 3.1.0
Version: 4.0.0
Classifier: Development Status :: 5 - Production/Stable

@@ -5,0 +5,0 @@ Classifier: Intended Audience :: Developers

@@ -31,3 +31,3 @@ use base64::{engine::general_purpose, Engine as _};

#[serde(rename = "whenCreated")]
when_created: u64,
when_created: Option<u64>,
}

@@ -34,0 +34,0 @@

@@ -323,9 +323,9 @@ use colored::Colorize;

let wallet_path = self._path.join(&self.name);
let hotkeypub_name = format!("{}pub.txt", self.hotkey);
// concatenate hotkeypub path
let hotkeypub_path = wallet_path.join("hotkeypub.txt");
let hotkeypub_path = wallet_path.join("hotkeys").join(&hotkeypub_name);
Keyfile::new(
hotkeypub_path.to_string_lossy().into_owned(),
Some("hotkeypub.txt".to_string()),
Some(hotkeypub_name),
false,

@@ -610,3 +610,3 @@ )

.clone()
.ok_or_else(|| KeyFileError::Generic("Hotkey file doesn't exist.".to_string()))?;
.ok_or_else(|| KeyFileError::Generic("Hotkeypub file doesn't exist.".to_string()))?;
Ok(_hotkeypub)

@@ -613,0 +613,0 @@ }

@@ -159,3 +159,2 @@ import json

coldkeypub = mock_wallet.unlock_coldkeypub()
hotkeypub = mock_wallet.unlock_hotkeypub()

@@ -167,3 +166,8 @@ # Assertions

assert coldkeypub.crypto_type == mock_wallet.get_coldkeypub().crypto_type
def test_unlock_hotkeypub(mock_wallet):
# Call
hotkeypub = mock_wallet.unlock_hotkeypub()
# Assertations
assert hotkeypub.ss58_address == mock_wallet.get_hotkeypub().ss58_address

@@ -170,0 +174,0 @@ assert hotkeypub.public_key == mock_wallet.get_hotkeypub().public_key

Sorry, the diff of this file is too big to display