Created
May 15, 2018 02:21
-
-
Save Suhail/25f3357e3f80bbaa4fff0cb25be8790c to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var c = '0x592ea8777e0fd82a928bb24a40353ad86792375c' | |
var key = '0000000000000000000000000000000000000000000000000000000000000000'; | |
var index_key = web3.sha3('myname').split('0x')[1] | |
var newKey = web3.sha3(key + index_key, {'encoding': 'hex'}); | |
var d = web3.eth.getStorageAt(c, newKey); | |
console.log(d); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment