celestiaorg / go-cnc

celestia-node REST client in Go.
Apache License 2.0
15 stars 8 forks source link

Implement `Balance` method #8

Open tzdybal opened 2 years ago

tzdybal commented 2 years ago

Balance method needs to be implemented.

Specs: https://docs.celestia.org/developers/node-api/#get-balance

Type returned by celestia-node (Coin from cosmos-sdk) is so small, that it can be simply created locally, without introducing dependency on cosmos-sdk.

Regis-Caelum commented 2 years ago

Hey @tzdybal, I would like to take this one.

Regis-Caelum commented 2 years ago

Hey, @tzdybal I implemented the proposed method, let me know of the changes in the PR, if any.