[][src]Crate ether_lib

Functions

address_to_h160

address 转 web3::types::H160

get_private_key

根据私钥hex转换为ethereum_types的H256

private_to_address

私钥转address string

private_to_ethereum_types_h256

私钥 转 ethereum_types::H256

private_to_h160

私钥 转 web3::types::H160

private_to_u8_address

私钥 转 [u8;20] address

private_to_web3_h256

私钥 转 web3::types::H256

to_array20
to_array32

获得固定长度的数组

web3_to_ethereum_types_h160

将web3的 H160(Address)转换为 ethereum_types的H160

web3_to_ethereum_types_u256

将web3的 U256 转换为 ethereum_types的U256