filecoin_address 1.1.1
filecoin_address: ^1.1.1 copied to clipboard
Filecoin address utils, suport all address types.
Filecoin Address #
Usage #
Eth address to f4 address
final address = '0xd4c5fb16488aa48081296299d54b0c648c9333da';
final ethAddress = FilEthAddress.fromEthString(address);
print(ethAddress.toString());
f4 address to Eth address
final address = 'f410f2tc7wfsirksibajjmkm5ksymmsgjgm62hjnomwa';
final ethAddress = FilEthAddress.fromString(address);
print(ethAddress.toEthString());