Erick Romero
CCConvex Community
•Created by Erick Romero on 4/2/2024 in #support-community
Lucid library (cardano blockchain) fail to initialize
So does it work? Or should I only use the second method?
21 replies
CCConvex Community
•Created by Erick Romero on 4/2/2024 in #support-community
Lucid library (cardano blockchain) fail to initialize
Yeap. Take a look at this tutorial I saw. https://youtu.be/Vjtn9pWAZDI?si=B-n9EMFgVg092ooH
21 replies
CCConvex Community
•Created by Erick Romero on 4/2/2024 in #support-community
Lucid library (cardano blockchain) fail to initialize
or is there points that i should take into consideration for each method?
21 replies
CCConvex Community
•Created by Erick Romero on 4/2/2024 in #support-community
Lucid library (cardano blockchain) fail to initialize
can i used them interchangably at my convenience?
21 replies
CCConvex Community
•Created by Erick Romero on 4/2/2024 in #support-community
Lucid library (cardano blockchain) fail to initialize
2. getting the URL from ctx.storage.getUrl
21 replies
CCConvex Community
•Created by Erick Romero on 4/2/2024 in #support-community
Lucid library (cardano blockchain) fail to initialize
1. getting the URL using convex URL + storageID (convexURL/api/storage/{storageId}
21 replies
CCConvex Community
•Created by Erick Romero on 4/2/2024 in #support-community
Lucid library (cardano blockchain) fail to initialize
HI, Lee, i have doubt regarding File Storage. Is there any difference between the follwoing two methods to obtain the url of a file stored at convex:
21 replies
CCConvex Community
•Created by Erick Romero on 4/2/2024 in #support-community
Lucid library (cardano blockchain) fail to initialize
now it is working, thanks a lot
21 replies
CCConvex Community
•Created by Erick Romero on 4/2/2024 in #support-community
Lucid library (cardano blockchain) fail to initialize
ah ok got it. so for runMutatio is either internal or api for getting a fully qualified function reference.
21 replies
CCConvex Community
•Created by Erick Romero on 4/2/2024 in #support-community
Lucid library (cardano blockchain) fail to initialize
<import { action, mutation } from "./_generated/server";
import { v } from "convex/values";
export const doSomething = action({
args: { a: v.string() },
handler: async (ctx, args) => {
await ctx.runMutation(createTask, { text: args.a, }); return "success"; }, }); const createTask = mutation({ args: { text: v.string() }, handler: async (ctx, args) => { await ctx.db.insert("teste", { text: args.text }); }, });>
await ctx.runMutation(createTask, { text: args.a, }); return "success"; }, }); const createTask = mutation({ args: { text: v.string() }, handler: async (ctx, args) => { await ctx.db.insert("teste", { text: args.text }); }, });>
21 replies
CCConvex Community
•Created by Erick Romero on 4/2/2024 in #support-community
Lucid library (cardano blockchain) fail to initialize
<>
21 replies
CCConvex Community
•Created by Erick Romero on 4/2/2024 in #support-community
Lucid library (cardano blockchain) fail to initialize
thanks Lee, i am just starting to use Convex, and i am encountering an early mistake. Within the same file i am trying to declare this mutation and action, but i am having a type error. what could be wrong? i could not figure it out.
21 replies
CCConvex Community
•Created by Erick Romero on 4/2/2024 in #support-community
Lucid library (cardano blockchain) fail to initialize
thnaks Lee, it worked!
21 replies