Skip to content

Commit

Permalink
change namespace (#7)
Browse files Browse the repository at this point in the history
  • Loading branch information
Pantani authored Nov 23, 2024
1 parent e4df565 commit e1b6005
Show file tree
Hide file tree
Showing 7 changed files with 26 additions and 25 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/release-docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,4 +29,4 @@ jobs:
with:
push: true
platforms: linux/amd64,linux/arm64
tags: ghcr.io/tendermint/faucet:latest,ghcr.io/tendermint/faucet:${{ steps.get_version.outputs.version-without-v }}
tags: ghcr.io/ignite/faucet:latest,ghcr.io/ignite/faucet:${{ steps.get_version.outputs.version-without-v }}
36 changes: 18 additions & 18 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,12 +29,12 @@ $ curl https://get.starport.network/faucet! | bash

### Use docker image

Use docker image `ghcr.io/tendermint/faucet`. You can use it in a Kubernetes pod with
Use docker image `ghcr.io/ignite/faucet`. You can use it in a Kubernetes pod with
[shareProcessNamespace](https://kubernetes.io/docs/tasks/configure-pod-container/share-process-namespace/#configure-a-pod)
or mount the chain binary using docker:

```bash
$ docker run -it -v ~/go/bin/gaiad:/usr/local/bin/gaiad ghcr.io/tendermint/faucet
$ docker run -it -v ~/go/bin/gaiad:/usr/local/bin/gaiad ghcr.io/ignite/faucet
```

### From Source
Expand All @@ -58,22 +58,22 @@ $ make install
You can configure the faucet either using command line flags or environment variables. The following table
shows the available configuration options and respective defaults:

| flag | env | description | default |
|------------------|------------------|-------------------------------------------------------------- |-----------|
| port | PORT | tcp port where faucet will be listening for requests | 8000 |
| account-name | ACCOUNT_NAME | name of the account to be used by the faucet | faucet |
| mnemonic | MNEMONIC | mnemonic for restoring an account | |
| keyring-password | KEYRING_PASSWORD | password for accessing keyring | |
| denoms | DENOMS | denomination of the coins sent by default (comma separated) | uatom |
| credit-amount | CREDIT_AMOUNT | amount to credit in each request | 10000000 |
| max-credit | MAX_CREDIT | maximum credit per account | 100000000 |
| fee-amount | FEE_AMOUNT | fee to pay along with the transaction | 0 |
| sdk-version | SDK_VERSION | version of sdk (launchpad or stargate) | stargate |
| node | NODE | address of tendermint RPC endpoint for this chain | |
| keyring-backend | KEYRING_BACKEND | keyring backend to be used | |
| coin-type | COIN_TYPE | registered coin type number for HD derivation (BIP-0044) | 118 |
| home | HOME | replaces the default home used by the chain | |
| | | | |
| flag | env | description | default |
|------------------|------------------|------------------------------------------------------------- |-----------|
| port | PORT | tcp port where faucet will be listening for requests | 8000 |
| account-name | ACCOUNT_NAME | name of the account to be used by the faucet | faucet |
| mnemonic | MNEMONIC | mnemonic for restoring an account | |
| keyring-password | KEYRING_PASSWORD | password for accessing keyring | |
| denoms | DENOMS | denomination of the coins sent by default (comma separated) | uatom |
| credit-amount | CREDIT_AMOUNT | amount to credit in each request | 10000000 |
| max-credit | MAX_CREDIT | maximum credit per account | 100000000 |
| fee-amount | FEE_AMOUNT | fee to pay along with the transaction | 0 |
| sdk-version | SDK_VERSION | version of sdk (launchpad or stargate) | stargate |
| node | NODE | address of RPC endpoint for this chain | |
| keyring-backend | KEYRING_BACKEND | keyring backend to be used | |
| coin-type | COIN_TYPE | registered coin type number for HD derivation (BIP-0044) | 118 |
| home | HOME | replaces the default home used by the chain | |
| | | | |

### [gaia](https://github.com/cosmos/gaia) example

Expand Down
4 changes: 2 additions & 2 deletions cmd/faucet.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ import (
"github.com/ignite/cli/v28/ignite/pkg/errors"
"github.com/spf13/cobra"

"github.com/tendermint/faucet/internal/environ"
"github.com/ignite/faucet/internal/environ"
)

const (
Expand Down Expand Up @@ -98,7 +98,7 @@ func faucetFlags(cmd *cobra.Command) {
cmd.Flags().String(
flagNode,
environ.GetString("NODE", ""),
"address of tendermint RPC endpoint for this chain",
"address of RPC endpoint for this chain",
)
cmd.Flags().String(
flagCoinType,
Expand Down
3 changes: 2 additions & 1 deletion cmd/root.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@ import (
"time"

"github.com/spf13/cobra"
"github.com/tendermint/faucet/version"

"github.com/ignite/faucet/version"
)

const checkVersionTimeout = time.Millisecond * 600
Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
module github.com/tendermint/faucet
module github.com/ignite/faucet

go 1.23.1

Expand Down
2 changes: 1 addition & 1 deletion internal/environ/env_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import (
"os"
"testing"

"github.com/tendermint/faucet/internal/environ"
"github.com/ignite/faucet/internal/environ"
)

func TestEnviron(t *testing.T) {
Expand Down
2 changes: 1 addition & 1 deletion main.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import (
"fmt"
"os"

"github.com/tendermint/faucet/cmd"
"github.com/ignite/faucet/cmd"
)

func main() {
Expand Down

0 comments on commit e1b6005

Please sign in to comment.