vechain-sdk-js
vechain-sdk-js copied to clipboard
The official JavaScript SDK for vechain.
Files to modify - [ ] xxx.ts - [ ] yyy.ts
Thor v2.1.3 introduces support for a newly supported revision `next` which is the `best block` + 1. It should be used when estimating clauses. `POST /accounts/*` should now be `POST...
### Summary It would be nice if getAccount returned a class or an object with some utility functions built in so it is easier to debug and read account balances...
Expand the multiple clauses transaction execution to support: - transaction options - raw clauses Es: ```typescript /* setup env */ const thor = ThorClient.fromUrl('https://testnet.vechain.org'); const randomSigner = new VeChainPrivateKeySigner(secp256k1.generatePrivateKey(), thor);...
### Description When accessing `eth_getTransactionCount` on the RPC Mapper, there is a random number returned at all times. https://github.com/vechain/vechain-sdk-js/blob/630d4028096de84d82ea2176985c086cfd9acb03/packages/network/src/provider/utils/rpc-mapper/methods-map/methods/eth_getTransactionCount/eth_getTransactionCount.ts#L46 This might be sufficient for applications using only the number or...
Currently. all the filters parameters must be set by hand. We need some defaults value that let eveything to work out of the box. In particular: ``` range: { unit:...
### Summary Current status is that to use KMS you should pass the private key to the SDK making KMS useless. ### Basic Example I would like to give to...
Write some examples to - [x] Example 1: - introduce the `Txt` class to represent strings, assuring it representation as byte array is consistent across JS runtimes - introduce the...