Skip to content

Commit e2055a1

Browse files
committed
feat: rename binary from sol-sign to go-sol-sign
- Update binary name to go-sol-sign across all build scripts - Update README usage examples and installation commands - Rename packaging files (RPM spec, Homebrew formula) - Update tool name constants and documentation - Ensure consistency across all distribution packages BREAKING CHANGE: Binary name changed from sol-sign to go-sol-sign
1 parent c6e4676 commit e2055a1

File tree

6 files changed

+23
-23
lines changed

6 files changed

+23
-23
lines changed

README.md

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -18,24 +18,24 @@ curl -fsSL https://raw.githubusercontent.com/Aryamanraj/go-sol-sign/main/install
1818
#### Homebrew (macOS/Linux)
1919
```bash
2020
brew tap Aryamanraj/tap
21-
brew install sol-sign
21+
brew install go-sol-sign
2222
```
2323

2424
#### Ubuntu/Debian
2525
```bash
26-
wget https://github.com/Aryamanraj/go-sol-sign/releases/download/v1.0.0/sol-sign_1.0.0_linux_amd64.deb
27-
sudo dpkg -i sol-sign_1.0.0_linux_amd64.deb
26+
wget https://github.com/Aryamanraj/go-sol-sign/releases/download/v1.0.0/go-sol-sign_1.0.0_linux_amd64.deb
27+
sudo dpkg -i go-sol-sign_1.0.0_linux_amd64.deb
2828
```
2929

3030
#### Arch Linux (AUR)
3131
```bash
32-
yay -S sol-sign
32+
yay -S go-sol-sign
3333
```
3434

3535
#### Fedora/CentOS/RHEL
3636
```bash
37-
wget https://github.com/Aryamanraj/go-sol-sign/releases/download/v1.0.0/sol-sign-1.0.0-1.x86_64.rpm
38-
sudo rpm -i sol-sign-1.0.0-1.x86_64.rpm
37+
wget https://github.com/Aryamanraj/go-sol-sign/releases/download/v1.0.0/go-sol-sign-1.0.0-1.x86_64.rpm
38+
sudo rpm -i go-sol-sign-1.0.0-1.x86_64.rpm
3939
```
4040

4141
### Manual Download
@@ -45,31 +45,31 @@ Download pre-built binaries from the [releases page](https://github.com/Aryamanr
4545

4646
### Basic Usage
4747
```bash
48-
sol-sign -keypair <path-to-keypair> -message <message>
48+
go-sol-sign -keypair <path-to-keypair> -message <message>
4949
```
5050

5151
### Examples
5252

5353
Sign a message with base64 output (default):
5454
```bash
55-
sol-sign -keypair ~/.config/solana/id.json -message "Hello World"
55+
go-sol-sign -keypair ~/.config/solana/id.json -message "Hello World"
5656
# Output: GY/HTLWHgdOPoxFpTz9X1BpfNJtztRzj0gtUxkS0daX4uuC3/YhubdYbJU1tKNcK3Q3FP7XZ3a3nyVarRObuDA==
5757
```
5858

5959
Sign a message with hex output:
6060
```bash
61-
sol-sign -keypair ./my-keypair.json -message "Authentication token" -format hex
61+
go-sol-sign -keypair ./my-keypair.json -message "Authentication token" -format hex
6262
# Output: c373f2e5c6e640209f5457290b784b8a4923e5ca8af31cb6033513375123e2cf7bbab791b6dcf9ff245f361d76637eee182ccd6a23453215e9581bb81bbfe500
6363
```
6464

6565
Enable verbose output:
6666
```bash
67-
sol-sign -keypair ./keypair.json -message "Test" -verbose
67+
go-sol-sign -keypair ./keypair.json -message "Test" -verbose
6868
```
6969

7070
Show version information:
7171
```bash
72-
sol-sign -version
72+
go-sol-sign -version
7373
```
7474

7575
### Command Options

build-release.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
set -e
77

88
VERSION="1.0.0"
9-
APP_NAME="sol-sign"
9+
APP_NAME="go-sol-sign"
1010
PLATFORMS=(
1111
"linux/amd64"
1212
"linux/arm64"

go-sol-sign

2.95 MB
Binary file not shown.

main.go

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,11 @@
44
// sign messages using Ed25519 private keys in the standard Solana keypair format.
55
//
66
// Usage:
7-
// sol-sign -keypair <path> -message <message> [-format base64|hex]
7+
// go-sol-sign -keypair <path> -message <message> [-format base64|hex]
88
//
99
// Examples:
10-
// sol-sign -keypair ~/.config/solana/id.json -message "Hello World"
11-
// sol-sign -keypair ./keypair.json -message "Test" -format hex
10+
// go-sol-sign -keypair ~/.config/solana/id.json -message "Hello World"
11+
// go-sol-sign -keypair ./keypair.json -message "Test" -format hex
1212
package main
1313

1414
import (
@@ -26,11 +26,11 @@ import (
2626
)
2727

2828
const (
29-
// Version of the sol-sign tool
29+
// Version of the go-sol-sign tool
3030
Version = "1.1.0"
3131

3232
// Tool name and description
33-
ToolName = "sol-sign"
33+
ToolName = "go-sol-sign"
3434
ToolDescription = "Sign messages with Solana keypairs"
3535
)
3636

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
class SolSign < Formula
1+
class GoSolSign < Formula
22
desc "Command-line tool for signing messages with Solana keypairs"
33
homepage "https://github.com/Aryamanraj/go-sol-sign"
44
url "https://github.com/Aryamanraj/go-sol-sign/archive/v1.0.0.tar.gz"
@@ -8,16 +8,16 @@ class SolSign < Formula
88
depends_on "go" => :build
99

1010
def install
11-
system "go", "build", *std_go_args(ldflags: "-w -s"), "-o", bin/"sol-sign"
12-
man1.install "packaging/rpm/sol-sign.1"
11+
system "go", "build", *std_go_args(ldflags: "-w -s"), "-o", bin/"go-sol-sign"
12+
man1.install "packaging/rpm/go-sol-sign.1"
1313
end
1414

1515
test do
1616
# Test version output
17-
assert_match "sol-sign v1.0.0", shell_output("#{bin}/sol-sign -version")
17+
assert_match "go-sol-sign v1.0.0", shell_output("#{bin}/go-sol-sign -version")
1818

1919
# Test help output
20-
output = shell_output("#{bin}/sol-sign 2>&1", 1)
20+
output = shell_output("#{bin}/go-sol-sign 2>&1", 1)
2121
assert_match "Usage:", output
2222
assert_match "keypair", output
2323
assert_match "message", output
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
Name: sol-sign
1+
Name: go-sol-sign
22
Version: 1.0.0
33
Release: 1%{?dist}
44
Summary: Command-line tool for signing messages with Solana keypairs

0 commit comments

Comments
 (0)