Skip to content

Commit

Permalink
chore: Upgrade deps version (#40)
Browse files Browse the repository at this point in the history
* chore: bump geth version

* chore: bump deps version

* ci: remove deprecated linter

* ci: update linter

* ci: remove unused linter options

* ci: fix buildir can't load package

* ci: upgrade minimum go version to 1.21
  • Loading branch information
Planxnx authored May 14, 2024
1 parent 595b6f5 commit e900d2b
Show file tree
Hide file tree
Showing 6 changed files with 100 additions and 81 deletions.
18 changes: 9 additions & 9 deletions .github/workflows/code-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,24 +10,18 @@ jobs:
strategy:
matrix:
os: [ubuntu-latest, macos-latest]
go-version: ["1.19.x", "1.x"]
go-version: ["1.21.x", "1.x"]
name: Lint, Test and Build (${{ matrix.os }}/${{ matrix.go-version }})
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- name: Set up Go
uses: actions/setup-go@v3
uses: actions/setup-go@v5
with:
go-version: ${{ matrix.go-version }}
cache: true

- name: Lint
uses: golangci/golangci-lint-action@v3
with:
version: latest
args: --verbose

- name: Install dependencies
run: go get ./...

Expand All @@ -42,3 +36,9 @@ jobs:

- name: Display Go version
run: go version

- name: Lint
uses: golangci/golangci-lint-action@v6
with:
version: latest
args: --verbose
4 changes: 2 additions & 2 deletions .github/workflows/releaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,10 +28,10 @@ jobs:
# - "linux/arm64"
steps:
- name: Checkout code
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: actions/setup-go@v3
- uses: actions/setup-go@v5
with:
go-version-file: "go.mod"
cache: true # caching and restoring go modules and build outputs.
Expand Down
8 changes: 0 additions & 8 deletions .golangci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,6 @@
run:
timeout: 5m
tests: true
skip-dirs:
- temps
allow-parallel-runners: true

linters: # https://golangci-lint.run/usage/linters/
Expand Down Expand Up @@ -47,23 +45,17 @@ linters: # https://golangci-lint.run/usage/linters/
- usestdlibvars # style - detect the possibility to use variables/constants from the Go standard library
- whitespace # style - detection of leading and trailing whitespace
- wrapcheck # style, error - Checks that errors returned from external packages are wrapped, we should wrap the error from external library
- nosnakecase # style - detects snake case of variable naming and function name.

linters-settings:
misspell:
locale: US
ignore-words: []
gomnd:
ignored-functions: []
ignored-files: []
gocritic:
enabled-tags:
- diagnostic
- style
- performance
- opinionated
isabled-tags:
- experimental
gosec:
excludes:
- G404 # Insecure random number source (rand)
9 changes: 6 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,8 @@
- ∞ Infinite wallet generating! (set number to 0 to active infinite loop) ∞
- Generate word seed phrase with BIP-39 mnemonic (support 12, 24 Word Seed Phrase) (Default is 128 bits for 12 words).
- Embedded Database Supported! (with SQLite3). It's easiest to generate, manage, search a billion wallets without any pain.
- Tiny Sizes and Superior Speed with Golang 🚀 (required go 1.19 or higher)
- No Go? No Problem! [Docker images 🐳](https://hub.docker.com/r/planxthanee/ethereum-wallet-generator) or [exec files](https://github.com/Planxnx/ethereum-wallet-generator/releases/latest) are provided for you
- Tiny Sizes and Superior Speed with Golang 🚀 (required go 1.21 or higher)
- No Go? No Problem! [Docker images 🐳](https://hub.docker.com/r/planxthanee/ethereum-wallet-generator) or [exec files](https://github.com/Planxnx/ethereum-wallet-generator/releases/latest) are provided for you
- You can benchmark generating speed by setting the `isDryrun` flag 📈
- Default (HD Wallet)Hierarchical Deterministic Path - m/44'/60'/0'/0 .
- We recommend every user of this application audit and verify every source code in this repository and every imported dependecies for its validity and clearness. 👮🏻‍♂️
Expand All @@ -60,19 +60,22 @@ Examples: `0x1111111254fb6c44bAC0beD2854e76F90643097d`, or `0x999999999aa3d5F44D

> **Homebrew is coming soon**
<be>
<be>

### Install from Source

```console
$ go install github.com/planxnx/ethereum-wallet-generator@latest
```

### Docker

```console
$ docker pull planxthanee/ethereum-wallet-generator:latest
```

### Download from latest release

> supports only Windows x86-64 and macOs
[Download](https://github.com/Planxnx/ethereum-wallet-generator/releases/latest)
Expand Down
30 changes: 15 additions & 15 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -6,29 +6,29 @@ require (
github.com/btcsuite/btcd v0.24.0
github.com/btcsuite/btcd/btcutil v1.1.5
github.com/cheggaaa/pb/v3 v3.1.5
github.com/ethereum/go-ethereum v1.13.14
github.com/glebarez/sqlite v1.10.0
github.com/ethereum/go-ethereum v1.14.3
github.com/glebarez/sqlite v1.11.0
github.com/pkg/errors v0.9.1
github.com/schollz/progressbar/v3 v3.14.2
github.com/stretchr/testify v1.8.4
github.com/tyler-smith/go-bip39 v1.1.0
golang.org/x/crypto v0.20.0
gorm.io/gorm v1.25.7
golang.org/x/crypto v0.23.0
gorm.io/gorm v1.25.10
)

require (
github.com/VividCortex/ewma v1.2.0 // indirect
github.com/bits-and-blooms/bitset v1.13.0 // indirect
github.com/btcsuite/btcd/btcec/v2 v2.3.2 // indirect
github.com/btcsuite/btcd/btcec/v2 v2.3.3 // indirect
github.com/btcsuite/btcd/chaincfg/chainhash v1.1.0 // indirect
github.com/consensys/bavard v0.1.13 // indirect
github.com/consensys/gnark-crypto v0.12.1 // indirect
github.com/crate-crypto/go-kzg-4844 v0.7.0 // indirect
github.com/crate-crypto/go-kzg-4844 v1.0.0 // indirect
github.com/davecgh/go-spew v1.1.1 // indirect
github.com/decred/dcrd/dcrec/secp256k1/v4 v4.2.0 // indirect
github.com/decred/dcrd/dcrec/secp256k1/v4 v4.3.0 // indirect
github.com/dustin/go-humanize v1.0.1 // indirect
github.com/ethereum/c-kzg-4844 v0.4.2 // indirect
github.com/fatih/color v1.16.0 // indirect
github.com/ethereum/c-kzg-4844 v1.0.2 // indirect
github.com/fatih/color v1.17.0 // indirect
github.com/glebarez/go-sqlite v1.22.0 // indirect
github.com/google/uuid v1.6.0 // indirect
github.com/holiman/uint256 v1.2.4 // indirect
Expand All @@ -45,13 +45,13 @@ require (
github.com/rivo/uniseg v0.4.7 // indirect
github.com/supranational/blst v0.3.11 // indirect
golang.org/x/exp v0.0.0-20240222234643-814bf88cf225 // indirect
golang.org/x/sync v0.6.0 // indirect
golang.org/x/sys v0.17.0 // indirect
golang.org/x/term v0.17.0 // indirect
golang.org/x/sync v0.7.0 // indirect
golang.org/x/sys v0.20.0 // indirect
golang.org/x/term v0.20.0 // indirect
gopkg.in/yaml.v3 v3.0.1 // indirect
modernc.org/libc v1.41.0 // indirect
modernc.org/libc v1.50.5 // indirect
modernc.org/mathutil v1.6.0 // indirect
modernc.org/memory v1.7.2 // indirect
modernc.org/sqlite v1.29.2 // indirect
modernc.org/memory v1.8.0 // indirect
modernc.org/sqlite v1.29.9 // indirect
rsc.io/tmplfunc v0.0.3 // indirect
)
Loading

0 comments on commit e900d2b

Please sign in to comment.