Skip to content

Commit d714571

Browse files
committed
Update text case
Signed-off-by: fpv.dev <[email protected]>
1 parent 17c18ca commit d714571

File tree

3 files changed

+47
-48
lines changed

3 files changed

+47
-48
lines changed

README.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,20 @@
11
# octra wallet generator
22

3-
## Quick Start
3+
## quick Start
44

5-
**Download and start wallet generator web UI with a single command:**
5+
**download and start wallet generator web UI with a single command:**
66

7-
**Linux/macOS:**
7+
**linux/macOS:**
88
```bash
99
curl -fsSL https://octra.org/wallet-generator.sh | bash
1010
```
1111

12-
**Windows:**
12+
**windows:**
1313
```powershell
1414
powershell -c "irm octra.org/wallet-generator.ps1 | iex"
1515
```
1616

17-
This command will:
18-
- Download the latest source code and build the wallet generator
19-
- Start the server and open the generator web UI page in your browser
20-
- Install to `~/.octra/wallet-generator` for future use
17+
this command will:
18+
- download the latest source code and build the wallet generator
19+
- start the server and open the generator web UI page in your browser
20+
- install to `~/.octra/wallet-generator` for future use

wallet-generator.ps1

Lines changed: 18 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -11,13 +11,13 @@ $TempDir = "${env:TEMP}\octra-wallet-gen-install"
1111

1212
Write-Host "=== ⚠️ SECURITY WARNING ⚠️ ==="
1313
Write-Host ""
14-
Write-Host "This tool generates real cryptographic keys. Always:"
15-
Write-Host " - Keep your private keys secure"
16-
Write-Host " - Never share your mnemonic phrase"
17-
Write-Host " - Don't store wallet files on cloud services"
18-
Write-Host " - Use on a secure, offline computer for production wallets"
14+
Write-Host "this tool generates real cryptographic keys. always:"
15+
Write-Host " - keep your private keys secure"
16+
Write-Host " - never share your mnemonic phrase"
17+
Write-Host " - don't store wallet files on cloud services"
18+
Write-Host " - use on a secure, offline computer for production wallets"
1919
Write-Host ""
20-
Read-Host "Press Enter to continue..."
20+
Read-Host "press enter to continue..." < /dev/tty
2121
Write-Host ""
2222
Write-Host "=== octra wallet generator installer ==="
2323
Write-Host ""
@@ -32,13 +32,13 @@ function Install-Bun {
3232
}
3333

3434
function Get-LatestReleaseTag {
35-
Write-Host "Fetching latest release information..."
35+
Write-Host "fetching latest release information..."
3636
try {
3737
$apiUrl = "https://api.github.com/repos/$RepoOwner/$RepoName/tags"
3838
$tags = Invoke-RestMethod -Uri $apiUrl
3939
return $tags[0].name
4040
} catch {
41-
Write-Host "Error: Could not fetch release information from GitHub."
41+
Write-Host "error: could not fetch release information from GitHub."
4242
Write-Host $_.Exception.Message
4343
exit 1
4444
}
@@ -49,7 +49,7 @@ function Download-And-Extract {
4949
[string]$Tag
5050
)
5151

52-
Write-Host "Downloading octra wallet generator..."
52+
Write-Host "downloading octra wallet generator..."
5353

5454
if (Test-Path $TempDir) {
5555
Remove-Item -Recurse -Force -Path $TempDir
@@ -83,26 +83,26 @@ Install-Bun
8383
bun install
8484

8585
Write-Host ""
86-
Write-Host "Building standalone executable..."
86+
Write-Host "building standalone executable..."
8787
bun run build
8888

8989
$executableName = "wallet-generator"
9090
$executablePath = Join-Path $TempDir $executableName
9191

9292
if (-not (Test-Path -Path $executablePath)) {
93-
Write-Host "Error: wallet-generator executable not found after build!"
94-
Write-Host "Build may have failed. Please check the build output above."
93+
Write-Host "error: wallet-generator executable not found after build!"
94+
Write-Host "build may have failed. please check the build output above."
9595
exit 1
9696
}
9797

98-
Write-Host "Installing to $InstallDir..."
98+
Write-Host "installing to $InstallDir..."
9999
New-Item -ItemType Directory -Force -Path $InstallDir | Out-Null
100100
Copy-Item -Path $executablePath -Destination $InstallDir -Force
101101

102102
$installedExecutablePath = Join-Path $InstallDir $executableName
103103

104104
Write-Host ""
105-
Write-Host "Starting wallet generator server..."
105+
Write-Host "starting wallet generator server..."
106106

107107
Set-Location $InstallDir
108108

@@ -120,10 +120,10 @@ try {
120120
}
121121

122122
Write-Host ""
123-
Write-Host "=== Installation Complete! ==="
124-
Write-Host "Wallet generator is running at http://localhost:8888"
125-
Write-Host "To run again later, use: $installedExecutablePath"
126-
Write-Host "To stop the wallet generator, press Ctrl+C in this window or close it."
123+
Write-Host "=== installation complete! ==="
124+
Write-Host "wallet generator is running at http://localhost:8888"
125+
Write-Host "to run again later, use: $installedExecutablePath"
126+
Write-Host "to stop the wallet generator, press Ctrl+C in this window or close it."
127127
Write-Host ""
128128

129129
try {

wallet-generator.sh

Lines changed: 21 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -9,13 +9,13 @@ TEMP_DIR="/tmp/octra-wallet-gen-install"
99

1010
echo "=== ⚠️ SECURITY WARNING ⚠️ ==="
1111
echo ""
12-
echo "This tool generates real cryptographic keys. Always:"
13-
echo " - Keep your private keys secure"
14-
echo " - Never share your mnemonic phrase"
15-
echo " - Don't store wallet files on cloud services"
16-
echo " - Use on a secure, offline computer for production wallets"
12+
echo "this tool generates real cryptographic keys. always:"
13+
echo " - keep your private keys secure"
14+
echo " - never share your mnemonic phrase"
15+
echo " - don't store wallet files on cloud services"
16+
echo " - use on a secure, offline computer for production wallets"
1717
echo ""
18-
read -p "Press Enter to continue..." < /dev/tty
18+
read -p "press enter to continue..." < /dev/tty
1919
echo ""
2020
echo "=== octra wallet generator installer ==="
2121
echo ""
@@ -37,24 +37,23 @@ get_latest_release() {
3737

3838
download_and_extract() {
3939
local tag=$1
40-
echo "Downloading octra wallet generator..."
40+
echo "downloading octra wallet generator..."
4141

4242
rm -rf "$TEMP_DIR"
4343
mkdir -p "$TEMP_DIR"
4444

4545
local tarball_url="https://api.github.com/repos/${REPO_OWNER}/${REPO_NAME}/tarball/refs/tags/${tag}"
46-
echo "Downloading from $tarball_url"
4746
curl -L -o "$TEMP_DIR/release.tar.gz" "$tarball_url"
4847

4948
cd "$TEMP_DIR"
5049
tar -xzf release.tar.gz --strip-components=1
5150
}
5251

53-
echo "Fetching latest release information..."
52+
echo "fetching latest release information..."
5453
LATEST_TAG=$(get_latest_release)
5554
if [ -z "$LATEST_TAG" ]; then
56-
echo "Error: Could not fetch latest release information."
57-
echo "Please check your internet connection and try again."
55+
echo "error: could not fetch latest release information."
56+
echo "please check your internet connection and try again."
5857
exit 1
5958
fi
6059

@@ -67,29 +66,29 @@ install_bun
6766
bun install
6867

6968
echo ""
70-
echo "Building standalone executable..."
69+
echo "building standalone executable..."
7170
bun run build
7271

7372
if [ ! -f "./wallet-generator" ]; then
74-
echo "Error: wallet-generator executable not found!"
75-
echo "Build may have failed. Please check the build output above."
73+
echo "error: wallet-generator executable not found!"
74+
echo "build may have failed. please check the build output above."
7675
exit 1
7776
fi
7877

79-
echo "Installing to $INSTALL_DIR..."
78+
echo "installing to $INSTALL_DIR..."
8079
mkdir -p "$INSTALL_DIR"
8180
cp ./wallet-generator "$INSTALL_DIR/"
8281

8382
echo ""
84-
echo "Starting wallet generator server..."
83+
echo "starting wallet generator server..."
8584

8685
cd "$INSTALL_DIR"
8786

8887
rm -rf "$TEMP_DIR"
8988

9089
if lsof -i :8888 >/dev/null 2>&1; then
91-
echo "Error: Port 8888 is already in use!"
92-
echo "Please stop any existing service using port 8888."
90+
echo "error: port 8888 is already in use!"
91+
echo "please stop any existing service using port 8888."
9392
exit 1
9493
fi
9594

@@ -105,10 +104,10 @@ if [ -n "$BROWSER_CMD" ]; then
105104
fi
106105

107106
echo ""
108-
echo "=== Installation Complete! ==="
109-
echo "Wallet generator is running at http://localhost:8888"
110-
echo "To run again later, use: $INSTALL_DIR/wallet-generator"
111-
echo "To stop the wallet generator, press Ctrl+C"
107+
echo "=== installation complete! ==="
108+
echo "wallet generator is running at http://localhost:8888"
109+
echo "to run again later, use: $INSTALL_DIR/wallet-generator"
110+
echo "to stop the wallet generator, press Ctrl+C"
112111
echo ""
113112

114113
wait $WALLET_PID

0 commit comments

Comments
 (0)