gosdk
gosdk copied to clipboard
A client SDK in Go to interface the blockchain and storage platform, and other smart contracts
1. Have an API call to allow users to read in a config file and return it to the user. 2. Add an extra parameter to API to pass a...
https://github.com/0chain/gosdk/blame/staging/zcncore/transaction.go#L796 https://github.com/0chain/gosdk/blame/staging/zcncore/transaction.go#L516 https://github.com/0chain/gosdk/blame/staging/zcncore/transaction.go#L680 Above overwriting seems erroneous. `numSharders` argument is passed but it is overwritten in suspicious manner.
We have errors [repo](https://github.com/0chain/errors). Its error format is: ``` type Error struct { Code string `json:"code,omitempty"` Msg string `json:"msg"` } ``` In gosdk this structure should be used everywhere possible...
Add `gosdk` API wrappers to an interface object. Similar to [TransactionScheme](https://github.com/0chain/gosdk/blob/master/zcncore/transaction.go#L85) but for zboxcore/sdk.. This would help for 3rd party applications, like `zbox` and `zwallet`, that use `gosdk`. They could...
- download fragments by chunks in parallel requests (not `Chunk` on [Protocols](https://github.com/0chain/blobber/wiki/Protocols#what-is-fixedmerkletree)). It is https://developer.mozilla.org/en-US/docs/Web/HTTP/Range_requests - download fragments in parallel requests from blobbers - resume a download of a file...
### Changes - ### Fixes - ### Tests Tasks to complete before merging PR: - [ ] Ensure system tests are passing. If not [Run them manually](https://github.com/0chain/gosdk/actions/workflows/system_tests.yml) to check for...
### Changes - ### Fixes - ### Tests Tasks to complete before merging PR: - [ ] Ensure system tests are passing. If not [Run them manually](https://github.com/0chain/gosdk/actions/workflows/system_tests.yml) to check for...
### Changes - Generate thumbnail for given image. Decodes the given byte array to the image type. The thumbnail image is encoded in `jpeg` format. - Supported image format (decoding):...
### Changes - ### Fixes - ### Tests Tasks to complete before merging PR: - [ ] Ensure system tests are passing. If not [Run them manually](https://github.com/0chain/gosdk/actions/workflows/system_tests.yml) to check for...