All Questions

Filter by
Sorted by
Tagged with
1 vote
0 answers
23 views

Using cardano-wallet with Plutip local cluster

I have to test integration Cardano with out services (written in c#, so I am totally noob in Haskel). So I have built Plutip local cluster insing Nix and now I can run Plutip local cluster in such a ...
Andrey Gurenkov's user avatar
0 votes
1 answer
76 views

Decoding transaction redeemers to JSON

I need to decode a redeemer hash (such as c4f0f65e1a03560608800ab884a2ed37377361e64462d14645610ac88b4aebd3) to the readable JSON format, just like cexplorer does, preferably using Javascript/...
Duco's user avatar
  • 33
0 votes
1 answer
45 views

How add many metadata

I want mint nft with many metadata? https://meshjs.dev/apis/transaction/minting
Cardano Insider's user avatar
0 votes
1 answer
82 views

Failed to build cardano-crypto-wrapper

When I run "cabal build all" I get the error message "Failed to build cardano-crypto-wrapper-1.5.1.0". See below for log file. Any assistance would be appreciated. I was so close ...
Larry's user avatar
  • 1
1 vote
2 answers
49 views

How to differentiate NFTs of the same policy id?

For Example: You have an NFT collection that has 5 different tiers all under the same policy ID (cip-25 metadata standard). You want to be able to provide on-chain benefits to holders of the NFT ...
Aidan's user avatar
  • 11
1 vote
1 answer
17 views

Force include wallet optional message?

Is there any way to force a message along with the payment using Lucid, or any other js payment? I am trying to tie an order number along with the transaction. thanx.
lovetoshi's user avatar
0 votes
1 answer
22 views

Preferred Library For Working With Zero Knowledge Proofs

I have been thinking about a voting mechanism as seen at the following link. The same text is also posted on the Cardano forum under governance. https://johnshearing.github.io/bee_democracy/index.html#...
John Shearing's user avatar
1 vote
0 answers
21 views

How to get data based on Block-Height?

in EVM we can call any read-only function and pass it a block_height we would want the data to be returned on. for example if I wanted a pool's liquidity at block height 999999, i would call that ...
Carl's user avatar
  • 11
1 vote
2 answers
146 views

Mutable NFT state by minting and burning in same transaction

The problem Please consider the following case: a token (NFT) needs to holds some state, ie {a: 234, b: "someState"}, which needs to be mutable and it needs to abide to specific rules. The ...
Duco's user avatar
  • 33
1 vote
2 answers
119 views

EDIT | Is it possible to send (transfer, request) ADA using just Javascript?

Using just HTML / PHP / Javascript and cardano-serialization, I have the connect wallet working. It shows the balance and stake address. So I have gotten that far. My question is, how can I request ...
lovetoshi's user avatar
2 votes
1 answer
39 views

What is the Daedalus Pool Ranking Equation and where is it defined in the code?

What is the Daedalus Pool Ranking Equation? Where is it defined in open source code? A seemingly simple question, but hard to find, where the Daedalus pool ranking equation lives. Can anyone tell me ...
TheStophe's user avatar
  • 400
1 vote
1 answer
54 views

Handling multi-address wallets in web apps

Regarding the topic of single and multi-address wallets: What are the most commonly used single and multi-address based Cardano wallets? Are there any other single-address based wallets besides Nami ...
Myles's user avatar
  • 321
2 votes
1 answer
99 views

Exodus and Eternl extensions in chrome and brave are incompatible?

Im developing some dApp with a wallet connector using the extensions in chrome and brave. Everything was working fine until I installed Exodus extension. Something in creating a conflict here. Look ...
Manu Padilla's user avatar
3 votes
2 answers
330 views

Which would be the future language for writing smart-contract?

As we might know well-known approaches for writing smart contracts on Cardano are using Plutus Tx or Marlowe based on specific requirements. However, according to the growth of the Cardano community, ...
manhdt's user avatar
  • 125
0 votes
0 answers
100 views

Tx consuming script fails with: Caused by: (unConstrData #44000de140)... Third data argument, does not decode to a context when burning an NFT

I've this tx trying to submit to cardano-node 1.35.5: ...
leobelizquierdo's user avatar
0 votes
1 answer
29 views

Why is writeToScript reporting that my script costs 0 resources?

I have the following minting script: {-# INLINABLE verify_mint #-} script :: () -> V2.ScriptContext -> Bool script () _ = (3::Integer) == 2+1 and the following off-chain code to mint a token: ...
Eric's user avatar
  • 85
0 votes
2 answers
81 views

playground-common package giving 'Failed to build scrypt-0.5.0' error

I'm trying to run my own little smart contract in the plutus-pioneer-program [fourth iteration] docker container and I'm having some problems. I've just added an extra folder alongside the other weeks....
NaeriKailash's user avatar
1 vote
1 answer
31 views

How does Oracle execute update operations?

I've read the Oracle implementation recently via https://plutus-pioneer-program.readthedocs.io/en/latest/pioneer/week6.html. As I understand, Oracle has 2 primary operations the following Use: an ...
manhdt's user avatar
  • 125
0 votes
1 answer
41 views

UnsafeFromData instance for custom type

I want to use a custom type for one of my policy parameters, which will be applied by a tool like Lucid. Example of param: data CoinParams = CoinParams { policyOwner :: PubKeyHash, tokenName ::...
zing's user avatar
  • 135
1 vote
0 answers
26 views

Is there a standart way to sync off-chain metadata (assets, tokens, mints) like cardano-db-sync does with on-chain data (epochs, blocks etc)?

I have running cardano-node-ogmios:v5.6.0_1.35.5 in couple with cardano-db-sync:13.1.0.0 (docker-compose.yml) and looking for the solution to sync off-chain assets localy. Is there any standart ...
Denis Akimov's user avatar
0 votes
1 answer
223 views

Lucid Cardano Datum Error

I'm trying to build lucid to connect with cardano smartcontract from scratch using webpack, but I always getting this error related to datum data Uncaught (in promise) TypeError: Cannot read ...
Erwin Kurnia's user avatar
0 votes
3 answers
118 views

Unlock NFT from smart contract by Cardano-serialization-library

I am trying to implement the Unlocking of NFT from an "always true" smart contract. I am using the Cardano serialization library for this. I can lock the NFT successfully, but when i unlock ...
duaa azhar's user avatar
0 votes
1 answer
29 views

Query and extract NFT metadata from a cardano-node instance (without db-sync)

Is there a way to query NFTs and extract NFT metadata from a cardano-node instance without using db-sync?
wout's user avatar
  • 187
1 vote
1 answer
23 views

how to use ownPubKey and RedeemerType and DatumType

My code is here. {-# LANGUAGE DeriveAnyClass #-} {-# LANGUAGE DataKinds #-} {-# LANGUAGE DeriveGeneric #-} {-# LANGUAGE ScopedTypeVariables #-} {-# LANGUAGE ...
Anton Begas's user avatar
3 votes
0 answers
146 views

InvalidCertificate error running the cardano-node (v 1.35.7) static binary

I'm trying to run the cardano-node static binary with the following command: cardano-node run \ --topology environments/topology.json \ --database-path db \ --socket-path ipc/node.socket \ --...
wout's user avatar
  • 187
2 votes
1 answer
25 views

Expecting one more argument to ‘RedeemerType’

My code is here marketConstraints :: Market -> TxConstraints (RedeemerType -> ScriptContext -> Bool) (DatumType, ()) marketConstraints market = mustValidateIn (to $ scriptAddress market) I ...
Anton Begas's user avatar
0 votes
1 answer
69 views

Typed redeemer in a minting policy

I could not make the typed redeemer in the following minting policy work. The redeemer was supposed to be data MintAction = Mint | Burn. (I settled with the workaround type MintAction = Bool, with ...
a_juggler's user avatar
0 votes
2 answers
161 views

Lucid Error "End of input in bytes"

I am running the simple vesting script from PPP for the first time with Lucid and I continuosly get an error which doesn't give me much to understand what could realistically be the source of. the ...
user3755529's user avatar
1 vote
1 answer
39 views

Are validator script parameters secure? (lobster challenge)

Since script params are compiled into the validator, this means that if you have the script cbor you can see what the param value is, right? Hence they would not be suitable to store data you don't ...
zing's user avatar
  • 135
0 votes
2 answers
193 views

Official IOG Cardano Node Course Documentation Error - Node Won't Start

I am following along with the new Official IOG Cardano Node Course: https://cardano-course.gitbook.io/cardano-course/ I am stuck at Video 3 at 6 minutes and 8 seconds in. https://youtu.be/YlUljmlCPYs?...
John Shearing's user avatar
1 vote
1 answer
77 views

Creating a malicious validator script whose hash equals that of an existing validator script

what is preventing an adversary to find (in many hours) a nonce that would make a malicious validator script to have the same hash and address of my validator script, and then submit it with cardano-...
Quantinity's user avatar
1 vote
2 answers
163 views

Unable to build project using latest version of plutus-apps using nix develop

When I run cabal repl on my project using nix develop I get the following error: Warning: Requested index-state 2023-02-20T00:00:00Z is newer than 'hackage.haskell.org'! Falling back to older state (...
Eric's user avatar
  • 85
0 votes
1 answer
125 views

nodes stopping because of Bus error: 10

All I can find online is that Bus error: 10 means it's trying to reach a memory space that isn't there. The testnet/preprod/mainnet nodes start up fine but stop shortly after with either Bus erro:10 ...
tamio42's user avatar
  • 121
0 votes
1 answer
54 views

Lucid npm throws error

I am trying to run the Lucid app. In /code/Week03/lucid directory, when I run npm install I get these errors: npm ERR! code 126 npm ERR! path /workspace/code/Week03/lucid/node_modules/utf-8-validate ...
d_fajardo's user avatar
  • 198
1 vote
1 answer
62 views

Node never begins to sync, hangs at certain point

Haven't started my node for 6 months (testnet) so I cleared the container to start another sync from scratch, keep getting this weird error & the node won't start adding new chain tips cardano-...
CoderMan's user avatar
  • 102
0 votes
2 answers
83 views

Successfully built cardano-node 1.35.7 but still getting version cardano-node and cardano-cli 1.35.3

I followed the iohk instructions to update my cardano-node to version 1.35.7. It built the node with no errors. However when I run cardano-node --version, cardano-cli --version, I get 1.35.3. I've ...
mayanhavoc's user avatar
1 vote
1 answer
31 views

Catalyst App still showing Fund9 and connection in progress

Fund10 due on 5 Apr, 2023, 13:00 but the catalyst iPhone app is showing Fund9 and connection in progress. How can I confirm that I could vote for the next round?
aagargoura's user avatar
0 votes
1 answer
247 views

How to know wallet name by wallet Address?

I am fetching the data of ADA rate in USD through api(https://studio-api.nmkr.io/v2/GetAdaRates) and I want to fetch the some data of related to wallet like its wallet name, wallet image, wallet ...
Yogesh's user avatar
  • 61
1 vote
1 answer
105 views

I want to build a transaction to send Assets using cardano serialization lib

I want to transfer asset instead of ADA using cardano serialization Lib. I am new to cardano blockchain. I recently transferred ADA's build a transaction using this link so far https://github.com/...
Max's user avatar
  • 11
1 vote
0 answers
22 views

PlutusTx TxInfo Type Mismatch

I am building a PlutusTx V1 Smart Contract for NFT Royalty distribution. Part of that requires totaling up the amount of Lovelace sent to the contract from the most recent tx. I came up with the ...
theArchitect's user avatar
1 vote
4 answers
161 views

Is it possible to obtain the cbor hex/script bytes from a bech32 script address?

I would like to get the script bytes from the bech32 address of a script. Is this possible?
zaherr's user avatar
  • 21
0 votes
1 answer
219 views

Transaction submit error MissingVKeyWitnessesUTXOW

I am @emurgo/cardano-serialization-lib-nodejs to submit transaction in cardano. I am getting following error. Transaction 5c98317bc6caf027b91e807ed1cdd78571b8f9a791202b5feff5b32fa5f71f1f rejected, ...
Heindrick's user avatar
1 vote
1 answer
37 views

Need to access documentation for Plutus.Contract.Oracle but not available in https://input-output-hk.github.io/plutus/master/

Playground is discontinued but the updated documentation seems to be lacking in components that I have been working with. I did try to look up the other versions they have listed in their gh-pages ...
Safi Ullah's user avatar
1 vote
3 answers
295 views

Get Master Key from Mnemonic seed for Cardano Byron wallet

I have wallet in Infinito wallet. My mnemonic seed has 12 words and Yoroi, Daedalus Wallet does not support it. I can get different Master Private key, address for Cardano Shelley, Byron wallet from ...
Heindrick's user avatar
2 votes
1 answer
48 views

When is Genius Yield going to release its PAB?

I know that GeniusYield announced some time ago that they would make their PAB open-source. Does somebody know when they are going to do it?
Dacomis's user avatar
  • 334
0 votes
1 answer
348 views

Understanding a datum declaration in typescript

At the bottom of this post are lines 52-68 of file lucid-vesting of week 4 (PPP fourth iteration). I am having a hard time understanding line 60: const dtm: Datum = Data.to<VestingDatum>(datum,...
a_juggler's user avatar
0 votes
1 answer
83 views

Limit the number for each Token (AssetName) within one Currency Symbol (Policy ID)

is there any way to limit number for each tokens within one minting policy, in Plutus validator? For example for policy ab12 I want to allow users minting tokens, in different transactions. Сan the ...
dmitry_stas's user avatar
1 vote
1 answer
51 views

Can one see Redeemer value on Blockchain?

Redeem value is never revealed anywhere right? i mean on the BlockChain explorer i cant see someone's redeem passed? It it sent to Validator to validate and that's it.
Chakravarti Raghavan's user avatar
1 vote
1 answer
258 views

How can I access Haddock documentation for Plutus?

The link to the Plutus documentation - https://playground.plutus.iohkdev.io/doc/haddock/ - is broken. Is there another way to browse the haddock documentation for the latest version of Plutus?
Eric's user avatar
  • 85
0 votes
1 answer
43 views

Denied Cabal Access to pictures. Now Getting error

Accidentally denied Cabal Access to pictures through a prompt given. Now, when I try to cabal Init I get this message "User/******/Library/Application Support/MobileSync: getDirectoryContents:...
marcus gray's user avatar

15 30 50 per page
1
3 4
5
6 7
56