gosdk icon indicating copy to clipboard operation
gosdk copied to clipboard

A client SDK in Go to interface the blockchain and storage platform, and other smart contracts

Results 69 gosdk issues
Sort by recently updated
recently updated
newest added

### Changes - Add `file_options` and `third_party_extendable` to Allocation type + parameters in the add allocation functions ### Fixes - #686 ### Tests Tasks to complete before merging PR: -...

### Changes - added zcncore.CryptoJsEcnrypt and CryptoJsDecrypt. they can work with crypto-js library ### Fixes - added unit tests for zcncore/Encrypt and zcncore/Decrypt ### Tests Tasks to complete before merging...

Changes to the allocation related to this issue [0chain/0chain#828](https://github.com/0chain/0chain/issues/828) which is mainly to add the following field to Alloaction 1. `is_immutable` (if not found) 2. `third_party_extendable` 3. `file_options` and account...

### Changes - Support new fields added to the response returned by `getBlobber`, `getBlobbers`, `getValidator` and `getValidators`. ### Fixes - ### Tests Tasks to complete before merging PR: - [...

### Changes This PR is implementation of https://github.com/0chain/gosdk/issues/570. It has added few fields in writemarker and also uses fileMetaRoot to determine if all the blobbers are in sync with each...

### Changes - show reason for failure ``` ✗ zbox upload --silent --wallet wallet2.json --allocation 50a427bf3fefd09d7ac9fada8593b1f6b5757d5d843d77febfd65a9d17e7a583 --localpath ./go.sum --remotepath /go.sum 0 / 65721 [--------------------------------------------------------------------------------------------------------------------------------------] 0.00% 0s Error in file operation:...

### Changes - zcncore SDK method to calculate the suggested chain fee. ### Fixes - ### Tests Tasks to complete before merging PR: - [ ] Ensure system tests are...

### steps to reproduce: first try to upload a file, during the upload operation, cancel the upload ``` ./zbox upload --localpath /Users/manohar/Downloads/AdvancedDataManagement_18_2021.pdf --remotepath /new229/mgmt.pdf --allocation 50c6ab435ba15a420f6f6cf14eb77405f330dd83a20b7783be40696a85039473 0chain-core-sdk [INFO] 2022/10/01 13:17:59.740640...

Gosdk makes transactions with 0 fees, it won't work on mainnet. E.g: ``` func smartContractTxnValue(sn transaction.SmartContractTxnData, value int64) (hash, out string, err error) { return smartContractTxnValueFee(sn, value, 0) } ```...

mainnet

This is a limitation of GoSDK that it can only have one client. Figure out a solution to this make GoSDK scalable.

post-mainnet