Closed aleeusgr closed 1 year ago
FAIL tests/lucid.test.js [ tests/lucid.test.js ]
TypeError: Cannot convert undefined to a BigInt
❯ Blockfrost.getProtocolParameters node_modules/lucid-cardano/esm/src/provider/blockfrost.js:30:25
❯ Function.new node_modules/lucid-cardano/esm/src/lucid/lucid.js:50:40
❯ tests/lucid.test.js:3:15
1| import { Blockfrost, Lucid } from "lucid-cardano"; // NPM
2|
3| const lucid = await Lucid.new(
| ^
4| new Blockfrost("https://cardano-preview.blockfrost.io/api/v0", "testnetXWdDgoYImp12FdSKhIGNL9oNJZAN7evl"),
5| "Preview",
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯[1/1]⎯
Test Files 1 failed | 3 passed (4)
https://www.npmjs.com/package/lucid-cardano
examples other examples