web3.swift
web3.swift copied to clipboard
Public and private keys are longer than those created with Geth
Creating account with EthereumAccount.create(...) generates public key of 64 bytes size and private key of 425 bytes size. Dealing with them results in invalid public address. Meanwhile, creating Ethereium account with Geth produces the keys of 20 and 32 bytes respectively. Are the longer versions of the keys valid as well as the shorter ones?