Skip to content

Commit

Permalink
CLI: rm stardust from constants and simplify defaults (#2241)
Browse files Browse the repository at this point in the history
* rm stardust from constants and simplify defaults

* rm stardust mentions
  • Loading branch information
Alex6323 authored May 4, 2024
1 parent 6696bfd commit e62098b
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 11 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down Expand Up @@ -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. |
Expand Down
4 changes: 2 additions & 2 deletions cli/.gitignore
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/target
/stardust-cli-wallet-db
/*wallet-db
*.stronghold
archive.log
mnemonic.txt
wallet
wallet
4 changes: 2 additions & 2 deletions cli/README.md
Original file line number Diff line number Diff line change
@@ -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).

Expand Down Expand Up @@ -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]
```
```
6 changes: 3 additions & 3 deletions cli/src/cli.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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)]
Expand Down Expand Up @@ -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<String>,
},
/// Generate a random mnemonic.
Expand Down

0 comments on commit e62098b

Please sign in to comment.