mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-12-23 09:52:26 +01:00
Implement `eth_decrypt` and `eth_getEncryptionPublicKey`. This allows decryption backed by the user's private key. The message decryption uses a confirmation flow similar to the messaging signing flow, where the message to be decrypted is also able to be decrypted inline for the user to read directly before confirming.
71 lines
2.0 KiB
JSON
71 lines
2.0 KiB
JSON
{ "isInitialized": true,
|
|
"provider": { "type": "rpc", "rpcTarget": "http://localhost:8545" },
|
|
"network": "loading",
|
|
"accounts": {
|
|
"0x0dcd5d886577d5081b0c52e242ef29e70be3e7bc": {
|
|
"address": "0x0dcd5d886577d5081b0c52e242ef29e70be3e7bc",
|
|
"balance": "0x0"
|
|
},
|
|
"0xec1adf982415d2ef5ec55899b9bfb8bc0f29251b": {
|
|
"address": "0xec1adf982415d2ef5ec55899b9bfb8bc0f29251b",
|
|
"balance": "0x0"
|
|
}
|
|
},
|
|
"currentBlockGasLimit": "",
|
|
"unapprovedTxs": {},
|
|
"selectedAddressTxList": [],
|
|
"unapprovedMsgs": {},
|
|
"unapprovedMsgCount": 0,
|
|
"unapprovedPersonalMsgs": {},
|
|
"unapprovedPersonalMsgCount": 0,
|
|
"unapprovedDecryptMsgs": {},
|
|
"unapprovedDecryptMsgCount": 0,
|
|
"unapprovedTypedMessages": {},
|
|
"unapprovedTypedMessagesCount": 0,
|
|
"isUnlocked": true,
|
|
"keyringTypes": [ "Simple Key Pair", "HD Key Tree" ],
|
|
"keyrings":[
|
|
{ "type": "HD Key Tree",
|
|
"accounts": [
|
|
"0x0dcd5d886577d5081b0c52e242ef29e70be3e7bc"
|
|
]
|
|
},
|
|
{
|
|
"type": "Simple Key Pair",
|
|
"accounts": [
|
|
"0xec1adf982415d2ef5ec55899b9bfb8bc0f29251b"
|
|
]
|
|
}
|
|
],
|
|
"frequentRpcList": [],
|
|
"currentAccountTab": "history",
|
|
"tokens": [],
|
|
"useBlockie": false,
|
|
"featureFlags": {},
|
|
"currentLocale": null,
|
|
"identities": {
|
|
"0x0dcd5d886577d5081b0c52e242ef29e70be3e7bc": {
|
|
"name": "Account 1",
|
|
"address": "0x0dcd5d886577d5081b0c52e242ef29e70be3e7bc"
|
|
},
|
|
"0xec1adf982415d2ef5ec55899b9bfb8bc0f29251b": {
|
|
"name": "Account 2",
|
|
"address": "0xec1adf982415d2ef5ec55899b9bfb8bc0f29251b"
|
|
}
|
|
},
|
|
|
|
"lostIdentities": {},
|
|
"selectedAddress": "0x0dcd5d886577d5081b0c52e242ef29e70be3e7bc",
|
|
"recentBlocks": [],
|
|
"addressBook": [],
|
|
"currentCurrency": "usd",
|
|
"conversionRate": 288.45,
|
|
"conversionDate": 1506444677,
|
|
"nextUnreadNotice": null,
|
|
"noActiveNotices": true,
|
|
"shapeShiftTxList": [],
|
|
"infuraNetworkStatus": {},
|
|
"seedWords": "debris dizzy just program just float decrease vacant alarm reduce speak stadium",
|
|
"forgottenPassword": null
|
|
}
|