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/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ jobs:
- name: Build binary
env:
GONOSUMDB: "github.com/TacBuild/*"
GOPROXY: "direct,https://proxy.golang.org"
GOPROXY: "https://proxy.golang.org,direct"
run: |
mkdir -p dist
make build-${{ matrix.goos }}-${{ matrix.goarch }}
Expand Down
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -82,10 +82,10 @@ build-windows-client: go.sum
GOOS=windows GOARCH=amd64 go build -mod=readonly $(BUILD_FLAGS) -o build/tacchaind.exe ./cmd/tacchaind

build-linux-amd64: go.sum
LEDGER_ENABLED=false GOOS=linux GOARCH=amd64 CGO_ENABLED=0 go build -mod=readonly $(BUILD_FLAGS) -o build/tacchaind-linux-amd64 ./cmd/tacchaind
GOOS=linux GOARCH=amd64 CGO_ENABLED=0 go build -mod=readonly $(BUILD_FLAGS) -o build/tacchaind-linux-amd64 ./cmd/tacchaind

build-linux-arm64: go.sum
LEDGER_ENABLED=false GOOS=linux GOARCH=arm64 CGO_ENABLED=0 go build -mod=readonly $(BUILD_FLAGS) -o build/tacchaind-linux-arm64 ./cmd/tacchaind
GOOS=linux GOARCH=arm64 CGO_ENABLED=0 go build -mod=readonly $(BUILD_FLAGS) -o build/tacchaind-linux-arm64 ./cmd/tacchaind

build-linux: build-linux-amd64 build-linux-arm64

Expand Down
26 changes: 24 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,10 +34,32 @@ docker run --rm -it tacchaind:latest tacchaind --help # example binary usage

### TAC Address Converter

Check our [tool](./contrib/tac-address-converter/) for converting between EVM <> TAC addresses deterministically.
Use the built-in `tacchaind debug addr` command to convert between EVM hex
addresses and TAC bech32 account addresses deterministically.

EVM -> TAC:

```sh
tacchaind debug addr 0x123456789abcdef0123456789abcdef012345678 --prefix tac
# Bech32 tac1zg69v7y6hn00qy352euf40x77qfrg4nchk34lw
```

TAC -> EVM:

```sh
tacchaind debug addr tac1zg69v7y6hn00qy352euf40x77qfrg4nchk34lw
# Address hex: 0x123456789aBCdef0123456789AbCDEF012345678
```

`debug addr` works offline and does not require a running node. The EVM output is
EIP-55 checksummed; the lower-case form is the same address. To inspect the
configured TAC bech32 prefixes, run:

```sh
tacchaind debug prefixes
```

### Learn more

- [Cosmos SDK docs](https://docs.cosmos.network)
- [CosmosEVM docs](https://evm.cosmos.network/)

Loading