daily pastebin goal
6%
SHARE
TWEET

Untitled

a guest Oct 16th, 2018 68 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. function signMessage(hash) {
  2.     return new Promise((resolve, reject) => {
  3.         web3.personal.sign(hash, web3.eth.defaultAccount, (err, result) => {
  4.             if(err) return reject(err)
  5.             resolve(result)
  6.         })
  7.     })
  8. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top