centerprime/BinanceSmartChain-Android-SDK

BNB methods

Closed this issue · 1 comments

maxxx commented

Hi! BinanceManager has method "sendBNB", but the code and comment looks like it's about sending Ether -

so is it really for send BNB? Tried sending with 'sendToken' and contract address 0xB8c77482e45F1F44dE1745F52C74426C631bDD52 - contract is empty

edit: same for getBNBBalance, it works as BNB but comments and code about Ether

Hi! To send a BNB, you must first import your wallet using the importFromKeystore or importFromPrivateKey functions. By the way, the comments have been corrected. Feel free to reopen the issue, if you still need help. 👍