go-cnc
go-cnc copied to clipboard
celestia-node REST client in Go.
[`SubmitTx`](https://github.com/celestiaorg/go-cnc/blob/76fd1e3ad9062cdf9175b644a76778c8c0d92df3/client.go#L42) needs to be implemented. It's similar to `SubmitPFD`. Specs: https://docs.celestia.org/developers/node-api/#post-submit_tx Type returned by celestia-node is [`TxResponse`](https://github.com/celestiaorg/go-cnc/blob/76fd1e3ad9062cdf9175b644a76778c8c0d92df3/types.go#L21).
[`Balance`](https://github.com/celestiaorg/go-cnc/blob/76fd1e3ad9062cdf9175b644a76778c8c0d92df3/client.go#L37) method needs to be implemented. Specs: https://docs.celestia.org/developers/node-api/#get-balance Type returned by celestia-node ([`Coin`](https://github.com/cosmos/cosmos-sdk/blob/61a97ef3475d04364fe7d1836dc7385f83f52b5b/proto/cosmos/base/v1beta1/coin.proto#L14) from cosmos-sdk) is so small, that it can be simply created locally, without introducing dependency on cosmos-sdk.
`godoc` comments needs to be added to all public methods.
[`Header`](https://github.com/celestiaorg/go-cnc/blob/76fd1e3ad9062cdf9175b644a76778c8c0d92df3/client.go#L32) method needs to be implemented. Specs: https://docs.celestia.org/developers/node-api#get-headerheight Type returned by celestia-node is generated from [protobuf definition](https://github.com/celestiaorg/celestia-node/blob/main/header/pb/extended_header.proto). All protobuf definitions should be copied into this repository, instead of introducing a...
Few badges should be added to README.md - [ ] Build status - [ ] godoc.org / pkg.go.dev - [ ] goreportcard.com - [ ] Twitter badge
Bumps [golangci/golangci-lint-action](https://github.com/golangci/golangci-lint-action) from 3.4.0 to 6.1.1. Release notes Sourced from golangci/golangci-lint-action's releases. v6.1.1 What's Changed Changes fix: clean go install output by @ldez in golangci/golangci-lint-action#1102 Documentation docs: update README.md to...
Bumps [github.com/go-resty/resty/v2](https://github.com/go-resty/resty) from 2.7.0 to 2.15.3. Release notes Sourced from github.com/go-resty/resty/v2's releases. v2.15.3 Release Notes Bug Fixes fix: 'invalid memory address or nil pointer dereference' in response logger by @matlockx...
Bumps [github.com/testcontainers/testcontainers-go](https://github.com/testcontainers/testcontainers-go) from 0.15.0 to 0.33.0. Release notes Sourced from github.com/testcontainers/testcontainers-go's releases. v0.33.0 What's Changed ⚠️ Breaking Changes fix!: docker authentication setup (#2727) @stevenh If you are building Docker images...