I receive this error with both TestNet and DevNet. ([UPDATE] probably didn't tried TestNet initially)
With MainNet it works!
NotConnectedError: unable to verify the first certificate next_tick.js:68
(node:14088) [DEP0079] DeprecationWarning: Custom inspection function on Objects via .inspect() is deprecated warning.js:18
"use strict"
const RippleAPI = require("ripple-lib").RippleAPI
const api = new RippleAPI({
server: "wss://s.devnet.rippletest.net:51233" // DevNet
})
api.connect().then(
() => {
const accountAddress = "raDU6KUdVNt1t**********8wwftPp7MG" // DevNet (obscured)
let info = api.getAccountInfo(accountAddress)
return info
}
).then((info) => {
console.log(info)
return api.disconnect()
}).catch(console.error)
ripple-lib version 1.3.4
Node version: 10.7.0
Windows 10 x64
run with VS Code
I receive this error with both TestNet and DevNet. ([UPDATE] probably didn't tried TestNet initially) With MainNet it works!
ripple-lib version 1.3.4 Node version: 10.7.0 Windows 10 x64
run with VS Code