blockchainethereumsmart-contractssoliditytutorialdappweb3ethtruffleweb3jstransactionsigntransactionsignaturesign-datasignpublickeyprivatekeyethereum-identityencryptioncipher
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
1.4 KiB
1.4 KiB
Case
Issue
Info
- Environment: (Node.js/browser/electron/etc..)
- Adapter: (IndexedDB/Localstorage/LevelDB/etc..)
- Stack: (Typescript, Babel, Angular, React, etc..)
Code
const messageHash = EthCrypto.hash.keccak256(message);
const signature = EthCrypto.sign(testData.privateKey, messageHash);
/* ... */