nebulasio / WebExtensionWallet

170 stars 58 forks source link

"Amount to Send" unit is wrong #12

Closed woniesong92 closed 6 years ago

woniesong92 commented 6 years ago

image

To reproduce:

const nebPay = new NebPay()
const value = "1000000"
const callFunction = "anyFunction"
const callArgs = JSON.stringify([idx])
const opts = {
}

nebPay.call(
  CONTRACT_ADDRESS,
  value,
  callFunction,
  callArgs,
  opts
)

The first time extension popup is open, the unit for value is wrong.

yupnano commented 6 years ago

Thanks for your feedback, we will fix this bug later.

yupnano commented 6 years ago

This bug has fixed, thanks.

woniesong92 commented 6 years ago

Nice, do you need help with other things by the way?

yupnano commented 6 years ago

Do you have interest in developing a browser extension like metamask for Ethereum?

woniesong92 commented 6 years ago

@yupnano sure, I have experience with building Chrome extensions (e.g. https://howonsong.com/work/instantmusic)