svanas / delphereum

web3 implementation for the Delphi programming language
Other
134 stars 50 forks source link

Update web3.eth.pas #3

Closed Xor-el closed 5 years ago

Xor-el commented 5 years ago

taking into consideration that we can calculate "V" without the chainID as described here

using this test parameters Private Key: 'b5b1870957d373ef0eeffecc6e4812c0fd08f554b37b233526acc331bf1544f7' Message: 'wee test message 18/09/2017 02:55PM'

will produce a signature of '0xF2ED5AF7EF0308108F4B143056D5D5FF53D3600107D21456B8C0CC82DE49DCD367E1A99ED76C50115F5162A55AA123CA4FB993A462E2E6B57B7E9F788A67CBB51C'

which verifies correctly on etherscan.io/verifySig using the below test address address: '0x12890d2cce102216644c59dae5baed380d84830c'