Symmetric and private keys can be set in whisper

This commit is contained in:
Richard Ramos 2018-07-16 10:23:11 -04:00 committed by Iuri Matias
parent 38ab033b7e
commit e7443a76e1
2 changed files with 14 additions and 0 deletions

View File

@ -8,6 +8,13 @@ module.exports = {
port: 8546, // Port of the blockchain node
type: "ws" // Type of connection (ws or rpc)
}
// Use this section when you need a specific symmetric or private keys in whisper
/*
,keys: {
symmetricKey: "your_symmetric_key",// Symmetric key for message decryption
privateKey: "your_private_key" // Private Key to be used as a signing key and for message decryption
}
*/
}
};

View File

@ -8,5 +8,12 @@ module.exports = {
port: 8546, // Port of the blockchain node
type: "ws" // Type of connection (ws or rpc)
}
// Use this section when you need a specific symmetric or private keys in whisper
/*
,keys: {
symmetricKey: "your_symmetric_key",// Symmetric key for message decryption
privateKey: "your_private_key" // Private Key to be used as a signing key and for message decryption
}
*/
}
};