Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func EtherAddressToCfxAddress ¶
func EtherAddressToCfxAddress(ethAddr common.Address, isContract bool, networkID uint32) cfxaddress.Address
EtherAddressToCfxAddress converts an ethereum address to a cfx address, it will change top 4 bit of eth address to 0b0001
func PubkeyToAddress ¶
func PubkeyToAddress(publicKey string, networkId uint32) (cfxaddress.Address, error)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.