Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

latest package - ADDRESS () fromB58 is not exposed object #344

Open
jasonmacaus opened this issue Nov 21, 2022 · 1 comment
Open

latest package - ADDRESS () fromB58 is not exposed object #344

jasonmacaus opened this issue Nov 21, 2022 · 1 comment

Comments

@jasonmacaus
Copy link

jasonmacaus commented Nov 21, 2022

Starting from 4.0.0 it seems the ADDRESS object is not available in the below stage.

const { Keypair, Address } = require('@helium/crypto');

It can be required directly when @helium/address is installed, but the object behaves differently to the object in 3.x (which the readme seems to be still using) and crucially fromB58 function is not accessible.

Can you please let us know the workaround or new process for accessing the fromB58 function that the ADDRESS object is used for.

@jasonmacaus jasonmacaus changed the title latest package - ADDRESS is not exposed object latest package - ADDRESS () fromB58 is not exposed object Nov 21, 2022
@andreiguzga
Copy link

Can you share a example of how you are using the Address?

I am using it like this and it works for me

import Address from '@helium/address'; Address.fromB58('wallet address')

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants