node-wallet-api
node-wallet-api copied to clipboard
Node Wallet API Wrapper for the Tron Protocol
Hi, I wanna know how to compute the transaction hash from a Transaction instance. I have tried ```javascript const hash = byteArray2hexStr(SHA256(tx.getRawData().serializeBinary())); ``` Because of [this implementation](https://github.com/tronprotocol/wallet-cli/blob/57e6ddc635270d7434fc39cb73cef305f774be5b/src/main/java/org/tron/walletserver/WalletClient.java#L289) in java-tron ```java...
Solve: https://github.com/tronprotocol/node-wallet-api/issues/6
**TypeError: Cannot read property 'getRawData' of undefined at HttpClient.getBlockByNum(http.js:70)**  
Currently, the @tronprotocol/node-wallet-api is bundling the source code AS IS. In order to be compatible with many platforms as possible would be very interesting to bundle the release in a...
fixes #2
* [ ] rpc GetAccount (Account) returns (Account) * [ ] rpc CreateTransaction (TransferContract) returns (Transaction) * [ ] rpc BroadcastTransaction (Transaction) returns (Return) * [ ] rpc ListAccounts (EmptyMessage)...
Add a client which communicates with the REST API of the `wallet-cli` project