Skip to content

Commit 805f07a

Browse files
authored
Merge pull request #1 from tempoxyz/zygis/fqdn-rename
fix: change package fqdn to tempoxyz/tempo-go
2 parents b9131b4 + a1b8bbe commit 805f07a

File tree

18 files changed

+38
-38
lines changed

18 files changed

+38
-38
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,6 @@ integration:
4242
# Start godoc server for viewing documentation
4343
docs:
4444
which godoc > /dev/null || (echo "Installing godoc..." && go install golang.org/x/tools/cmd/godoc@latest)
45-
echo "Documentation available at http://localhost:6060/pkg/github.com/tempo/tempo-go/"
45+
echo "Documentation available at http://localhost:6060/pkg/github.com/tempoxyz/tempo-go/"
4646
echo "Press Ctrl+C to stop the server"
4747
@godoc -http=:6060

README.md

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ Go SDK for building applications on [Tempo](https://tempo.xyz)
1414
## Installation
1515

1616
```bash
17-
go get github.com/tempo/tempo-go
17+
go get github.com/tempoxyz/tempo-go
1818
```
1919

2020
## Quick Start
@@ -27,9 +27,9 @@ import (
2727
"math/big"
2828

2929
"github.com/ethereum/go-ethereum/common"
30-
"github.com/tempo/tempo-go/pkg/client"
31-
"github.com/tempo/tempo-go/pkg/signer"
32-
"github.com/tempo/tempo-go/pkg/transaction"
30+
"github.com/tempoxyz/tempo-go/pkg/client"
31+
"github.com/tempoxyz/tempo-go/pkg/signer"
32+
"github.com/tempoxyz/tempo-go/pkg/transaction"
3333
)
3434

3535
func main() {
@@ -137,8 +137,8 @@ client.SendTransaction(tx)
137137
| Package | Description | Documentation |
138138
|---------|-------------|---------------|
139139
| `transaction` | TempoTransaction encoding, signing, and validation | [README](pkg/transaction/README.md) |
140-
| `client` | RPC client for interacting with Tempo nodes | [GoDoc](https://pkg.go.dev/github.com/tempo/tempo-go/pkg/client) |
141-
| `signer` | Key management and signature generation | [GoDoc](https://pkg.go.dev/github.com/tempo/tempo-go/pkg/signer) |
140+
| `client` | RPC client for interacting with Tempo nodes | [GoDoc](https://pkg.go.dev/github.com/tempoxyz/tempo-go/pkg/client) |
141+
| `signer` | Key management and signature generation | [GoDoc](https://pkg.go.dev/github.com/tempoxyz/tempo-go/pkg/signer) |
142142

143143
## Testing
144144

@@ -183,10 +183,10 @@ View documentation locally:
183183

184184
```bash
185185
make docs
186-
# Opens at http://localhost:6060/pkg/github.com/tempo/tempo-go/
186+
# Opens at http://localhost:6060/pkg/github.com/tempoxyz/tempo-go/
187187
```
188188

189-
Full API documentation is also available on [pkg.go.dev](https://pkg.go.dev/github.com/tempo/tempo-go).
189+
Full API documentation is also available on [pkg.go.dev](https://pkg.go.dev/github.com/tempoxyz/tempo-go).
190190

191191
## Development Setup
192192

@@ -198,7 +198,7 @@ Full API documentation is also available on [pkg.go.dev](https://pkg.go.dev/gith
198198
### Building
199199

200200
```bash
201-
git clone https://github.com/tempo/tempo-go.git
201+
git clone https://github.com/tempoxyz/tempo-go.git
202202
cd tempo-go
203203

204204
go mod download

examples/feepayer/cmd/main.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@ package main
33
import (
44
"log"
55

6-
"github.com/tempo/tempo-go/examples/feepayer/server"
7-
"github.com/tempo/tempo-go/pkg/client"
8-
"github.com/tempo/tempo-go/pkg/signer"
6+
"github.com/tempoxyz/tempo-go/examples/feepayer/server"
7+
"github.com/tempoxyz/tempo-go/pkg/client"
8+
"github.com/tempoxyz/tempo-go/pkg/signer"
99
)
1010

1111
func main() {

examples/feepayer/go.mod

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
1-
module github.com/tempo/tempo-go/examples/feepayer
1+
module github.com/tempoxyz/tempo-go/examples/feepayer
22

33
go 1.21
44

55
require (
66
github.com/joho/godotenv v1.5.1
7-
github.com/tempo/tempo-go v0.0.0
7+
github.com/tempoxyz/tempo-go v0.0.0
88
)
99

10-
replace github.com/tempo/tempo-go => ../..
10+
replace github.com/tempoxyz/tempo-go => ../..
1111

1212
require (
1313
github.com/btcsuite/btcd/btcec/v2 v2.2.0 // indirect

examples/feepayer/server/server.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,9 @@ import (
1212
"strings"
1313

1414
"github.com/joho/godotenv"
15-
"github.com/tempo/tempo-go/pkg/client"
16-
"github.com/tempo/tempo-go/pkg/signer"
17-
"github.com/tempo/tempo-go/pkg/transaction"
15+
"github.com/tempoxyz/tempo-go/pkg/client"
16+
"github.com/tempoxyz/tempo-go/pkg/signer"
17+
"github.com/tempoxyz/tempo-go/pkg/transaction"
1818
)
1919

2020
const (

examples/simple-send/main.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,9 @@ import (
88
"strconv"
99

1010
"github.com/ethereum/go-ethereum/common"
11-
"github.com/tempo/tempo-go/pkg/client"
12-
"github.com/tempo/tempo-go/pkg/signer"
13-
"github.com/tempo/tempo-go/pkg/transaction"
11+
"github.com/tempoxyz/tempo-go/pkg/client"
12+
"github.com/tempoxyz/tempo-go/pkg/signer"
13+
"github.com/tempoxyz/tempo-go/pkg/transaction"
1414
)
1515

1616
// getEnv gets an environment variable or returns a default value

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
module github.com/tempo/tempo-go
1+
module github.com/tempoxyz/tempo-go
22

33
go 1.21
44

pkg/transaction/deserialize.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ import (
88

99
"github.com/ethereum/go-ethereum/common"
1010
"github.com/ethereum/go-ethereum/rlp"
11-
"github.com/tempo/tempo-go/pkg/signer"
11+
"github.com/tempoxyz/tempo-go/pkg/signer"
1212
)
1313

1414
// Deserialize parses a serialized TempoTransaction.

pkg/transaction/example_test.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,9 @@ import (
77
"math/big"
88

99
"github.com/ethereum/go-ethereum/common"
10-
"github.com/tempo/tempo-go/pkg/client"
11-
"github.com/tempo/tempo-go/pkg/signer"
12-
"github.com/tempo/tempo-go/pkg/transaction"
10+
"github.com/tempoxyz/tempo-go/pkg/client"
11+
"github.com/tempoxyz/tempo-go/pkg/signer"
12+
"github.com/tempoxyz/tempo-go/pkg/transaction"
1313
)
1414

1515
// Example_simpleTransaction demonstrates creating, signing, and sending a simple transaction.

pkg/transaction/golden_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import (
66
"testing"
77

88
"github.com/stretchr/testify/assert"
9-
"github.com/tempo/tempo-go/pkg/signer"
9+
"github.com/tempoxyz/tempo-go/pkg/signer"
1010
)
1111

1212
// TestTempoGoldenFormat tests compatibility with tempo.ts transaction format

0 commit comments

Comments
 (0)