Zondax / filecoin-solidity

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

How to get raw bytes format of filecoin address? #350

Closed Sunnight-wj closed 1 year ago

Sunnight-wj commented 1 year ago

i want to test send function by filAddress using SendAPI, but i don't kown how to convert human readable format to raw bytes format of filecoin address.is there any js or ts library to do this?

:link: zboto Link

emmanuelm41 commented 1 year ago

@Sunnight-wj yes, we have this library for that, and much more. You can check the readme!

https://github.com/Zondax/izari-tools#addresses

emmanuelm41 commented 1 year ago

Please, feel free to ask anything else, or close the issue if the answer is enough!

Sunnight-wj commented 1 year ago

thanks, it's enough! i will close this issue.

Sunnight-wj commented 1 year ago

en...package @zondax/beryx-tools-filecoin not found in npmjs: https://www.npmjs.com/search?q=%40zondax%2Fberyx-tools-filecoin. it's fine to use git address to install.

emmanuelm41 commented 1 year ago

@Sunnight-wj sorry for the inconvenience. It is published here https://www.npmjs.com/package/@zondax/izari-tools. For now that will be the package!