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

NPM package basic sample does not resolve. #225

Open
ggcaponetto opened this issue May 31, 2023 · 0 comments
Open

NPM package basic sample does not resolve. #225

ggcaponetto opened this issue May 31, 2023 · 0 comments

Comments

@ggcaponetto
Copy link

By running the following snippet, I expect the promise to be resolved and to get exit code 0. The process outputs the info and hangs instead.

const cardanoAddresses = require('cardano-addresses')
const addr = 'addr1gqtnpvdhqrtpd4g424fcaq7k0ufuzyadt7djygf8qdyzevuph3wczvf2dwyx5u'

cardanoAddresses.inspectAddress(addr)
    .then(info => {
        console.log("got info:", info);
    }).catch(e => {
    console.log("something wrong happened:", e);
});

Any advice?

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

1 participant