From b691b220356585cab5648cc6fd6b9a69e1d92996 Mon Sep 17 00:00:00 2001 From: Ljubisa Date: Thu, 28 Sep 2023 22:59:19 +0200 Subject: [PATCH 1/3] chore: bump version to v0.13.4 --- version.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/version.go b/version.go index 9142f7d4b..34dbb7278 100644 --- a/version.go +++ b/version.go @@ -1,7 +1,7 @@ package beekeeper var ( - version = "0.12.3" // manually set semantic version number + version = "0.13.4" // manually set semantic version number commit string // automatically set git commit hash // Version TODO From 52cf7a7772d270dda6124c5131f2d0676bdb5109 Mon Sep 17 00:00:00 2001 From: Ljubisa Date: Fri, 29 Sep 2023 08:47:38 +0200 Subject: [PATCH 2/3] chore: update README.md for node-funder --- README.md | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/README.md b/README.md index 5068de48c..107c22a65 100644 --- a/README.md +++ b/README.md @@ -302,6 +302,28 @@ example: beekeeper version ``` +## node-funder + +Command **node-funder** uses https://github.com/ethersphere/node-funder tool to fund (top up) bee nodes up to the specified amount. It can fund all nodes in k8s namespace or it can fund only specified addresses. + +It has following flags: +``` +--addresses strings Comma-separated list of Bee node addresses (must start with 0x). Overrides namespace and cluster name. +--chain-node-endpoint string Endpoint to chain node. Required. +--cluster-name string Cluster name. Ignored if addresses or namespace are set. +--help help for node-funder +--min-native float Minimum amount of chain native coins (xDAI) nodes should have. +--min-swarm float Minimum amount of swarm tokens (xBZZ) nodes should have. +--namespace string Kubernetes namespace. Overrides cluster name if set. +--timeout duration Timeout. (default 5m0s) +--wallet-key string Hex-encoded private key for the Bee node wallet. Required. +``` + +example: +``` +beekeeper node-funder --chain-node-endpoint="http://geth-swap.default.testnet.internal" --wallet-key="4663c222787e30c1994b59044aa5045377a6e79193a8ead88293926b535c722d" --namespace=default --min-swarm=180 --min-native=2.2 --log-verbosity=3 +``` + # Global flags Global flags can be used with any command. From b2592942863db49c068e3b9f4b09add9e37f5d60 Mon Sep 17 00:00:00 2001 From: Ljubisa Date: Fri, 29 Sep 2023 09:05:06 +0200 Subject: [PATCH 3/3] chore: add wallet-key to beekeeper-local.yaml --- config/beekeeper-local.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/config/beekeeper-local.yaml b/config/beekeeper-local.yaml index ce4fb5d01..adb91c327 100644 --- a/config/beekeeper-local.yaml +++ b/config/beekeeper-local.yaml @@ -3,6 +3,7 @@ in-cluster: false geth-url: http://geth-swap.localhost bzz-token-address: 0x6aab14fe9cccd64a502d23842d916eb5321c26e7 eth-account: 0x62cab2b3b55f341f10348720ca18063cdb779ad5 +wallet-key: 4663c222787e30c1994b59044aa5045377a6e79193a8ead88293926b535c722d kubeconfig: "~/.kube/config" # config-dir: "" log-verbosity: "info"