Zondax / filecoin-solidity

Filecoin Solidity API Library
Apache License 2.0
94 stars 43 forks source link

Add tooling to convert eth addresses and filecoin string addresses to byte formats #227

Closed shrenujbansal closed 1 year ago

shrenujbansal commented 1 year ago

Certain APIs like addBalance, getBalance in MarketAPI.sol require byte formats of filecoin addresses as input Could you please add some tooling to convert Eth addresses and filecoin string addresses to the input byte formats required by these APIs as those are the addresses most people deal with? If this already exists, could you point me to it?

:link: zboto Link

rllola commented 1 year ago

Hi! We have a library that does the address conversion from string to bytes : https://github.com/Zondax/filecoin-signing-tools

shrenujbansal commented 1 year ago

@rllola Could you please point me to the specific place in the library where you have these tools?