Hot answers tagged

2 votes

How to hide API keys when using Lucid-Cardano

In the README.md file of lucid, their is a blockfrost proxy example, illustrating how you could implement a proxy api call.
Sourabh's user avatar
  • 318
1 vote

Extracting Metadata of an NFT using Lucid

The error "No variant matched" likely means that the metadataOf method didn't find the asset you're querying for, or there might be some issue with how the Lucid library is initialized or ...
Spawn's user avatar
  • 31
1 vote

How to format metadata for Lucid?

From the looks of it, file links are too long. Have you tried shortening links, or using different file hosting service? Try something that looks more this: Pool pm metadata tool.
Spawn's user avatar
  • 31
1 vote

Issue with Lucid and sending tokens

A token has two components, it's name & corresponding policy-id. Thus, instead of .payToAddress("addr1...", { [policyId]: 100n }) you need to do .payToAddress("addr1...", { [...
Sourabh's user avatar
  • 318
1 vote
Accepted

Lucid vesting demo

The result.key_deposit is undefined, which means it is not set to a value (and not null either). BigInt() expects you to provide a valid integer number either as a number or a string. Therefore BigInt(...
eddex's user avatar
  • 3,753
1 vote
Accepted

Lucid Cardano Datum Error

Looks like L.Data.BigInt doesn't exist in the code. You'll have to choose L.Data.Integer or another type to support what you need. For that matter, I don't see L.Data.String either. The data types ...
PREEB's user avatar
  • 312

Only top scored, non community-wiki answers of a minimum length are eligible