All Questions

Filter by
Sorted by
Tagged with
0 votes
0 answers
7 views

How is protocol.json used when minting NFTs?

I'm tinkering with creating NFTs via the cardano-cli. The various "how-to" pages I have found all have me download protocol.json using cardano-cli query protocol-parameters \ --testnet-magic ...
  • 337
0 votes
2 answers
18 views

Nix-shell in plutus-apps

I'm using Ubuntu 20.04.5 with an 11th Gen Intel® Core™ i7-1195G7 @ 2.90GHz × 8. After cloning the plutus-apps repo and setting my nix config, i can't get pass the following nix-shell error: trace: To ...
0 votes
0 answers
5 views

ownPaymentPubKeyHash == wallet address?

According to this documentation, ownPaymentPubKeyHash is: Get the hash of a public key belonging to the wallet that runs this contract. * Any funds paid to this public key hash will be treated as the ...
0 votes
2 answers
14 views

Get back my funds after a mistaken self transaction on Cardano

I accidentally made a self-transaction with my account and would like to know if I can get it back. As you can see my account here, and this is my self-transaction sent 2 weeks ago. I'm using cardano-...
0 votes
1 answer
8 views

Collateral for new Wallets

New users of Cardano sometime want to get started quickly and often face the daunting task of understanding what collateral is. Then faced with the fact that they need to send some collateral to their ...
  • 180
0 votes
1 answer
13 views

How to decode the datum stored across records in the tx_metadata table for a given tx

For a given tx - where a contract has been used, outputs have been stored in the tx_metadata table - in this case key/value pairs where the values of keys 0 through 10, when appended together to form ...
0 votes
1 answer
8 views

Public cardano-wallet service list

While I am checking cardano-wallet-js, I noticed requirement. Before start using the library you will need a cardano-wallet server running. Is there any public cardano-wallet server which I can use ...
0 votes
2 answers
23 views

Mesh Error: getUsedCollateral not implemented

I'm using mesh and follow this example of always-succeed smartcontract. I successfully send Lovelace to the script address. But when building transaction for redeeming Lovelace from the script address,...
0 votes
1 answer
8 views

Get margin amount in private pool

I want to get reward amount for specific pool for specific epoch. https://docs.blockfrost.io/#tag/Cardano-Pools/paths/~1pools~1%7Bpool_id%7D~1history/get Above blockfrost api provides reward amount ...
0 votes
0 answers
7 views

nix installation error on WSL Ubuntu [closed]

community. I'm a newbie to Cardano and trying to install Nix via this command on WSL (Ubuntu). sh <(curl -L https://nixos.org/nix/install) --daemon However, I got the below error after answering ...
  • 31
0 votes
0 answers
9 views

Decode the cbor datum in tx_metadata

I cannot find a way using an available nuget package, to decode the cbor data stored in tx_metadata for a given transaction. cbor.me does convert it to an object but even there I cannot find how to ...
1 vote
2 answers
20 views

Get pool reward for specific epoch

I want to get pool(private pool) reward for specific epoch. I searched blockfrost.io apis, can't find reward api. How can I get reward by api? Or other solution will be fine like graphql.
0 votes
2 answers
18 views

pay collateral with cardano-cli

Followed the guide here to build preprod testnet wallets, was wondering however I can create the collateral utxo with cardano-cli ?
  • 433
0 votes
0 answers
13 views

How to get all unSpent UTXOs at script address OnChain

Hi i am building CrowdFund where i need to know the total amount raised at the script as an OnChain validation. i was looking at Contexts.findOwnInput but would this only return the tx-in's provided ...
0 votes
0 answers
20 views

How can i store local variables in Plutus just like solidity?

As the title suggests, how do i store local variables in Plutus? In solidity, i can have a (address => bool) mapping to enforce a rule that some functions should be callable at most ONCE by a ...
0 votes
1 answer
25 views

How can I interact with smart contract created from Marlowe in the testnet/mainnet?

I create a smart contract with Marlowe from https://play.marlowe-finance.io I now want to deploy the contract in the preview testnet and later mainnet. I imagine it must be somehow converted into ...
0 votes
2 answers
23 views

cardano-submit-api install error

I'm trying to install cardano-submit-api on my linux node following IOhk documentation: cardano-node $ cabal install cardano-submit-api --overwrite-policy=always but I have an error: ... Got ...
1 vote
1 answer
13 views

Get Delegations in Cardano

I am going to get delegations list for specific pool, epoch. https://docs.blockfrost.io/#tag/Cardano-Epochs/paths/~1epochs~1{number}~1stakes~1{pool_id}/get I found blockfrost api and tested. My test ...
0 votes
0 answers
44 views

"You may need an additional loader to handle the result of these loaders."

I'd like to import Mercury module, but some errors occur. I can't confirm this reason on react version or other things. Can I solve this error using current react version? If It's impossible, other ...
  • 33
1 vote
1 answer
19 views

Cardano-Wallet register a wallet generated by Cardano-cli

I created a Wallet with Cardano-Cli following this instructions: cardano-cli address key-gen --verification-key-file vkf.payment --signing-key-file skf.payment After that I derived the address of ...
0 votes
1 answer
17 views

Cardano Node 1.35.4 problems

I am running cardano node 1.35.4 on Windows 10 it syncs to 100% then gives me the following screen
0 votes
1 answer
21 views

convert hex encoded bytes string to something readable

I'm using nami wallet's api, and if I call cardano.getUsedAddresses() it return a "hex encoded bytes string" and I would like to know how I can convert that to something readable
0 votes
0 answers
5 views

how to safeguard custodial keys for my api using kms or other services? cardanocli-js

cli js in one of my project it requires me to store verification key file and signing key file inside a folder called priv in order to use the wallet I am wondering it is unsafe to store those keys in ...
-1 votes
0 answers
6 views

Error: ENOENT: no such file or directory, open 'C:\Users\Test\

const ftp = require("basic-ftp") // ESM: import * as ftp from "basic-ftp" const fs = require("fs"); main() async function main() { const client = new ftp.Client() client....
0 votes
0 answers
9 views

How are a contract and an asset associated in the TxOut's?

Here is a screencap of a sale of a clay nation NFT. How did Cardanoscan know to group the sold NFT and the JPG store contract address together? What definitively associated one to the other in the ...
0 votes
1 answer
17 views

What are the values in a Transaction Datum?

Below is a link for the "inspect" window on Cardanoscan. What are the values in the json? (Example: 2486ff67c9772a45ed705adc7266c62ce8e2ad2e61c2656606ba966f) https://cardanoscan.io/...
1 vote
1 answer
35 views

How to import Plutus.Contracts.Currency

I am trying to build an application that will make use of function mintContract under Plutus.Contracts.Currency, but i have difficulty importing this module. What can i do?
0 votes
0 answers
13 views

How to properly interpret Bytestrings (TxMetadata)

In the TxMetadata caradano wallet spec there is this: { "bytes": HEX-STRING } The value must be base16-encoded (a hex string). So, given this from a transaction: "fields": [ { &...
0 votes
1 answer
31 views

tx_metadata: How to interpret a CBOR string

In the document: https://github.com/input-output-hk/cardano-node/blob/master/doc/reference/tx-metadata.md We are told: "JSON strings are represented as CBOR strings" How can I interpret ...
0 votes
1 answer
19 views

getDirectoryContents:openDirStream: does not exist

Running cabal update within nixos in my app fails with the following: $HOME/my-app/dist-newstyle/src/plutus-ap_-cbcc5c6ab544aad6/web-ghc: getDirectoryContents:openDirStream: does not exist (No such ...
  • 723
2 votes
1 answer
32 views

Call Martify Smart contract by cardano-cli

I call the martify smart contract by cardano-cli but I've seen the error Command failed: transaction build Error: The following scripts have execution failures: the script for transaction input 1 (in ...
1 vote
1 answer
14 views

When is valid_contract column in tx table true and a contract?

In the schema descriptions for cardano-db-sync, the valid_contract column description is as follows (link below): "False if the contract is invalid. True if the contract is valid or there is no ...
2 votes
1 answer
35 views

How to hide API keys when using Lucid-Cardano

Lucid-Cardano requires me to expose my api key on my client side of my app. How can I go around hiding this. I have tried to call my express backend to make a blockfrost request so that I can keep my ...
0 votes
1 answer
33 views

Plutus: multiple-utxo withdraw fails, single-utxo withdraw succeeds

A beneficiary tries to withdraw the maximum amount from 2 utxo's of a smart contract in one transaction but that fails. If the beneficiary does it in two steps it succeeds. Why does the first one fail?...
0 votes
0 answers
20 views

Cardano wallet chat system Mercury

I'd like to import Mercury module, but some errors occur. I can't confirm this reason on react version or other things. Can I solve this error using current react version? If It's impossible, other ...
  • 33
1 vote
0 answers
20 views

Submit transaction with cardano-cli which got built and signed with nodejs-cardano-wasm - formatting error

I am trying to submit a transaction via cardano-cli which got built and signed by a nodejs app using cardano-wasm. I tried the following approach: The result I get from the cardano-cli execution: ...
  • 23
1 vote
1 answer
20 views

Docker - Cant access cardano-cli from other container than cardano-node

I have the following problem: I am running several containers via docker-compose consisting of a cardano-node-container, cardano-db-sync-container (including a postgres-container) AND another ...
  • 23
1 vote
1 answer
12 views

Cardano mempool

I have looked at this thread: Is there any platform to read the Mempool? asking if there is a way to read the (historic) cardano mempool. Back then, there was none so I was wondering if anything has ...
  • 11
0 votes
0 answers
21 views

Issue in Submitting Native Minting Scripted Transaction with Ledger

Using CSL I have successfully built a minting transaction with a native script. Using Nami, Eternl or Flint not connected to hardware wallets I am able to sign the transaction and submit it. However, ...
  • 27
0 votes
1 answer
33 views

Need client side browser Javascript example on how to make ADA payments via the Eternl wallet?

I want to initiate an ADA payment via the Eternl wallet via a Javascript code in my browser based dApp. I'm hoping I can do this in a manner in the same way Eth devs do it on Ethereum via the ...
0 votes
1 answer
13 views

Clocks on Air-gapped, Offline Computers

What risks (security-related or otherwise) may potentially inaccurate clocks--that is, clocks that do not synchronize with an Internet time server--on air-gapped, offline computers used to sign ...
0 votes
1 answer
17 views

“USDA” is All Set to launch in Early 2023 | What services will it provide?

According to Emurgo, USDA will go live on the Anzens platform in Q1 2023, allowing users to tokenize their USD into USDA using credit/debit cards, wire transfers, or the conversion of ADA. USDA is a ...
1 vote
0 answers
24 views

How to redelegate with JS Nami/Eternl wallets?

Could you please point how can I unstake/undelegate OR redelegate with web cardano (window.cardano) api? I need to let users delegate to my pool even if they already delegated anywhere else, so I need ...
0 votes
0 answers
6 views

reference is not a tree error in week03 of pionner program

Hello everyone I was just going through second cohort of pioneer program. When I run cabal repl in week03 it's giving me reference is not a tree error. Could anyone please tell me how to fix this ...
1 vote
3 answers
21 views

Daedalus for testnets and why not use Mainnet as test environment

Last year I set up a Cardano testnet as part of the Plutus Pioneers program. I'm now using my Daedalus installation to experiment with the cardano-cli, which I am finding much easier, with the added ...
  • 337
1 vote
1 answer
20 views

How to specify a description using cardano-cli

In cardano-cli, when I create a transaction file (.body and also .signed) the contents of the file appear to be in JSON format with 3 fields, as follows { "type": "Tx AlonzoEra"...
  • 337
1 vote
0 answers
12 views

BlockFrost IPFS error

I can't upload an image to IPFS through ipfs.blockfrost.io/api/v0/ipfs/add from browser. I am trying to upload image dircetly from frontend of my application (browser extension). I get this response: {...
1 vote
1 answer
17 views

Is it possible to create a flutter app that would create and sign cardano transaction

I would like to create a simple mobile application using flutter that would create and sign a transaction and submit it through an API like Blockfrost to the network for which it will interact with ...
  • 11
2 votes
1 answer
50 views

Creating a connect wallet button like JPEG.store

I am creating a React app and I want to integrate a connect wallet button that can then return the users wallet address, similar to JPEG.store. What is the best way to approach this. I tried using ...
0 votes
1 answer
26 views

How to build the transaction needed to have a user pay to mint an NFT

I have integrated a Cardano wallet into my site and done some basic interactions. I am hoping to get a sample, example and/or guidance on how to build the transaction I am interested in implementing: ...

15 30 50 per page
1
2 3 4 5
50