Skip to content

Commit

Permalink
fix: gomod name
Browse files Browse the repository at this point in the history
  • Loading branch information
prnk28 committed Oct 30, 2023
1 parent 75dd86e commit ae32923
Show file tree
Hide file tree
Showing 204 changed files with 368 additions and 368 deletions.
2 changes: 1 addition & 1 deletion .github/contribution/CLIENT_GUIDELINES.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ You will need to install and configure the following dependencies on your machin
You can setup your macOS or Linux machine to be ready for local development with these steps:

```sh
git clone https://github.com/sonr-io/sonr.git # Clone the repository
git clone https://github.com/sonrhq/core.git # Clone the repository
sh scripts/install.sh # Install dependencies
task # Display the available commands
```
Expand Down
2 changes: 1 addition & 1 deletion .github/contribution/DEVELOPERS.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ You will need to install and configure the following dependencies on your machin
You can setup your macOS or Linux machine to be ready for local development with these steps:

```sh
git clone https://github.com/sonr-io/sonr.git # Clone the repository
git clone https://github.com/sonrhq/core.git # Clone the repository
sh scripts/install.sh # Install dependencies
task # Display the available commands
```
Expand Down
4 changes: 2 additions & 2 deletions .github/contribution/TESTNET.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ You will need to install and configure the following dependencies on your machin
You can setup your macOS or Linux machine to be ready for local development with these steps:

```sh
git clone https://github.com/sonr-io/sonr.git # Clone the repository
git clone https://github.com/sonrhq/core.git # Clone the repository
sh scripts/install.sh # Install dependencies
task # Display the available commands
```
Expand All @@ -45,7 +45,7 @@ You will need to install and configure the following dependencies on your machin
You can setup your macOS or Linux machine to be ready for local development with these steps:

```sh
git clone https://github.com/sonr-io/sonr.git # Clone the repository
git clone https://github.com/sonrhq/core.git # Clone the repository
sh scripts/install.sh # Install dependencies
task # Display the available commands
```
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ jobs:
continue-on-error: true
with:
input: "proto"
against: "https://github.com/sonr-io/sonr.git#branch=master"
against: "https://github.com/sonrhq/core.git#branch=master"
- uses: bufbuild/buf-lint-action@v1
with:
input: "proto"
4 changes: 2 additions & 2 deletions .goreleaser.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ release:
Run the following command to install sonrd:
```bash
curl -L https://github.com/sonr-io/sonr/releases/latest/download/install.sh | sh
curl -L https://github.com/sonrhq/core/releases/latest/download/install.sh | sh
```
### ⚡️ Binaries
Expand All @@ -142,7 +142,7 @@ release:
If you prefer to build from source, you can use the following commands:
````bash
git clone https://github.com/sonr-io/sonr
git clone https://github.com/sonrhq/core
cd core && git checkout v{{ .Version }}
make install
# Then run sonrd
Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ SDK_PACK := $(shell go list -m github.com/cosmos/cosmos-sdk | sed 's/ /\@/g')
DOCKER := $(shell which docker)
DOCKER_BUF := $(DOCKER) run --rm -v $(CURDIR):/workspace --workdir /workspace bufbuild/buf:1.0.0-rc8
BUILDDIR ?= $(CURDIR)/build
HTTPS_GIT := https://github.com/sonr-io/sonr.git
HTTPS_GIT := https://github.com/sonrhq/core.git

export GO111MODULE = on

Expand Down
30 changes: 15 additions & 15 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,10 @@
</div>
<div style="text-align: left;">

[![Go Reference](https://pkg.go.dev/badge/github.com/sonr-io/sonr.svg)](https://pkg.go.dev/github.com/sonr-io/sonr)
[![Test sonrd](https://github.com/sonr-io/sonr/actions/workflows/tests.yml/badge.svg)](https://github.com/sonr-io/sonr/actions/workflows/tests.yml)
[![GitHub all releases](https://img.shields.io/github/downloads/sonr-io/sonr/total)](https://github.com/sonr-io/sonr/releases/latest)
[![Go Report Card](https://goreportcard.com/badge/github.com/sonr-io/sonr)](https://goreportcard.com/report/github.com/sonr-io/sonr)
[![Go Reference](https://pkg.go.dev/badge/github.com/sonrhq/core.svg)](https://pkg.go.dev/github.com/sonrhq/core)
[![Test sonrd](https://github.com/sonrhq/core/actions/workflows/tests.yml/badge.svg)](https://github.com/sonrhq/core/actions/workflows/tests.yml)
[![GitHub all releases](https://img.shields.io/github/downloads/sonr-io/sonr/total)](https://github.com/sonrhq/core/releases/latest)
[![Go Report Card](https://goreportcard.com/badge/github.com/sonrhq/core)](https://goreportcard.com/report/github.com/sonrhq/core)
[![Vulnerabilities](https://sonarcloud.io/api/project_badges/measure?project=sonr-io_sonr&metric=vulnerabilities)](https://sonarcloud.io/summary/new_code?id=sonr-io_sonr)
[![Security Rating](https://sonarcloud.io/api/project_badges/measure?project=sonr-io_sonr&metric=security_rating)](https://sonarcloud.io/summary/new_code?id=sonr-io_sonr)
[![Twitter](https://img.shields.io/twitter/follow/sonr_io?style=social)](https://sonr.io/twitter)
Expand All @@ -26,13 +26,13 @@ Sonr is an ibc-enabled blockchain for decentralized identity.
- [x] IPFS Database and Storage. [__Docs__](https://sonr.io/docs/guides/storage)
- [x] Redis. [__Docs__](https://sonr.io/docs/guides/api#rest-api-overview)
- [x] MySQL. [__Docs__](https://sonr.io/docs/guides/api#graphql-api-overview)
- [ ] User mailboxes. [Status](https://github.com/sonr-io/sonr/issues/781)
- [ ] database subscriptions. [Status](https://github.com/sonr-io/sonr/issues/782)
- [ ] Matrix chat. [Status](https://github.com/sonr-io/sonr/issues/783)
- [ ] User mailboxes. [Status](https://github.com/sonrhq/core/issues/781)
- [ ] database subscriptions. [Status](https://github.com/sonrhq/core/issues/782)
- [ ] Matrix chat. [Status](https://github.com/sonrhq/core/issues/783)
- [x] IBC Integrations.
- [ ] Nomic. [Status](https://github.com/sonr-io/sonr/issues/784)
- [ ] Evmos. [Status](https://github.com/sonr-io/sonr/issues/785)
- [ ] Osmosis. [Status](https://github.com/sonr-io/sonr/issues/786)
- [ ] Nomic. [Status](https://github.com/sonrhq/core/issues/784)
- [ ] Evmos. [Status](https://github.com/sonrhq/core/issues/785)
- [ ] Osmosis. [Status](https://github.com/sonrhq/core/issues/786)
- [x] Smart Contracts. [__Docs__](https://sonr.io/docs/guides/storage)
- [ ] Typescript Client SDKs. [Status](https://github.com/sonr-io/front/milestone/2)
- [ ] Dashboard. [Status](https://github.com/sonr-io/front/milestone/1)
Expand All @@ -45,8 +45,8 @@ To see how to Contribute, visit [Getting Started](./docs/contribution/DEVELOPERS

## Community & Support

- [Forum](https://github.com/sonr-io/sonr/discussions)
- [Issues](https://github.com/sonr-io/sonr/issues)
- [Forum](https://github.com/sonrhq/core/discussions)
- [Issues](https://github.com/sonrhq/core/issues)
- [Twitter](https://sonr.io/twitter)
- [Dev Chat](https://sonr.io/discord)

Expand All @@ -57,7 +57,7 @@ To see how to Contribute, visit [Getting Started](./docs/contribution/DEVELOPERS
- [ ] __Public Testnet__: Stable for non-enterprise use. [Join it](https://sonr.io/dashboard).
- [ ] __Mainnet__: Coming soon. [Watch status](https://sonr.io/docs/guides/getting-started/features#feature-status).

We are currently in transitioning to Public Testnet. Watch [releases](https://github.com/sonr-io/sonr/releases) of this repo to get notified of major updates.
We are currently in transitioning to Public Testnet. Watch [releases](https://github.com/sonrhq/core/releases) of this repo to get notified of major updates.

## How it works

Expand Down Expand Up @@ -119,15 +119,15 @@ Our approach for client libraries is uniform. Abstract away any blockchain speci
<!-- notranslate -->
<tr>
<td>JavaScript (TypeScript)</td>
<td><a href="https://github.com/sonr-io/sonr-js" target="_blank" rel="noopener noreferrer">sonr-js</a></td>
<td><a href="https://github.com/sonrhq/core-js" target="_blank" rel="noopener noreferrer">sonr-js</a></td>
<td><a href="https://github.com/sonr-io/auth-js" target="_blank" rel="noopener noreferrer">auth-js</a></td>
<td><a href="https://github.com/sonr-io/database-js" target="_blank" rel="noopener noreferrer">database-js</a></td>
<td><a href="https://github.com/sonr-io/storage-js" target="_blank" rel="noopener noreferrer">storage-js</a></td>
<td><a href="https://github.com/sonr-io/wallet-js" target="_blank" rel="noopener noreferrer">wallet-js</a></td>
</tr>
<tr>
<td>Flutter</td>
<td><a href="https://github.com/sonr-io/sonr-flutter" target="_blank" rel="noopener noreferrer">sonr-flutter</a></td>
<td><a href="https://github.com/sonrhq/core-flutter" target="_blank" rel="noopener noreferrer">sonr-flutter</a></td>
<td><a href="https://github.com/sonr-io/auth-dart" target="_blank" rel="noopener noreferrer">auth-dart</a></td>
<td><a href="https://github.com/sonr-io/database-dart" target="_blank" rel="noopener noreferrer">database-dart</a></td>
<td><a href="https://github.com/sonr-io/storage-dart" target="_blank" rel="noopener noreferrer">storage-dart</a></td>
Expand Down
24 changes: 12 additions & 12 deletions app/app.go
Original file line number Diff line number Diff line change
Expand Up @@ -112,18 +112,18 @@ import (
solomachine "github.com/cosmos/ibc-go/v7/modules/light-clients/06-solomachine"
ibctm "github.com/cosmos/ibc-go/v7/modules/light-clients/07-tendermint"

appparams "github.com/sonr-io/sonr/app/params"
"github.com/sonr-io/sonr/docs"
"github.com/sonr-io/sonr/internal/highway"
domainmodule "github.com/sonr-io/sonr/x/domain"
domainmodulekeeper "github.com/sonr-io/sonr/x/domain/keeper"
domainmoduletypes "github.com/sonr-io/sonr/x/domain/types"
identitymodule "github.com/sonr-io/sonr/x/identity"
identitymodulekeeper "github.com/sonr-io/sonr/x/identity/keeper"
identitymoduletypes "github.com/sonr-io/sonr/x/identity/types"
servicemodule "github.com/sonr-io/sonr/x/service"
servicemodulekeeper "github.com/sonr-io/sonr/x/service/keeper"
servicemoduletypes "github.com/sonr-io/sonr/x/service/types"
appparams "github.com/sonrhq/core/app/params"
"github.com/sonrhq/core/docs"
"github.com/sonrhq/core/internal/highway"
domainmodule "github.com/sonrhq/core/x/domain"
domainmodulekeeper "github.com/sonrhq/core/x/domain/keeper"
domainmoduletypes "github.com/sonrhq/core/x/domain/types"
identitymodule "github.com/sonrhq/core/x/identity"
identitymodulekeeper "github.com/sonrhq/core/x/identity/keeper"
identitymoduletypes "github.com/sonrhq/core/x/identity/types"
servicemodule "github.com/sonrhq/core/x/service"
servicemodulekeeper "github.com/sonrhq/core/x/service/keeper"
servicemoduletypes "github.com/sonrhq/core/x/service/types"
"github.com/spf13/cast"
)

Expand Down
2 changes: 1 addition & 1 deletion app/encoding.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import (
"github.com/cosmos/cosmos-sdk/std"
"github.com/cosmos/cosmos-sdk/x/auth/tx"

"github.com/sonr-io/sonr/app/params"
"github.com/sonrhq/core/app/params"
)

// makeEncodingConfig creates an EncodingConfig for an amino based test configuration.
Expand Down
2 changes: 1 addition & 1 deletion cmd/sonrd/cmd/geninit.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ import (
"github.com/cosmos/cosmos-sdk/x/genutil"
"github.com/cosmos/go-bip39"
"github.com/pkg/errors"
"github.com/sonr-io/sonr/config"
"github.com/sonrhq/core/config"
"github.com/spf13/cobra"
)

Expand Down
10 changes: 5 additions & 5 deletions cmd/sonrd/cmd/plugin.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,11 @@ import (
"github.com/spf13/cobra"
flag "github.com/spf13/pflag"

pluginsconfig "github.com/sonr-io/sonr/config/plugins"
"github.com/sonr-io/sonr/pkg/clictx"
"github.com/sonr-io/sonr/pkg/cliui"
"github.com/sonr-io/sonr/pkg/cliui/icons"
"github.com/sonr-io/sonr/services/plugin"
pluginsconfig "github.com/sonrhq/core/config/plugins"
"github.com/sonrhq/core/pkg/clictx"
"github.com/sonrhq/core/pkg/cliui"
"github.com/sonrhq/core/pkg/cliui/icons"
"github.com/sonrhq/core/services/plugin"
)

const (
Expand Down
6 changes: 3 additions & 3 deletions cmd/sonrd/cmd/plugin_default.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@ import (

"github.com/spf13/cobra"

pluginsconfig "github.com/sonr-io/sonr/config/plugins"
"github.com/sonr-io/sonr/pkg/cliui"
"github.com/sonr-io/sonr/services/plugin"
pluginsconfig "github.com/sonrhq/core/config/plugins"
"github.com/sonrhq/core/pkg/cliui"
"github.com/sonrhq/core/services/plugin"
)

type defaultPlugin struct {
Expand Down
8 changes: 4 additions & 4 deletions cmd/sonrd/cmd/root.go
Original file line number Diff line number Diff line change
Expand Up @@ -43,10 +43,10 @@ import (
"github.com/spf13/pflag"
"github.com/spf13/viper"

"github.com/sonr-io/sonr/app"
appparams "github.com/sonr-io/sonr/app/params"
sonrdconfig "github.com/sonr-io/sonr/config"
"github.com/sonr-io/sonr/internal/highway"
"github.com/sonrhq/core/app"
appparams "github.com/sonrhq/core/app/params"
sonrdconfig "github.com/sonrhq/core/config"
"github.com/sonrhq/core/internal/highway"
)

var (
Expand Down
4 changes: 2 additions & 2 deletions cmd/sonrd/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ import (
"github.com/cosmos/cosmos-sdk/server"
svrcmd "github.com/cosmos/cosmos-sdk/server/cmd"

"github.com/sonr-io/sonr/app"
sonrcmd "github.com/sonr-io/sonr/cmd/sonrd/cmd"
"github.com/sonrhq/core/app"
sonrcmd "github.com/sonrhq/core/cmd/sonrd/cmd"
)

func main() {
Expand Down
4 changes: 2 additions & 2 deletions config/config.go
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
package config

import (
"github.com/sonr-io/sonr/pkg/env"
"github.com/sonr-io/sonr/pkg/xfilepath"
"github.com/sonrhq/core/pkg/env"
"github.com/sonrhq/core/pkg/xfilepath"
)

var c Config
Expand Down
4 changes: 2 additions & 2 deletions config/defaults.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import (
sdk "github.com/cosmos/cosmos-sdk/types"
"github.com/spf13/viper"

"github.com/sonr-io/sonr/app"
"github.com/sonrhq/core/app"
)

// Masthead is the masthead of the application.
Expand Down Expand Up @@ -32,7 +32,7 @@ MMMMMMMMMMMMMMWX0OkkO0XWMMMMMMMMMMMMMMMM
Sonr Node
> Sonr is an Encrypted & Private by default Identity Verification System for the IBC Protocol.
🌐 - https://sonr.io
🚀 - https://github.com/sonr-io/sonr
🚀 - https://github.com/sonrhq/core
`

const bip44_purpose = 44
Expand Down
2 changes: 1 addition & 1 deletion config/plugins/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import (
"golang.org/x/exp/slices"
"gopkg.in/yaml.v2"

"github.com/sonr-io/sonr/pkg/gomodule"
"github.com/sonrhq/core/pkg/gomodule"
)

type Config struct {
Expand Down
2 changes: 1 addition & 1 deletion config/plugins/config_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import (
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"

pluginsconfig "github.com/sonr-io/sonr/config/plugins"
pluginsconfig "github.com/sonrhq/core/config/plugins"
)

func TestPluginIsGlobal(t *testing.T) {
Expand Down
2 changes: 1 addition & 1 deletion docker/deploy/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ ARG RUNNER_IMAGE="debian:bullseye-slim"
# ! ||-----------------------------------------------------------------------------||
FROM ${RUNNER_IMAGE}

LABEL org.opencontainers.image.source https://github.com/sonr-io/sonr
LABEL org.opencontainers.image.source https://github.com/sonrhq/core
LABEL org.opencontainers.image.description "Sonr Validator node container"
# Copy sonrd binary and config
COPY ../bin/sonrd /usr/local/bin/sonrd
Expand Down
2 changes: 1 addition & 1 deletion docker/start/Dockerfile.dev
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ ARG RUNNER_IMAGE="alpine:3.16"
# ! ||----------------------------------------------------------------------------------||
FROM --platform=linux alpine

LABEL org.opencontainers.image.source https://github.com/sonr-io/sonr
LABEL org.opencontainers.image.source https://github.com/sonrhq/core
LABEL org.opencontainers.image.description "Base sonr daemon image"
# Copy sonrd binary and config
COPY ../bin/sonrd /usr/local/bin/sonrd
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/sonr-io/sonr
module github.com/sonrhq/core

go 1.21

Expand Down
2 changes: 1 addition & 1 deletion internal/crypto/credential.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import (

"github.com/go-webauthn/webauthn/protocol"

"github.com/sonr-io/sonr/types/crypto"
"github.com/sonrhq/core/types/crypto"
)

const (
Expand Down
2 changes: 1 addition & 1 deletion internal/crypto/crypto.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import (
mb "github.com/multiformats/go-multibase"
"github.com/multiformats/go-varint"
"github.com/shengdoushi/base58"
types "github.com/sonr-io/sonr/types/crypto"
types "github.com/sonrhq/core/types/crypto"
)

// Secp256k1PubKey is a type alias for secp256k1.PubKey in pkg/crypto/keys/secp256k1.
Expand Down
6 changes: 3 additions & 3 deletions internal/highway/handler/auth.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@ import (
"fmt"

"github.com/cosmos/cosmos-sdk/client"
mdw "github.com/sonr-io/sonr/internal/highway/middleware"
"github.com/sonr-io/sonr/internal/highway/types"
authenticationpb "github.com/sonr-io/sonr/types/highway/authentication/v1"
mdw "github.com/sonrhq/core/internal/highway/middleware"
"github.com/sonrhq/core/internal/highway/types"
authenticationpb "github.com/sonrhq/core/types/highway/authentication/v1"
emptypb "google.golang.org/protobuf/types/known/emptypb"
)

Expand Down
2 changes: 1 addition & 1 deletion internal/highway/handler/database.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package handler
import (
"context"

databasepb "github.com/sonr-io/sonr/types/highway/database/v1"
databasepb "github.com/sonrhq/core/types/highway/database/v1"
)

// DatabaseHandler is the handler for the authentication service
Expand Down
8 changes: 4 additions & 4 deletions internal/highway/handler/handler.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@ import (
"context"

"github.com/grpc-ecosystem/grpc-gateway/runtime"
authenticationpb "github.com/sonr-io/sonr/types/highway/authentication/v1"
databasepb "github.com/sonr-io/sonr/types/highway/database/v1"
storagepb "github.com/sonr-io/sonr/types/highway/storage/v1"
walletpb "github.com/sonr-io/sonr/types/highway/wallet/v1"
authenticationpb "github.com/sonrhq/core/types/highway/authentication/v1"
databasepb "github.com/sonrhq/core/types/highway/database/v1"
storagepb "github.com/sonrhq/core/types/highway/storage/v1"
walletpb "github.com/sonrhq/core/types/highway/wallet/v1"
)

// RegisterHandlers registers the Highway Service Server.
Expand Down
2 changes: 1 addition & 1 deletion internal/highway/handler/storage.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import (
"fmt"

"github.com/cosmos/cosmos-sdk/client"
storagepb "github.com/sonr-io/sonr/types/highway/storage/v1"
storagepb "github.com/sonrhq/core/types/highway/storage/v1"
)

// StorageHandler is the handler for the authentication service
Expand Down
6 changes: 3 additions & 3 deletions internal/highway/handler/wallet.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,10 @@ import (
"fmt"

"github.com/cosmos/cosmos-sdk/client"
"github.com/sonr-io/sonr/internal/crypto"
mdw "github.com/sonr-io/sonr/internal/highway/middleware"
"github.com/sonrhq/core/internal/crypto"
mdw "github.com/sonrhq/core/internal/highway/middleware"

walletpb "github.com/sonr-io/sonr/types/highway/wallet/v1"
walletpb "github.com/sonrhq/core/types/highway/wallet/v1"
)

// WalletAPI is the alias for the Highway Wallet Service Server.
Expand Down
Loading

0 comments on commit ae32923

Please sign in to comment.