SHARE
TWEET

Untitled

a guest Jul 22nd, 2019 57 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. Minhs-MacBook-Pro:nodejs minhdoan$ ls
  2. contracts   index.js    testContract.js testGanache.js  testNode.js testSign.js testWallet.js
  3. Minhs-MacBook-Pro:nodejs minhdoan$ node testSign.js
  4. ---------------------------------------------------------------------
  5. ==> Log: senderBalance
  6. ---------------------------------------------------------------------
  7.  
  8. 0x56bc75e2d63100000
  9.  
  10. ---------------------------------------------------------------------
  11. ==> Log: Signed Transation
  12. ---------------------------------------------------------------------
  13.  
  14. { id: '0x',
  15.   from: '0xd2cb501b40d3a9a013a38267a4d2a4cf6bd2caa8',
  16.   nonce: 0,
  17.   gasPrice: <BN: 0>,
  18.   gasLimit: <BN: 5208>,
  19.   shardID: 0,
  20.   to: '0x10A02A0a6e95a676AE23e2db04BEa3D1B8b7ca2E',
  21.   value: <BN: de0b6b3a7640000>,
  22.   data: '0x',
  23.   chainId: 0,
  24.   txnHash:
  25.    '0xf8688080825208809410a02a0a6e95a676ae23e2db04bea3d1b8b7ca2e880de0b6b3a7640000801ca085c30c8929ad6c7a9b6ad7d03d120aa98bc9b055da232b611d382986cbed78f9a07785296d19233fad8585de3c4b1b5af3440d435a9501b70340425ebf16491141',
  26.   unsignedTxnHash:
  27.    '0xe58080825208809410a02a0a6e95a676ae23e2db04bea3d1b8b7ca2e880de0b6b3a764000080',
  28.   signature:
  29.    { recoveryParam: 1,
  30.      r:
  31.       '0x85c30c8929ad6c7a9b6ad7d03d120aa98bc9b055da232b611d382986cbed78f9',
  32.      s:
  33.       '0x7785296d19233fad8585de3c4b1b5af3440d435a9501b70340425ebf16491141',
  34.      v: 28 } }
  35.  
  36. (node:4707) [DEP0079] DeprecationWarning: Custom inspection function on Objects via .inspect() is deprecated
  37. ---------------------------------------------------------------------
  38. ==> Log: Transaction Hash
  39. ---------------------------------------------------------------------
  40.  
  41. transaction failed:rlp: input string too long for uint32, decoding into (types.Transaction)(types.txdata).ToShardID
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
Not a member of Pastebin yet?
Sign Up, it unlocks many cool features!
 
Top