From 52cf7a7772d270dda6124c5131f2d0676bdb5109 Mon Sep 17 00:00:00 2001 From: Ljubisa Date: Fri, 29 Sep 2023 08:47:38 +0200 Subject: [PATCH] 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.