Last active
May 31, 2023 17:36
-
-
Save svanas/5aa7e77699a4de1af610d6079af5b8a0 to your computer and use it in GitHub Desktop.
Generating an Ethereum-signed message signature in Delphi
This file contains 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
procedure TForm1.Button1Click(Sender: TObject); | |
begin | |
ShowMessage( | |
web3.eth.crypto.sign( | |
TPrivateKey('b5b1870957d373ef0eeffecc6e4812c0fd08f554b37b233526acc331bf1544f7'), | |
'Hello, World!' | |
).ToHex | |
); | |
end; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment