How to generate Ethereum address with lower and upper case from public key ( checksum address ) on esp32 with C/C++?

Viewed 27

I have esp32 and PN532 contactless reader. I already developed get public key from NFC card with pn532 library and some crypto libraries.

I already done Keccak256 to the public key

The thing is I can't generate the Ethereum address from Keccak value with lower and uppercase letter

I found ethereum_address_checksum function from web3E library for esp32 in address.h https://github.com/AlphaWallet/Web3E/blob/master/src/Trezor/address.h
but it doesn't have definition for that function
also found ethers_addressToChecksumAddress function from ether.h in firefly wllet library

https://github.com/firefly/wallet/blob/master/source/libs/ethers/src/ethers.h

but I can't get the proper address with lower and upper case from that function

How do I generate a checksum Address from esp32 with C/C++?

0 Answers
Related