From e62098b1f8034bc0844de5ab9a9dc3d017332ce9 Mon Sep 17 00:00:00 2001 From: /alex/ Date: Sat, 4 May 2024 14:22:14 +0200 Subject: [PATCH] CLI: rm stardust from constants and simplify defaults (#2241) * rm stardust from constants and simplify defaults * rm stardust mentions --- README.md | 8 ++++---- cli/.gitignore | 4 ++-- cli/README.md | 4 ++-- cli/src/cli.rs | 6 +++--- 4 files changed, 11 insertions(+), 11 deletions(-) diff --git a/README.md b/README.md index c0df14bca9..4047838527 100644 --- a/README.md +++ b/README.md @@ -4,15 +4,15 @@ The IOTA SDK is a Rust-based project that provides a convenient and efficient way to interact with nodes in the Shimmer and IOTA networks running -the [Stardust protocol](https://wiki.iota.org/shimmer/develop/explanations/what-is-stardust). It consists of two main +the [IOTA 2.0 protocol](https://wiki.iota.org/learn/protocols/iota2.0/introduction-to-digital-autonomy/). It consists of two main modules: `client` and `wallet`. ## Table of Contents - [Requirements](#requirements) - - [Dependencies](#dependencies) + - [Dependencies](#dependencies) - [Getting Started](#getting-started) - - [Install the IOTA SDK](#install-the-iota-sdk) + - [Install the IOTA SDK](#install-the-iota-sdk) - [Client](#client-usage) - [Wallet](#wallet-usage) - [Examples](#examples) @@ -41,7 +41,7 @@ modules: `client` and `wallet`. This library follows the following branching strategy: | Branch | Description | -|--------------|--------------------------------------------------------------------------------------------------------------------------------| +| ------------ | ------------------------------------------------------------------------------------------------------------------------------ | | `develop` | Ongoing development for future releases of the staging networks. This branch gets merged into `staging` on release. | | `production` | The latest releases for the IOTA network. | | `staging` | The latest releases for the Shimmer network. | diff --git a/cli/.gitignore b/cli/.gitignore index cc3a6da155..990cc39170 100644 --- a/cli/.gitignore +++ b/cli/.gitignore @@ -1,6 +1,6 @@ /target -/stardust-cli-wallet-db +/*wallet-db *.stronghold archive.log mnemonic.txt -wallet \ No newline at end of file +wallet diff --git a/cli/README.md b/cli/README.md index 3223c6bead..107908f77b 100644 --- a/cli/README.md +++ b/cli/README.md @@ -1,4 +1,4 @@ -# IOTA Stardust CLI Wallet +# IOTA CLI Wallet Command line interface application for the [IOTA sdk wallet](https://github.com/iotaledger/iota-sdk). @@ -46,4 +46,4 @@ By default the database path is `./wallet-cli-database` but you can change this ``` export WALLET_DATABASE_PATH=/path/to/database # or add it to your .bashrc, .zshrc ./wallet [COMMAND] [OPTIONS] -``` \ No newline at end of file +``` diff --git a/cli/src/cli.rs b/cli/src/cli.rs index 209c19424a..d948e785c7 100644 --- a/cli/src/cli.rs +++ b/cli/src/cli.rs @@ -29,8 +29,8 @@ use crate::{ const DEFAULT_LOG_LEVEL: &str = "debug"; const DEFAULT_NODE_URL: &str = "http://localhost:8050"; -const DEFAULT_STRONGHOLD_SNAPSHOT_PATH: &str = "./stardust-cli-wallet.stronghold"; -const DEFAULT_WALLET_DATABASE_PATH: &str = "./stardust-cli-wallet-db"; +const DEFAULT_STRONGHOLD_SNAPSHOT_PATH: &str = "./secrets.stronghold"; +const DEFAULT_WALLET_DATABASE_PATH: &str = "./wallet-db"; #[derive(Debug, Clone, Parser)] #[command(author, version, about, long_about = None, propagate_version = true)] @@ -107,7 +107,7 @@ pub enum CliCommand { Init(InitParameters), /// Migrate a stronghold snapshot v2 to v3. MigrateStrongholdSnapshotV2ToV3 { - /// Path of the to be migrated stronghold file. "./stardust-cli-wallet.stronghold" if nothing provided. + /// Path of the to be migrated stronghold file. "./secrets.stronghold" if nothing provided. path: Option, }, /// Generate a random mnemonic.