powfaucet
by ethPandaOps
Helm chartv1.3.1App 2.6.1Verified publisher
PoW Faucet for EVM chains
About this chart
powfaucet
PoW Faucet for EVM chains
Homepage: https://github.com/pk910/PoWFaucet
Source Code
Example Configuration
faucetTitle: "PoW Faucet"
faucetPrivkey: "feedbeef12340000feedbeef12340000feedbeef12340000feedbeef12340000"
faucetRpcUrl: "http://your-el-node:8545"
faucetExplorerLink: "https://your-el-block-explorer.com/tx/{txid}"
faucetHomeHtml: ""
faucetMaxDropWei: 50000000000000000000 # 50 ETH
faucetPowEnabled: true
faucetPowRewardPerHash: 500000000000000000 # 0.5 ETH
Values
| Key | Type | Default | Description |
|---|---|---|---|
| affinity | object | {} | Affinity configuration for pods |
| annotations | object | {} | Annotations for the StatefulSet |
| config | string | See values.yaml | Config file |
| containerSecurityContext | object | See values.yaml | The security context for containers |
| customArgs | list | ["--datadir=/data"] | Custom args for the powfaucet container |
| customCommand | list | [] | Command replacement for the powfaucet container |
| extraContainers | list | [] | Additional containers |
| extraEnv | list | [] | Additional env variables |
| extraPorts | list | [] | Additional ports. Useful when using extraContainers |
| extraVolumeMounts | list | [] | Additional volume mounts |
| extraVolumes | list | [] | Additional volumes |
| faucetAuthenticatoorAuthUrl | string | "https://auth.example.com" | Authenticatoor module: base URL of the authenticatoor service |
| faucetAuthenticatoorConcurrencyLimit | int | 0 | Authenticatoor module: max concurrent sessions per authenticated user (0 = unlimited) |
| faucetAuthenticatoorEnabled | bool | false | Enable authenticatoor module (login via ethpandaops/service-authenticatoor) |
| faucetAuthenticatoorExpectedAudience | string | "" | Authenticatoor module: expected aud claim Authenticatoor derives the audience from its issuer URL (parent zone of the issuer) unless overridden. |
| faucetAuthenticatoorExpectedHost | string | "" | Authenticatoor module: optional defense-in-depth host pin matched against the token scope claim (DNS-label glob; tokens without scope claim are accepted regardless). Use the faucet's public hostname. |
| faucetAuthenticatoorExpectedService | string | "" | Authenticatoor module: service name the token's services claim must allow (e.g. "faucet"). Tokens without a services claim are accepted. Empty: no service check. Needed for grants with a feature. |
| faucetAuthenticatoorGrants | list | [] | Authenticatoor module: recurring grants applied on session start (evaluated in order; later grants override perks of earlier ones). Each entry supports: limitCount, limitAmount, duration, skipModules, rewardFactor, overrideMaxDrop, required, message, feature. A grant with feature applies only to logins whose token holds that feature of faucetAuthenticatoorExpectedService. |
| faucetAuthenticatoorInfoHtml | string | "" | Authenticatoor module: HTML shown in the login info popover (null/empty to omit) |
| faucetAuthenticatoorLoginLabel | string | "" | Authenticatoor module: frontend label for the login button (null/empty for default) |
| faucetAuthenticatoorLoginLogo | string | "" | Authenticatoor module: URL/path to the login button logo (null/empty to omit) |
| faucetAuthenticatoorRequireLogin | bool | false | Authenticatoor module: require login to start a session |
| faucetAuthenticatoorUserLabel | string | "" | Authenticatoor module: frontend label shown next to the username when authenticated (null/empty for default) |
| faucetCaptchaEnabled | bool | false | Enable captcha module |
| faucetCaptchaProvider | string | "hcaptcha" | Captcha module: provider (hcaptcha / recaptcha) |
| faucetCaptchaSecret | string | "0xCensoredHCaptchaSecretKey" | Captcha module: provider secret |
| faucetCaptchaSitekey | string | "00000000-0000-0000-0000-000000000000" | Captcha module: provider site key |
| faucetConcurrencyByAddrOnly | bool | false | Concurrency module: only check concurrency by target address (set true when a trusted proxy fronts the faucet, so all traffic shares one IP) |
| faucetConcurrencyByIPOnly | bool | false | Concurrency module: only check concurrency by IP address (setting both ByAddrOnly and ByIPOnly skips both checks, disabling the module) |
| faucetConcurrencyLimit | int | 1 | Concurrency module: max sessions in 'running' state at the same time for the same IP / target address |
| faucetConcurrencyLimitEnabled | bool | true | Enable concurrency-limit module (cap simultaneously running sessions) |
| faucetEnsEnabled | bool | true | Enable ENS module |
| faucetEnsRequired | bool | false | ENS module: enforce ens name to use the faucet |
| faucetEnsRpcUrl | string | "https://ethereum-rpc.publicnode.com" | ENS module: rpc url (mainnet) |
| faucetEthinfoDenyContract | bool | true | Ethinfo module: deny contract addresses |
| faucetEthinfoEnabled | bool | true | Enable ethinfo module (check target wallet balance / type) |
| faucetEthinfoMaxbalanceWei | float | 100000000000000000000 | Ethinfo module: check balance and deny session if balance exceeds the limit (in wei) |
| faucetExplorerLink | string | "https://your-el-block-explorer.com/tx/{txid}" | Link to el block explorer ({txid} as placeholder for transaction hash) |
| faucetGithubClientid | string | "" | Github module: github app client id |
| faucetGithubEnabled | bool | false | Enable github module (require login to github) |
| faucetGithubLimitAmountWei | float | 100000000000000000000 | Github module: max amount each github user is allowed to request in total |
| faucetGithubLimitDuration | int | 86400 | Github module: aggregation duration for the max request amount check |
| faucetGithubMinAge | int | 604800 | Github module: minimum account age (in seconds) |
| faucetGithubMinFollowers | int | 5 | Github module: minimum number of followers |
| faucetGithubMinRepos | int | 5 | Github module: minimum number of repositories |
| faucetGithubSecret | string | "" | Github module: github app client secret |
| faucetHomeHtml | string | "" | Additional html to show on the faucet page |
| faucetIpinfoEnabled | bool | true | Enable ipinfo module (resolve ip infos from ip-api.com) |
| faucetIpinfoHostingRewards | int | 10 | Ipinfo module: reward rate if ip is in a hosting range (in %) |
| faucetIpinfoProxyRewards | int | 10 | Ipinfo module: reward rate if ip is in a proxy range (in %) |
| faucetMainnetEnabled | bool | false | Enable mainnet module (check mainnet wallet balance / nonce) |
| faucetMainnetMinBalanceWei | int | 10000000000000000 | Mainnet module: min balance the user needs to hold in his mainnet wallet to use the faucet |
| faucetMainnetMinTxCount | int | 5 | Mainnet module: min number of transactions the user needs to have sent from the mainnet wallet to use the faucet |
| faucetMainnetRpcUrl | string | "https://ethereum-rpc.publicnode.com" | Mainnet module: rpc url (mainnet) |
| faucetMaxDropWei | float | 50000000000000000000 | Default/Maximum drop amount in wei |
| faucetMinDropWei | int | 1000000000000000000 | Minimum drop amount in wei |
| faucetOutflowAmountWei | float | 1e+21 | Outflow module: allowed amount of ETH (amount/duration) (in wei) |
| faucetOutflowBufferWei | float | 500000000000000000000 | Outflow module: amount overflow buffer (in wei) |
| faucetOutflowDuration | int | 86400 | Outflow module: duration for the allowed amouunt (amount/duration) (in wei) |
| faucetOutflowEnabled | bool | false | Enable outflow module (limit global faucet outflow) |
| faucetPowDifficulty | int | 12 | PoW module: mining difficulty (see https://github.com/pk910/PoWFaucet/wiki/Operator-Wiki#eligible-hashes) |
| faucetPowEnabled | bool | false | Enable PoW module (require mining) |
| faucetPowMaxDuration | int | 18000 | PoW module: max mining time (in seconds) |
| faucetPowPingInterval | int | 45 | PoW module: ping interval for websocket connection |
| faucetPowPingTimeout | int | 90 | PoW module: ping timeout for websocket connection |
| faucetPowRewardPerHash | int | 500000000000000000 | PoW module: drop amount per eligible hash |
| faucetPrivkey | string | "feedbeef12340000feedbeef12340000feedbeef12340000feedbeef12340000" | Faucet wallet private key |
| faucetRecurringLimitsAmountWei | float | 100000000000000000000 | Recurring module: max amount a recurring user is allowed to request in total |
| faucetRecurringLimitsByAddrOnly | bool | false | Recurring module: only match previous sessions by target address, not by IP (set true when a trusted proxy fronts the faucet, so all traffic shares one IP and a per-IP match becomes a global budget) |
| faucetRecurringLimitsDuration | int | 86400 | Recurring module: aggregation duration for the max request amount check |
| faucetRecurringLimitsEnabled | bool | true | Enable recurring module (enforce limits for recurring users) |
| faucetRpcEndpoints | list | [] | Faucet el node rpc endpoints (multi-RPC mode). When non-empty, replaces faucetRpcUrl. Each entry supports: url (string, required; may include user:pass@), name (optional display label), priority (higher = preferred, default 1), metered (bool, throttles monitoring requests, default false). |
| faucetRpcMaxBlockHeightDiff | int | 10 | Mark RPC endpoints offline if their head block falls behind the highest known head by more than this many blocks |
| faucetRpcMonitorInterval | int | 10 | Monitoring poll interval (seconds) for non-metered RPC endpoints |
| faucetRpcMonitorMeteredInterval | int | 60 | Monitoring poll interval (seconds) for metered RPC endpoints (lower request count, slower failure detection) |
| faucetRpcUrl | string | "http://your-el-node:8545" | Faucet el node rpc (single endpoint legacy mode; ignored when faucetRpcEndpoints is set) |
| faucetTitle | string | "PoW Faucet" | Faucet title |
| faucetTxBroadcastCount | int | 2 | Number of highest-priority ready endpoints to broadcast each transaction to in parallel. At least one successful submission is required; other endpoints' errors (e.g. "already known") are ignored. |
| faucetTxMaxFee | int | 100000000000 | Max transaction gas fee (in wei) |
| faucetTxMaxPrioFee | int | 2000000000 | Max transaction priority fee (in wei) |
| fullnameOverride | string | "" | Overrides the chart's computed fullname |
| httpPort | int | 8080 | HTTP port for faucet interface |
| httpProxyCount | int | 1 | number of HTTP proxies in front of the faucet |
| image.pullPolicy | string | "IfNotPresent" | powfaucet container pull policy |
| image.repository | string | "pk910/powfaucet" | powfaucet container image repository |
| image.tag | string | "v2-stable" | powfaucet container image tag |
| ingress.annotations | object | {} | Annotations for Ingress |
| ingress.basicAuth | string | "" | htpasswd entry gating the ingress with basic auth, e.g. "user:{PLAIN}password" or a hashed line from htpasswd -nbB. Set it and the chart creates the secret and the nginx annotations; leave it empty to serve the faucet unauthenticated. |
| ingress.enabled | bool | false | Ingress resource for the HTTP API |
| ingress.hosts[0].host | string | "chart-example.local" | |
| ingress.hosts[0].paths | list | [] | |
| ingress.tls | list | [] | Ingress TLS |
| initContainers | list | [] | Additional init containers |
| nameOverride | string | "" | Overrides the chart's name |
| nodeSelector | object | {} | Node selector for pods |
| persistence.accessModes | list | ["ReadWriteOnce"] | Access mode for the volume claim template |
| persistence.annotations | object | {} | Annotations for volume claim template |
| persistence.enabled | bool | false | Uses an EmptyDir when not enabled |
| persistence.existingClaim | string | nil | Use an existing PVC when persistence.enabled |
| persistence.selector | object | {} | Selector for volume claim template |
| persistence.size | string | "5Gi" | Requested size for volume claim template |
| persistence.storageClassName | string | nil | Use a specific storage class E.g 'local-path' for local storage to achieve best performance Read more (https://github.com/rancher/local-path-provisioner) |
| persistentVolumeClaimRetentionPolicy | object | {} | PersistentVolumeClaim retention policy for the StatefulSet's volumeClaimTemplates (whenDeleted, whenScaled: Retain or Delete). Not rendered when empty, so Kubernetes keeps its default of retaining the PVCs. Ref: https://kubernetes.io/docs/concepts/workloads/controllers/statefulset/#persistentvolumeclaim-retention |
| podAnnotations | object | {} | Pod annotations |
| podDisruptionBudget | object | {} | Define the PodDisruptionBudget spec If not set then a PodDisruptionBudget will not be created |
| podLabels | object | {} | Pod labels |
| podManagementPolicy | string | "OrderedReady" | Pod management policy |
| priorityClassName | string | nil | Pod priority class |
| resources | object | {} | Resource requests and limits |
| securityContext | object | See values.yaml | The security context for pods |
| service.type | string | "ClusterIP" | Service type |
| serviceAccount.annotations | object | {} | Annotations to add to the service account |
| serviceAccount.create | bool | true | Specifies whether a service account should be created |
| serviceAccount.name | string | "" | The name of the service account to use. If not set and create is true, a name is generated using the fullname template |
| terminationGracePeriodSeconds | int | 30 | How long to wait until the pod is forcefully terminated |
| t |
Deploy powfaucet with OpenTenant
Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has powfaucet on a Hetzner server. Change the host, add apps from the marketplace, then copy the generated files. Providers and prices are samples, and nothing here is sent anywhere.
- Pick a serverConnect Hetzner, OVHcloud or AWS. The builder starts on Hetzner, the cheapest sample rate.
- Place the chartpowfaucet is pinned at v1.3.1 in opentenant.yaml. Drag more apps from the marketplace onto a rack.
- ApplySave opentenant.yaml and main.tf from the console, then run the commands below.
# opentenant.yaml, main.tf and dns.tf come from the builder below opentenant validate opentenant.yaml terraform init && terraform apply