Converts any address to a 0x address, either id masked address or eth address depending on the address type. Delegated addresses convert to eth address and f1, f2, f3 convert to id masked address and f0 depends on the underline address type
Convert address to ID masked 0x address
To convert to an eth address you problably should use to0x
Get robust address from public key address
Static
fromStatic
fromStatic
from
ID Address f0..
Protocol 0 addresses are simple IDs. All actors have a numeric ID even if they don’t have public keys. The payload of an ID address is base10 encoded. IDs are not hashed and do not have a checksum.
See
https://spec.filecoin.io/appendix/address/#section-appendix.address.protocol-0-ids
Implements