cardano-addresses
cardano-addresses copied to clipboard
NPM package basic sample does not resolve.
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?