BlockApps bloc - extract private key

andrasandras Posts: 14Member
I am trying to use blockapps-js to invoke functions on my smart contract deployed in blockapps. Since I need the private key for it, I am looking at the app/users/admin/.json file. Problem is I cannot figure out which of these fields to use. Is it encPrivKeys.key? My code is not working yet, and am trying to figure out whether that is the cause.

{
"encSeed": {
"encStr": "...",
"iv": "...",
"salt": "..."
},
"encHdRootPriv": {
"encStr": "...",
"iv": "",
"salt": ""
},
"hdIndex": 1,
"encPrivKeys": {
"": {
"key": "...",
"iv": "",
"salt": ""
}
},
"addresses": ["..."],
"keyHash": "...",
"salt": {
"words": [, -,,],
"sigBytes": 16
}
}

Best Answer

Sign In or Register to comment.