Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,6 @@ jobs:
- name: Set up Go
uses: actions/setup-go@v4
with:
go-version: "1.22"
go-version: "1.26.4"
- name: Compile FireFly CLI
run: make
4 changes: 2 additions & 2 deletions .github/workflows/e2e.yml
Original file line number Diff line number Diff line change
Expand Up @@ -85,13 +85,13 @@ jobs:
- name: Checkout FireFly Core repo
uses: actions/checkout@v4
with:
repository: hyperledger/firefly
repository: hyperledger-firefly/firefly
path: firefly

- name: Set up Go
uses: actions/setup-go@v4
with:
go-version: "1.22"
go-version: "1.26.4"

- name: Compile FireFly CLI
working-directory: firefly-cli
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
- name: Set up Go
uses: actions/setup-go@v4
with:
go-version: "1.22"
go-version: "1.26.4"
- name: Run GoReleaser
uses: goreleaser/goreleaser-action@v4
with:
Expand Down
2 changes: 1 addition & 1 deletion .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ builds:
main: ./ff
binary: ff
ldflags:
- "-s -w -X 'github.com/hyperledger/firefly-cli/cmd.BuildVersionOverride={{.Version}}' -X 'github.com/hyperledger/firefly-cli/cmd.BuildDate={{.Date}}' -X 'github.com/hyperledger/firefly-cli/cmd.BuildCommit={{.Commit}}'"
- "-s -w -X 'github.com/hyperledger-firefly/cli/cmd.BuildVersionOverride={{.Version}}' -X 'github.com/hyperledger-firefly/cli/cmd.BuildDate={{.Date}}' -X 'github.com/hyperledger-firefly/cli/cmd.BuildCommit={{.Commit}}'"
archives:
- name_template: >-
{{ .ProjectName }}_{{ .Version }}_
Expand Down
2 changes: 1 addition & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ We welcome contributions to the FireFly Project in many forms, and
there's always plenty to do!

Please visit the
[contributors guide](https://hyperledger.github.io/firefly/latest/contributors/index) in the
[contributors guide](https://hyperledger-firefly.github.io/firefly/latest/contributors/index) in the
docs to learn how to make contributions to this exciting project.

<a rel="license" href="http://creativecommons.org/licenses/by/4.0/"><img alt="Creative Commons License" style="border-width:0" src="https://i.creativecommons.org/l/by/4.0/88x31.png" /></a><br />This work is licensed under a <a rel="license" href="http://creativecommons.org/licenses/by/4.0/">Creative Commons Attribution 4.0 International License</a>.
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,9 @@ format: ## Formats all go code
test: deps
$(VGO) test ./internal/... ./pkg/... ./cmd/... -cover -coverprofile=coverage.txt -covermode=atomic -timeout=30s ${TEST_ARGS}
build: ## Builds all go code
cd ff && go build -ldflags="-X 'github.com/hyperledger/firefly-cli/cmd.BuildDate=$(DATE)' -X 'github.com/hyperledger/firefly-cli/cmd.BuildCommit=$(GITREF)'"
cd ff && go build -ldflags="-X 'github.com/hyperledger-firefly/cli/cmd.BuildDate=$(DATE)' -X 'github.com/hyperledger-firefly/cli/cmd.BuildCommit=$(GITREF)'"
install: ## Installs the package
cd ff && go install -ldflags="-X 'github.com/hyperledger/firefly-cli/cmd.BuildDate=$(DATE)' -X 'github.com/hyperledger/firefly-cli/cmd.BuildCommit=$(GITREF)'"
cd ff && go install -ldflags="-X 'github.com/hyperledger-firefly/cli/cmd.BuildDate=$(DATE)' -X 'github.com/hyperledger-firefly/cli/cmd.BuildCommit=$(GITREF)'"

lint: ${LINT} ## Checks and reports lint errors
GOGC=20 $(LINT) run -v --timeout 5m
Expand Down
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
# FireFly CLI

![build](https://github.com/hyperledger/firefly-cli/actions/workflows/build.yml/badge.svg?branch=main)
![build](https://github.com/hyperledger-firefly/cli/actions/workflows/build.yml/badge.svg?branch=main)

The FireFly CLI can be used to create local [FireFly](https://github.com/hyperledger/firefly) stacks
The FireFly CLI can be used to create local [FireFly](https://github.com/hyperledger-firefly/firefly) stacks
for offline development of blockchain apps. This allows developers to rapidly iterate on their idea without
needing to set up a bunch of infrastructure before they can write the first line of code.

Expand All @@ -21,7 +21,7 @@ In order to run the FireFly CLI, you will need a few things installed on your de
The easiest way to get up and running with the FireFly CLI is to download a pre-compiled binary of the latest release.

### Download the package for your OS
Go to the [latest release page](https://github.com/hyperledger/firefly-cli/releases/latest) and download the package for your OS and CPU architecture.
Go to the [latest release page](https://github.com/hyperledger-firefly/cli/releases/latest) and download the package for your OS and CPU architecture.

### Extract the binary and move it to `/usr/local/bin`

Expand All @@ -47,7 +47,7 @@ If you downloaded the package from GitHub into a different directory, you will n
If you have a local Go development environment, and you have included `${GOPATH}/bin` in your path, you can install with:

```sh
go install github.com/hyperledger/firefly-cli/ff@latest
go install github.com/hyperledger-firefly/cli/ff@latest
```

## Create a new stack
Expand Down
6 changes: 3 additions & 3 deletions cmd/accounts_create.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,9 @@ import (
"context"
"fmt"

"github.com/hyperledger/firefly-cli/internal/docker"
"github.com/hyperledger/firefly-cli/internal/log"
"github.com/hyperledger/firefly-cli/internal/stacks"
"github.com/hyperledger-firefly/cli/internal/docker"
"github.com/hyperledger-firefly/cli/internal/log"
"github.com/hyperledger-firefly/cli/internal/stacks"
"github.com/spf13/cobra"
)

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

"github.com/hyperledger/firefly-cli/internal/utils"
"github.com/hyperledger-firefly/cli/internal/utils"
"github.com/stretchr/testify/assert"
)

Expand Down
6 changes: 3 additions & 3 deletions cmd/accounts_list.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,9 @@ import (
"encoding/json"
"fmt"

"github.com/hyperledger/firefly-cli/internal/docker"
"github.com/hyperledger/firefly-cli/internal/log"
"github.com/hyperledger/firefly-cli/internal/stacks"
"github.com/hyperledger-firefly/cli/internal/docker"
"github.com/hyperledger-firefly/cli/internal/log"
"github.com/hyperledger-firefly/cli/internal/stacks"
"github.com/spf13/cobra"
)

Expand Down
2 changes: 1 addition & 1 deletion cmd/accounts_list_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package cmd
import (
"testing"

"github.com/hyperledger/firefly-cli/internal/utils"
"github.com/hyperledger-firefly/cli/internal/utils"
"github.com/stretchr/testify/assert"
)

Expand Down
6 changes: 3 additions & 3 deletions cmd/deploy_ethereum.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,9 @@ import (
"context"
"fmt"

"github.com/hyperledger/firefly-cli/internal/docker"
"github.com/hyperledger/firefly-cli/internal/log"
"github.com/hyperledger/firefly-cli/internal/stacks"
"github.com/hyperledger-firefly/cli/internal/docker"
"github.com/hyperledger-firefly/cli/internal/log"
"github.com/hyperledger-firefly/cli/internal/stacks"
"github.com/spf13/cobra"
)

Expand Down
2 changes: 1 addition & 1 deletion cmd/deploy_ethereum_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import (
"testing"
"time"

"github.com/hyperledger/firefly-cli/internal/utils"
"github.com/hyperledger-firefly/cli/internal/utils"
"github.com/stretchr/testify/assert"
)

Expand Down
6 changes: 3 additions & 3 deletions cmd/deploy_fabric.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,9 @@ import (
"context"
"fmt"

"github.com/hyperledger/firefly-cli/internal/docker"
"github.com/hyperledger/firefly-cli/internal/log"
"github.com/hyperledger/firefly-cli/internal/stacks"
"github.com/hyperledger-firefly/cli/internal/docker"
"github.com/hyperledger-firefly/cli/internal/log"
"github.com/hyperledger-firefly/cli/internal/stacks"
"github.com/spf13/cobra"
)

Expand Down
2 changes: 1 addition & 1 deletion cmd/deploy_fabric_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import (
"testing"
"time"

"github.com/hyperledger/firefly-cli/internal/utils"
"github.com/hyperledger-firefly/cli/internal/utils"
"github.com/stretchr/testify/assert"
)

Expand Down
6 changes: 3 additions & 3 deletions cmd/info.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,9 @@ import (
"context"
"fmt"

"github.com/hyperledger/firefly-cli/internal/docker"
"github.com/hyperledger/firefly-cli/internal/log"
"github.com/hyperledger/firefly-cli/internal/stacks"
"github.com/hyperledger-firefly/cli/internal/docker"
"github.com/hyperledger-firefly/cli/internal/log"
"github.com/hyperledger-firefly/cli/internal/stacks"
"github.com/spf13/cobra"
)

Expand Down
2 changes: 1 addition & 1 deletion cmd/info_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package cmd
import (
"testing"

"github.com/hyperledger/firefly-cli/internal/utils"
"github.com/hyperledger-firefly/cli/internal/utils"
"github.com/stretchr/testify/assert"
)

Expand Down
8 changes: 4 additions & 4 deletions cmd/init.go
Original file line number Diff line number Diff line change
Expand Up @@ -29,10 +29,10 @@ import (

"github.com/spf13/cobra"

"github.com/hyperledger/firefly-cli/internal/log"
"github.com/hyperledger/firefly-cli/internal/stacks"
"github.com/hyperledger/firefly-cli/pkg/types"
"github.com/hyperledger/firefly-common/pkg/fftypes"
"github.com/hyperledger-firefly/cli/internal/log"
"github.com/hyperledger-firefly/cli/internal/stacks"
"github.com/hyperledger-firefly/cli/pkg/types"
"github.com/hyperledger-firefly/common/pkg/fftypes"
)

var initOptions types.InitOptions
Expand Down
6 changes: 3 additions & 3 deletions cmd/init_cardano.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,9 @@ import (
"fmt"
"path/filepath"

"github.com/hyperledger/firefly-cli/internal/log"
"github.com/hyperledger/firefly-cli/internal/stacks"
"github.com/hyperledger/firefly-cli/pkg/types"
"github.com/hyperledger-firefly/cli/internal/log"
"github.com/hyperledger-firefly/cli/internal/stacks"
"github.com/hyperledger-firefly/cli/pkg/types"
"github.com/spf13/cobra"
)

Expand Down
10 changes: 5 additions & 5 deletions cmd/init_ethereum.go
Original file line number Diff line number Diff line change
Expand Up @@ -23,11 +23,11 @@ import (

"github.com/spf13/cobra"

"github.com/hyperledger/firefly-cli/internal/docker"
"github.com/hyperledger/firefly-cli/internal/log"
"github.com/hyperledger/firefly-cli/internal/stacks"
"github.com/hyperledger/firefly-cli/pkg/types"
"github.com/hyperledger/firefly-common/pkg/fftypes"
"github.com/hyperledger-firefly/cli/internal/docker"
"github.com/hyperledger-firefly/cli/internal/log"
"github.com/hyperledger-firefly/cli/internal/stacks"
"github.com/hyperledger-firefly/cli/pkg/types"
"github.com/hyperledger-firefly/common/pkg/fftypes"
)

var initEthereumCmd = &cobra.Command{
Expand Down
8 changes: 4 additions & 4 deletions cmd/init_fabric.go
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,10 @@ import (

"github.com/spf13/cobra"

"github.com/hyperledger/firefly-cli/internal/docker"
"github.com/hyperledger/firefly-cli/internal/log"
"github.com/hyperledger/firefly-cli/internal/stacks"
"github.com/hyperledger/firefly-cli/pkg/types"
"github.com/hyperledger-firefly/cli/internal/docker"
"github.com/hyperledger-firefly/cli/internal/log"
"github.com/hyperledger-firefly/cli/internal/stacks"
"github.com/hyperledger-firefly/cli/pkg/types"
)

var initFabricCmd = &cobra.Command{
Expand Down
6 changes: 3 additions & 3 deletions cmd/init_tezos.go
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,9 @@ import (

"github.com/spf13/cobra"

"github.com/hyperledger/firefly-cli/internal/log"
"github.com/hyperledger/firefly-cli/internal/stacks"
"github.com/hyperledger/firefly-cli/pkg/types"
"github.com/hyperledger-firefly/cli/internal/log"
"github.com/hyperledger-firefly/cli/internal/stacks"
"github.com/hyperledger-firefly/cli/pkg/types"
)

var initTezosCmd = &cobra.Command{
Expand Down
2 changes: 1 addition & 1 deletion cmd/list.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ import (

"github.com/spf13/cobra"

"github.com/hyperledger/firefly-cli/internal/stacks"
"github.com/hyperledger-firefly/cli/internal/stacks"
)

var listCommand = &cobra.Command{
Expand Down
6 changes: 3 additions & 3 deletions cmd/logs.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,9 @@ import (
"context"
"fmt"

"github.com/hyperledger/firefly-cli/internal/docker"
"github.com/hyperledger/firefly-cli/internal/log"
"github.com/hyperledger/firefly-cli/internal/stacks"
"github.com/hyperledger-firefly/cli/internal/docker"
"github.com/hyperledger-firefly/cli/internal/log"
"github.com/hyperledger-firefly/cli/internal/stacks"
"github.com/spf13/cobra"
)

Expand Down
2 changes: 1 addition & 1 deletion cmd/prompt.go
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ import (
"strconv"
"strings"

"github.com/hyperledger/firefly-cli/internal/stacks"
"github.com/hyperledger-firefly/cli/internal/stacks"
"github.com/spf13/cobra"
)

Expand Down
4 changes: 2 additions & 2 deletions cmd/ps.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@ import (
"fmt"
"strings"

"github.com/hyperledger/firefly-cli/internal/log"
"github.com/hyperledger/firefly-cli/internal/stacks"
"github.com/hyperledger-firefly/cli/internal/log"
"github.com/hyperledger-firefly/cli/internal/stacks"
"github.com/spf13/cobra"
)

Expand Down
8 changes: 4 additions & 4 deletions cmd/pull.go
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,10 @@ import (
"time"

"github.com/briandowns/spinner"
"github.com/hyperledger/firefly-cli/internal/docker"
"github.com/hyperledger/firefly-cli/internal/log"
"github.com/hyperledger/firefly-cli/internal/stacks"
"github.com/hyperledger/firefly-cli/pkg/types"
"github.com/hyperledger-firefly/cli/internal/docker"
"github.com/hyperledger-firefly/cli/internal/log"
"github.com/hyperledger-firefly/cli/internal/stacks"
"github.com/hyperledger-firefly/cli/pkg/types"
"github.com/spf13/cobra"
)

Expand Down
8 changes: 4 additions & 4 deletions cmd/remove.go
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,10 @@ import (
"os"
"path/filepath"

"github.com/hyperledger/firefly-cli/internal/constants"
"github.com/hyperledger/firefly-cli/internal/docker"
"github.com/hyperledger/firefly-cli/internal/log"
"github.com/hyperledger/firefly-cli/internal/stacks"
"github.com/hyperledger-firefly/cli/internal/constants"
"github.com/hyperledger-firefly/cli/internal/docker"
"github.com/hyperledger-firefly/cli/internal/log"
"github.com/hyperledger-firefly/cli/internal/stacks"
"github.com/spf13/cobra"
)

Expand Down
6 changes: 3 additions & 3 deletions cmd/reset.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,9 @@ import (
"context"
"fmt"

"github.com/hyperledger/firefly-cli/internal/docker"
"github.com/hyperledger/firefly-cli/internal/log"
"github.com/hyperledger/firefly-cli/internal/stacks"
"github.com/hyperledger-firefly/cli/internal/docker"
"github.com/hyperledger-firefly/cli/internal/log"
"github.com/hyperledger-firefly/cli/internal/stacks"
"github.com/spf13/cobra"
)

Expand Down
2 changes: 1 addition & 1 deletion cmd/root.go
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ import (
homedir "github.com/mitchellh/go-homedir"
"github.com/spf13/viper"

"github.com/hyperledger/firefly-cli/internal/log"
"github.com/hyperledger-firefly/cli/internal/log"
)

var cfgFile string
Expand Down
8 changes: 4 additions & 4 deletions cmd/start.go
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,10 @@ import (
"time"

"github.com/briandowns/spinner"
"github.com/hyperledger/firefly-cli/internal/docker"
"github.com/hyperledger/firefly-cli/internal/log"
"github.com/hyperledger/firefly-cli/internal/stacks"
"github.com/hyperledger/firefly-cli/pkg/types"
"github.com/hyperledger-firefly/cli/internal/docker"
"github.com/hyperledger-firefly/cli/internal/log"
"github.com/hyperledger-firefly/cli/internal/stacks"
"github.com/hyperledger-firefly/cli/pkg/types"
"github.com/spf13/cobra"
)

Expand Down
6 changes: 3 additions & 3 deletions cmd/stop.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,9 @@ import (
"context"
"fmt"

"github.com/hyperledger/firefly-cli/internal/docker"
"github.com/hyperledger/firefly-cli/internal/log"
"github.com/hyperledger/firefly-cli/internal/stacks"
"github.com/hyperledger-firefly/cli/internal/docker"
"github.com/hyperledger-firefly/cli/internal/log"
"github.com/hyperledger-firefly/cli/internal/stacks"
"github.com/spf13/cobra"
)

Expand Down
Loading
Loading