javascript-sdk
javascript-sdk copied to clipboard
Javascript SDK to communicate with BNB Beacon Chain.
Hi team! I have updated "@binance-chain/javascript-sdk" ver v3 (3.0.2) to ver v4 (4.1.1). However, it looks like `TokenManagement` is not able to import correctly. I have tried both `import {TokenManagement}...
Typo in some methods using mneomnic instead of mnemonic: client.createAccountWithMneomnic() client.recoverAccountFromMneomnic(mnemonic)
使用sdk连接普通结点获取交易,交易memo存在,解析memo为空。 ``` let binance = require('@binance-chain/javascript-sdk') let RpcClient = binance.rpc let client = new RpcClient('https://data-seed-pre-0-s3.binance.org', 'testnet') async function main () { let txid = '0371CE1C96C63A2C49162E458BFB8D7F55A57A92D62C8544E8839AFC3D55CF09' const result = await client.getTxByHash(txid,...
const res = await bnbClient.swap.claimHTLT() signature verification failed
Hello, I started having this error after updating the library: ``` Error: chain id should not be null\n at new Transaction (/var/app/current/programs/server/npm/node_modules/@binance-chain/javascript-sdk/lib/tx/index.js:62:13) ``` Then found out that the parameter in...
I shouldn't need to install libudev-dev, libusb-dev and usbutils when I don't want Ledger support. For now I had to fork this repo and eliminate all Ledger-related code so I...
With BNB SDK it is possible to create private keys for multiple blockchains (derivation). However there must be an option to store ecnrypted mnemonic. It is possible to store it...
Does it support multisig account? If yes how to proceed?
## Issue Right now, if you call the [rpc methods](https://github.com/binance-chain/javascript-sdk/blob/4a362a75b077795574902e3f43a261d37f7f2df6/src/rpc/index.js#L151), the returned valued is raw and need extra codes for decoding. ## Possible Solution Improve the functions, like [getAccount ](https://github.com/binance-chain/javascript-sdk/blob/master/src/rpc/client.js#L123)....