Skip to content

Commit 4717f17

Browse files
committed
Fix Issue rsksmart#2 - Problems in README.MD (executable name and path references)
1 parent c8037c6 commit 4717f17

File tree

12 files changed

+27
-27
lines changed

12 files changed

+27
-27
lines changed

.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ wallet*.png
1616
*copied*
1717
*Copied*
1818

19-
rootstock-wallet.json
19+
rsk-rust-cli.json
2020
mined.json
2121
here
2222
exported.key

.idea/modules.xml

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.lock

Lines changed: 12 additions & 12 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[package]
2-
name = "rootstock-wallet"
2+
name = "rsk-rust-cli"
33
version = "0.1.0"
44
edition = "2024"
55

README.MD

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -180,7 +180,7 @@ Add, list, and delete contacts from your address book.
180180

181181
#### Wallet Issues
182182

183-
- Confirm wallet file exists at `~/.local/share/rootstock-wallet/`
183+
- Confirm wallet file exists at `~/.local/share/rsk-rust-cli/`
184184
- Check file permissions if access is denied
185185
- Ensure you're using the correct network (mainnet/testnet)
186186

src/commands/contacts.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -279,7 +279,7 @@ impl ContactsCommand {
279279
pub fn load_contacts(&self) -> Result<Vec<Contact>> {
280280
let contacts_path = dirs::data_local_dir()
281281
.ok_or_else(|| anyhow::anyhow!("Failed to get data directory"))?
282-
.join("rootstock-wallet")
282+
.join("rsk-rust-cli")
283283
.join("contacts.json");
284284

285285
if !contacts_path.exists() {
@@ -294,7 +294,7 @@ impl ContactsCommand {
294294
// pub fn save_contacts(&self, contacts: &[Contact]) -> Result<()> {
295295
// let contacts_path = dirs::data_local_dir()
296296
// .ok_or_else(|| anyhow::anyhow!("Failed to get data directory"))?
297-
// .join("rootstock-wallet")
297+
// .join("rsk-rust-cli")
298298
// .join("contacts.json");
299299

300300
// std::fs::create_dir_all(contacts_path.parent().unwrap())?;
@@ -305,7 +305,7 @@ impl ContactsCommand {
305305
pub fn save_contacts(&self, contacts: &[Contact]) -> Result<()> {
306306
let contacts_dir = dirs::data_local_dir()
307307
.ok_or_else(|| anyhow::anyhow!("Failed to get data directory"))?
308-
.join("rootstock-wallet");
308+
.join("rsk-rust-cli");
309309

310310
std::fs::create_dir_all(&contacts_dir)?;
311311

src/config/config.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ impl ConfigManager {
120120
pub fn new() -> Result<Self> {
121121
let config_dir = dirs::config_dir()
122122
.context("Could not find config directory")?
123-
.join("rootstock-wallet");
123+
.join("rsk-rust-cli");
124124

125125
std::fs::create_dir_all(&config_dir)?;
126126

@@ -200,7 +200,7 @@ impl ConfigManager {
200200

201201
// Clear wallet data directory
202202
if let Some(data_dir) = dirs::data_local_dir() {
203-
let wallet_data_dir = data_dir.join("rootstock-wallet");
203+
let wallet_data_dir = data_dir.join("rsk-rust-cli");
204204
if wallet_data_dir.exists() {
205205
// Remove all files in the wallet data directory
206206
for entry in fs::read_dir(&wallet_data_dir)? {

src/config/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,4 +17,4 @@ pub const RSK_RPC_DOCS_URL: &str = "https://dev.rootstock.io/developers/rpc-api/
1717
pub const ALCH_MAINNET_URL: &str = "https://dashboard.alchemy.com/apps/create?referrer=/apps";
1818
pub const ALCH_TESTNET_URL: &str =
1919
"https://dashboard.alchemy.com/apps/create?referrer=/apps&chain=rsk-testnet";
20-
pub const DOCS_URL: &str = "https://github.com/cosmasken/rootstock-wallet/wiki";
20+
pub const DOCS_URL: &str = "https://github.com/rsksmart/rsk-rust-cli/wiki";

src/config/setup.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ pub fn run_setup_wizard() -> Result<()> {
5555
println!("\n{}", style("✅ Setup complete!").bold().green());
5656
println!("\nYou can now use the wallet. For more information, visit:");
5757
println!("{}", style(DOCS_URL).blue().underlined());
58-
println!("\nRun `rootstock-wallet --help` to see available commands.");
58+
println!("\nRun `rsk-rust-cli --help` to see available commands.");
5959

6060
Ok(())
6161
}

src/utils/api.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ impl ApiKeys {
6767
fn get_config_path() -> Result<PathBuf> {
6868
let mut path = dirs::config_dir()
6969
.context("Could not find config directory")?
70-
.join("rootstock-wallet");
70+
.join("rsk-rust-cli");
7171

7272
std::fs::create_dir_all(&path)?;
7373
path.push(API_KEYS_FILE);

0 commit comments

Comments
 (0)