All Questions

Filter by
Sorted by
Tagged with
6 votes
3 answers
994 views

Can blockchain viewers read the source code of a smart contract if they know its address?

I'm curious, is it possible to find the source code of the validation script of a smart contract (as well as other parts) that is already on the blockchain? Or this code automatically picking up into ...
Angelina's user avatar
  • 195
20 votes
6 answers
1k views

General approach for allowing multiple smart contract transactions per block

In some applications, multiple users interact with the same smart contract and may want to do it at about the same time. Such interaction involves updating the state of the smart contract as embodied ...
Joshua Chia's user avatar
  • 1,315
7 votes
4 answers
3k views

Undelegate stake with Daedalus wallet

How do I undelegate (unstake) with Daedalus wallet to receive my 2 ADA deposit back. I remember used to be an option but it seem I can no longer find it. Is there is any way without actually using ...
Donni's user avatar
  • 71
10 votes
3 answers
225 views

How to properly start a new Plutus project, from scratch

I'm from ETH's ecosystem and recently just decided to get into Cardano development, specifically Plutus dev work thanks to Demeter.Run, and after going through the Plutus starters on there, I noticed ...
0xDaito's user avatar
  • 101
8 votes
2 answers
493 views

I am completely new to Cardano eco system. To learn it from the absolute basic, where do I start?

This is a broad question but I am sure many might have this in their mind. I am an upcoming blockchain engineer and my exposure to Cardano eco system is limited to buying the ADA cryptocurrency and ...
Goodguy Charlie's user avatar
7 votes
2 answers
801 views

How to establish trust between a user's wallet, and the backend of a website?

I am building an application that will hopefully offer a login option via Nami wallet, rather than the typical email/password. I understand how this approach can work for on-chain data, but is it ...
Matt Halloran's user avatar
7 votes
2 answers
442 views

How to convert posixTime to slot number on Cardano Testnet

I'd like to obtain the slot number corresponding to a posixtime on Cardano Testnet. For example, this might be useful if you need to set a slot number in cardano-cli, say building a transaction: ...
kindofdev's user avatar
  • 1,284
6 votes
1 answer
1k views

How can I derive an address from a private key?

Checking the official documentation from cardano-wallet I can see that there are options to get wallets from mnemonics and extended public keys, but not private keys. Even public libs don't have that ...
Tengu's user avatar
  • 61
6 votes
1 answer
346 views

Ways to burn tokens?

What are all the ways to burn tokens, including ADA and other tokens? By burning, I mean to remove it from the sum balance of all addresses. E.g. one way is to mint a negative amount of a token. Are ...
Joshua Chia's user avatar
  • 1,315
2 votes
2 answers
593 views

Cardano CLI - Error submitting transaction for minting a token

I am trying to create a token and I've been following the instructions for here: https://developers.cardano.org/docs/native-tokens/minting/#minting-native-assets This is on testnet. Here is some info: ...
hatsrumandcode's user avatar
1 vote
1 answer
217 views

Ensuring NFT collection uniqueness using counter as asset name?

I would like to be able to mint a collection of NFTs across different transactions that fall under the same policy id. A method I would like to try is making a 'dummy' nft that holds a counter as its ...
Montario's user avatar
1 vote
1 answer
250 views

How to derive non-extended skey from mnemonic phrase?

See title. I've tried using https://github.com/input-output-hk/cardano-addresses to derive the skey, but it only gives an extended version that I'm unable to sign transactions with using the CLI. ...
Blake Brown's user avatar
0 votes
1 answer
181 views

plutus-playground-client crashes on Intel Mac (Big Sur)

After setting up environment for cohort 3 of the pioneers program, running the plutus-playground-client crashes on my Intel Mac (Big Sur). I've been able to successfully set up Nix and all the code ...
Steve Mason's user avatar
27 votes
2 answers
1k views

How are NFTs being minted without smart contract in Cardano?

NFTs are being minted in Cardano even without a smart contract in place. How does it ensure that no more token gets minted with the same ID?
raghu's user avatar
  • 1,834
16 votes
5 answers
2k views

What is a Redeemer?

So I am currently on lecture 1 on the Plutus Pioneer Program. In the lecture they said the redeemer is the input information that the script uses to decide if a specific UTxO can be spent. I watched a ...
szhang9921's user avatar
16 votes
4 answers
1k views

On-chain and off-chain for Plutus SCs

Hi I am currently at lecture 5 of the Plutus Pioneers Programm and I was wondering which part of the code is on chain and which is offchain. I know that the valididation script is onchain but the ...
Pierre Previsionz's user avatar
16 votes
3 answers
1k views

eUTXO transaction model Vs Account Based Transaction Model

What are the benefits of Cardano's eUTXO transaction model compared to Ethereum's account-based transaction model? Are there any significant differences?
Upul Doluweera's user avatar
14 votes
3 answers
3k views

How big is the Cardano blockchain (now and in the future)?

This may sound a naively simple question, but... How big is the blockchian today? How big is it likely to become in future? I note that Daedalus' state directory on my machine is currently ~10.3G. ...
mwal's user avatar
  • 484
14 votes
6 answers
2k views

The Concurrency Issue

Are there any solutions to the concurrency issue so far without sacrificing decentralization? MinSwap testnet was experiencing this last night and just looking for some clarification, haven't seen ...
anonymous's user avatar
  • 231
13 votes
1 answer
645 views

Where is stored off-chain code?

As I understand, a smart contract in Cardano contains on-chain code and off-chain code. On-chain code is executed by cardano nodes in order to validate transaction. Off-chain code builds a ...
georgeos's user avatar
  • 1,734
12 votes
2 answers
526 views

What does it mean that a UTxO sits at script address?

What does it mean that a "UTxO sits at a script address". What is a script address?
thirsty's user avatar
  • 191
9 votes
2 answers
604 views

Is there a good tutorial to mint Cardano NFT using plutus script?

I used to mint Cardano NFT using "Time locking" following this guide https://developers.cardano.org/docs/native-tokens/minting-nfts/. But I know the more formal way is to use plutus script ...
Tam Edward's user avatar
9 votes
2 answers
642 views

Can Daedalus be used to query the blockchain, like a passive node?

Daedalus is a full node wallet application, but can I use the full node to query the ledger?
soccer193's user avatar
  • 701
9 votes
5 answers
2k views

Installing Cardano-node on an M1 Mac

I am trying to get a cardano node started on a Mac with the new M1 chip. Ive looked through the Installing a Cardano-node walk-through and found that they specify that the Mac install is for Intel ...
Isaac Padberg's user avatar
8 votes
2 answers
1k views

Extract the bech32 stake address from a shelly address in javascript

I am looking to get the bech32 stake address from a bech32 shelley address. I think I have to decode the shelley address, take the stake address part and encode it again. I looked here: https://github....
Mark Gibbons's user avatar
8 votes
2 answers
676 views

Nami wallet showing getBalance returning a NaN

Hi i just recently started working with Nami Wallet to be implementes in a web app, but when im trying to get my wallet balance: window.cardano.getBalance().then(res => console.log(res)) its ...
Daniel Diaz's user avatar
8 votes
3 answers
2k views

Is there a minimum amount of ADA I can send in a transaction?

Can I send 1 lovelace (0.000001 ADA) to another address or is there a minimum amount I need to send? Of course there will also be the transaction fee of (currently) ~0.16 ADA, so such a transaction ...
eddex's user avatar
  • 3,565
8 votes
5 answers
267 views

Possible DApp infrastructure on Cardano. Interaction with users' wallets

I'm trying to build a possible DApp infrastructure on Cardano in my head. We should write the validation script in Haskell. Also as I understand, it is suggested to use Haskell for the off-chain code ...
Angelina's user avatar
  • 195
7 votes
1 answer
1k views

How to mint multiple NFT assets in the same transaction?

The developer guide doesn't cover this. Here is an example of what I'm trying to do: https://cardanoscan.io/transaction/e1c7bc707e56bf37b4325dc4b7fe524eafe8ca746e54746d60b321588ffebb6c?tab=tokenmint I ...
user4581's user avatar
7 votes
1 answer
135 views

Should I transfer my ADA to the latest wallet when a new era become available?

I haven't been part of a new Era change but when a new era become avaiable, should I transfer my ADA to the latest wallet? i.e. from a Shelley to a Goguen wallet. What is the process that I should ...
georgeos's user avatar
  • 1,734
6 votes
6 answers
2k views

How to verify data signed with nami wallet in a node backend?

I am playing around with the nami cardano wallet. I am able to link the wallet in the frontend and now want to link it to the backend. First action the frontend sends an auth request with the cardano ...
Jeroen's user avatar
  • 221
6 votes
1 answer
311 views

Why is there a small difference between addresses derived by the cardano-address tool and Yoroi?

Let's consider a Yoroi test wallet with the following seed phrase: maximum vacuum toe conduct jazz tray romance crawl fossil wisdom disease crazy mountain bird discover The first address generated by ...
Nos's user avatar
  • 301
5 votes
1 answer
574 views

How do I read the datum of an output?

How do I get the datum of an output from cardano-graphql (or another service)? I have attached it using the --tx-out-datum-embed-file flag already when building the tx using cardano-cli. Thanks!
yoyobigmanyo's user avatar
5 votes
2 answers
340 views

Is there a metadata standard for native assets (talking about fungible tokens first) in Cardano?

I've already made preliminary research about the standard. The below link seem to describe it very well: https://docs.cardano.org/en/latest/native-tokens/using-the-token-registry/token-registry.html ...
omegafer's user avatar
5 votes
1 answer
219 views

Hash MisMatch Error on Plutus and Nix

I keep getting the Hash Mismatch Error, anyway I can resolve it or get around it? hash mismatch in fixed-output derivation '/nix/store/7y3jr1jvzkj2146h7sivw0sfr2bhap3j-ghc-8.4.4-x86_64-deb8-linux.tar....
KIJIRI's user avatar
  • 677
4 votes
1 answer
617 views

Ouroboros – Which version is currently implemented?

I was reading this blog post From Classic to Hydra and I was wondering which version of Ouroboros is currently implemented in Cardano: Classic, BFT or Praos?
Bruce Wayne's user avatar
4 votes
1 answer
526 views

Bech32 encoding stake address from Shelley address in JavaScript returning wrong value

I am trying to extract the bech32 stake address from a Shelly address using Javascript. I followed the example steps outlined in the answer another question (thanks for the help!) and put together the ...
Bob T's user avatar
  • 143
4 votes
2 answers
314 views

How to retrieve the datum added with the option –tx-out-datum-embed-file from the tx witness data

I have been thinking recently about the way we are predominately creating NFTs on Cardano, right now the trend is to add the NFT attributes to the transaction metadata, however, I think this is not ...
AngelCastillo's user avatar
3 votes
4 answers
220 views

Plutus Playground Client fails to load: npm ERR! code ELIFECYCLE

$ nix --version nix (Nix) 2.5.1 $ ghci --version The Glorious Glasgow Haskell Compilation System, version 8.10.4.20210212 $ cat /etc/issue Ubuntu 21.10 \n \l I have the plutus playground server ...
Alfredo Casanova's user avatar
3 votes
1 answer
341 views

Errror cardano-cli build-raw: AssetName deserisalisation failed expecting hexadecimal digit

I am trying to figure out what's wrong but I do not see it, is my command really wrong? do I need to encode the token name with something? Get a different cardano-cli executable? transaction build-raw ...
dzCodes's user avatar
  • 68
2 votes
3 answers
728 views

How to get Policy Script for a specific policy-ID

how can i get the script information for a given policyID. I am mostly interested in the "invalidAfter" Slot number. So far i could not find any option for example by using Blockfrost API. ...
Andro's user avatar
  • 23
2 votes
1 answer
146 views

HLS Compiler Error PPP (WSL2 + VSCode)

I'm trying to get HLS (Haskell Language Server) working in VSCode using WSL2 so I can get type hints. I've already ran through the week01 instructions so I have a working nix installation. However, ...
FrostByte's user avatar
2 votes
1 answer
252 views

When was the slot duration set to 1 sec on Cardano Testnet?

I'd like to know the exact date when the slot duration was set to 1 sec on Cardano Testnet. Thanks in advance!
kindofdev's user avatar
  • 1,284
2 votes
3 answers
175 views

How to Start a New Project

Let's say I have downloaded all the necessary things needed to start developing on Cardano and I just opened up the terminal. I want to start building a new project. What are the commands I run. ...
szhang9921's user avatar
2 votes
1 answer
110 views

Why would ">:i " work in the repl but not "> :t "?

Doing week 04, watching "PPP 030403 - The EmulatorTrace Monad" In the repl, having already imported as follows >import Data.Char >import Text.Read >import Plutus.Trace.Emulator >import Data....
XiTouch's user avatar
  • 349
1 vote
2 answers
196 views

What is the Cardano's equivalent to the Ethereum's EVM?

What is Cardano's smart contract engine called? Smart contract language: Solidity (Ethereum) => Plutus (Cardano) Simple enough, I get this. Smart contract "engine": EVM (Ethereum) => ?...
TypicalHog's user avatar
1 vote
1 answer
186 views

Playground client can't connect to playground server (all localhost)

I am on an Intel based iMac Pro running Big Sur (11.6.1) I have followed every variant of the local playground setup I can find (all are some version of page 2 in this document https://docs.google.com/...
prodineeritecht's user avatar
1 vote
1 answer
151 views

plutus-playground-client npm start error (MacOs Intel i7)

[Updated] ✖ 「wdm」: ERROR in Error: Child compilation failed: Module not found: Error: Can't resolve '/Users/fanik/development/plutus_pioneer_program/plutus-apps/plutus-playground-client/undefined/...
Fanik Fan's user avatar
0 votes
1 answer
63 views

Can anyone explain how tAda locked with asset is calculated?

I have previously asked a similar question here Get Ada locked with asset from db-sync query? but I'm still really stuck with this and needing some help. After looking at Nami Wallet, Eternl Wallet ...
FoxB's user avatar
  • 1
0 votes
1 answer
560 views

How to Get Started with Cardano Native Script

What resources should you use to learn native script and in what order should you use them in?
KryptoKing's user avatar

15 30 50 per page
1
2 3 4 5