codechain-sdk-js icon indicating copy to clipboard operation
codechain-sdk-js copied to clipboard

CodeChain JavaScript SDK

Results 39 codechain-sdk-js issues
Sort by recently updated
recently updated
newest added

`#https://github.com/CodeChain-io/codechain-sdk-js/blob/914417897115bb971e5c58bf3ee6295f804e5bd6/src/core/transaction/MintAsset.ts#L55` @redongjun @qdigital

The type of params in the createStoreTransaction in the document is `object | object`. ![image](https://user-images.githubusercontent.com/709900/92458718-be9b6c00-f200-11ea-927d-542159dd8e06.png) But the code has much information in the comments and the type is not object:...

Assuming `tc` as default `networkID` is not problem. But in the first example code of [codechain sdk document](https://api.codechain.io/2.0.1/index.html), `networkID` is not specified while constructing SDK object. This might cause confusion...

`BLKNUM` (0xa0) should be removed. Related issue: https://github.com/CodeChain-io/codechain/pull/1836

good first issue

We need a high-level script language that is similar to [Ivy](https://docs.ivy-lang.org/bitcoin/language/) for ease of writing scripts.

experimental

Latest LTS is nodejs 10. It supports up to ES2017 and ES2017 supports async/await natively. Then we can leverage nodejs 12's `async-stack-traces` to debug our code.

For consistency with other core classes, Deprecate - fromJSONToTransaction() - fromJSONToSignedTransaction() and add - Transaction.fromJSON() - SignedTransaction.fromJSON()

enhancement

It's possible that the transaction already has fee and seq.