Erick | EddaE
Convex Community2y ago
20 replies
Erick | Edda

Lucid library (cardano blockchain) fail to initialize

I am trying to initiliaze a library called lucid (npm install lucid-cardano) and it is erroring out- docs can be found here (https://lucid.spacebudz.io/).

code that want to be implemented:
<
"use node"

import { action } from "./_generated/server";
import { Blockfrost, Lucid } from "lucid-cardano";

export const doSomething = action({
handler: async () => {
const lucid = await Lucid.new(
new Blockfrost("https://cardano-preprod.blockfrost.io/api/v0", "hdhdhddhdfhdhf"),
"Preprod",
);

},
});
>

Error that i am getting:
<
Uncaught Failed to analyze _deps/node/KYCSLYXW.js: ENOENT: no such file or directory, open '/var/cardano_multiplatform_lib_bg.wasm'
>
We provide an instant and scalable Cardano API for free.
Blockfrost.io - Cardano API
Was this page helpful?