All Questions

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

How to Access Secret Key Hash and PKH from a web wallet?

So I'm making a Dapp that uses the user's secret key to encrypt the data. It also allows another user to encrypt something else using their public key hash, but how do I get the key pairs from the web ...
user avatar
1 vote
1 answer
14 views

How to convert Address type variable to get "addr_testXXX" format address?

In plutus endpoint, I want to convert Address type value to get addr_testXXX format address. I have try : import Cardano.Api ( SerialiseAddress (deserialiseAddress, serialiseAddress) ) ... -- here, ...
user avatar
1 vote
0 answers
7 views

What is the purpose of use using Cardano-graphql & hasura in the same stack?

I'm in the process of writing some software that will connect to the Cardano networking such as signing transactions & querying historical chain data. During my search for a solution I came across ...
user avatar
0 votes
0 answers
9 views

How To Convert Old Plutus Scripts to Vasil Reference Scripts?

One of the fun things, the Vasil hardfork gives us is the ability to reduce the size of transactions and so put more of them into a block (speeding up the chain). My question is how to change the ...
user avatar
0 votes
1 answer
13 views

How to reduce tx size using typed Plutus script with Vasil fork PlutusV2?

With the recent Vasil fork script references allow to reduce transaction size. Even though Vasil has been already launched on the testnet I could not find information on how to reduce the size of ...
user avatar
1 vote
1 answer
9 views

Metadata and Mithril

From my understanding you need to run a full node to add metadata to a txn. Will it be possible to do this without a full node using Mithril?
user avatar
0 votes
1 answer
15 views

How can db-sync "match" a data_hash to specific outputs?

Looking at the db-sync schema, I see the tx_out table has a data_hash column, but I can't make sense of why this column is not on the tx table instead. From the Alonzo CDDL, I can see the scripts are ...
user avatar
2 votes
1 answer
26 views

How to create an unspent UTXO with specific value

I want to create a script (smart-contract) utxo with a specific number of tokens (it can be an output of a transaction before) in cardano-serialization-lib - javascript. I need this utxo to be part of ...
user avatar
  • 69
2 votes
1 answer
17 views

How To Get All Transactions of Associated With an Address In A Given Interval?

okay so given some reciving address such as addr1qxq7k07cnt8vstdmygu7lpw0tyyssu4trs27qq6f7xjpmvrdrr3j8j5k5yacga4ckv6lnx4p0la57q7nf24eszqk0r2q9axgqv how can I use a service like BlockFrost (or any ...
user avatar
1 vote
1 answer
12 views

How can I see if an UTxO holds an NFT in the postgres DB?

Is it possible to find out if an UTxO on the tx_out postgres table holds an NFT? OR in generell which kind of asset this UTxO holds? Thank you!
user avatar
1 vote
1 answer
27 views

Stuck in cardano node

Running any cardano-cli command returns this error,Cardano-node is already running in another terminal,CARDANO_NODE_SOCKET_PATH is set in environment variable. Confirmed through echo. It leads to node....
user avatar
0 votes
1 answer
19 views

Socket permission denied when running cardano node as linux service

I've successfully setup and running cardano node from terminal. Now I've setup cardano node to run as service(systemd, Ubuntu) so that I don't have to run the command all the time and have a terminal ...
user avatar
0 votes
1 answer
41 views

How to convert Cardano Address?

Cardano has a number of different types of address from receiving address to enterprise address and many others. My question is in two parts: where can I find an exhaustive list of all address types? ...
user avatar
0 votes
1 answer
17 views

How to specify the Cardano address for BlockFrost Transaction Endpoint?

Hi im trying to call this https://docs.blockfrost.io/#tag/Cardano-Addresses/paths/~1addresses~1{address}~1transactions/get from some code I wrote (images attached below) and get a None or Empty value ...
user avatar
0 votes
1 answer
13 views

Get Transaction History Given Policy ID using Blockfrost API

What's the best say to get the transaction history of an NFT collection given the policy id? I looked into Asset Transactions but this requires both policy ID and the asset ID. Is there something else ...
user avatar
0 votes
1 answer
6 views

How to completely uninstall Daedalus from Linux?

What is the most easy and straight-forward way of uninstalling Daedalus from Linux?
user avatar
-1 votes
0 answers
23 views

Problem with db-sync

I have a quick question, I had a situation occur today when experimenting with options for getting all utxos from an address. Using the CLI directly it returned 20 utxos, but when I queried using db-...
user avatar
1 vote
1 answer
17 views

What is the best way to query stake pools by ticker?

As a developer, I'd like to have a service that retrieves the information of a stake pool based on its ticker (or all the stake pools with that ticker, I know there can be duplicates). I'm thinking ...
user avatar
1 vote
0 answers
20 views

How to consume and produce new UTXO to same script with different Datum?

I am trying to consume old UTXO at stript and produce new one with new Datum. Validator is validating ok but not sure why new utxo with updated datum is not available. current utxos holds one utxo ...
user avatar
  • 11
0 votes
1 answer
26 views

Cannot wrap my head on NFTs

I am running through the Plutus Pioneer Program and I have reached week 5. Also as a reference, I will use the LobsterChallenge repository. I am a bit confused about how NFTs work for the Cardano ...
user avatar
0 votes
1 answer
12 views

How To Explain Monterrey Expansion and Hard coded ADA values?

I have heard the term Monterrey Expansion used to talk about the ADA supply, but my understanding is that the total amount of ADA is fixed. How can you have a hardcoded value for a upper bound on ADA ...
user avatar
0 votes
0 answers
17 views

Anyone interested in reviewing / testing new Cardano data intelligence platform?

I recently completed & deployed the BETA release for a data intelligence application built specifically for the Cardano Blockchain. Would anyone be interested in helping review / test? If yes, ...
user avatar
0 votes
1 answer
28 views

Is there a way to see which Plutus code is deployed on a specific script address?

On Ethereum, for example, there is a way to see the Solidity code that is deployed in a specific address (as long as the code gets verified). Is there a way to achieve this same behaviour in Cardano?
user avatar
0 votes
1 answer
21 views

Homework for lecture # 5

How do I review the homework for lecture 5? There is no folder 'lecture05' in https://github.com/input-output-hk/marlowe-pioneer-program/tree/main/code/src
user avatar
0 votes
1 answer
30 views

How to Securely Serialise a Plutus Smart Contract Endpoint?

Assuming I made an arbitrary smart contract and want to serialise the endpoint after I have the validator hash and address hash, what should I do to ensure that the serialisation is as safe as ...
user avatar
0 votes
2 answers
41 views

How to get the history of an NFT or NFT Series from blockfrost?

Hi is there a quick API call to get the transaction history of a specific NFT or collection of NFTs in BlockFrost?
user avatar
1 vote
2 answers
37 views

Multiple policies associated with the same token/nft

We want to associate multiple policy ids with the same token/nft. Is this possible?
user avatar
1 vote
0 answers
10 views

Why can't I use the same wallet more than once in Plutus Playground?

I'm currently testing my app in the "Plutus Playground" and the simulation will not let me call an endpoint from the same contract more than once. When I try to use the same wallet, the ...
user avatar
0 votes
1 answer
32 views

GraphQL syncing takes too much time

Hello everyone I did follow this guide to run GraphQL with docker-compose: https://github.com/input-output-hk/cardano-graphql However, inputoutput/cardano-db-sync:12.0.0 is syncing super slow ...
user avatar
1 vote
1 answer
98 views

What is this Pop Up Screen on Cardano Documentation?

When searching the docs it helps to use ctrl + F to find something fast, however, when I use it on the plutus docs I get a weird pop-up screen I'm not used to. (Image Below) My Questions are: What is ...
user avatar
1 vote
1 answer
29 views

Is possible to create a cNFT that depends on 'proof of ownership' in order to be own by a wallet?

I'm thinking on a way to create a cNFT that requires 'proof of ownership' to be minted and own by a wallet, by proof of ownership I refer to something the receipt owns and can pass to others or loss, ...
user avatar
  • 113
0 votes
1 answer
16 views

How can I check the origin of a Token?

A smart contract minted a Token and send it to my wallet, after a time has passed how can I check if that smart-contract in specific did mint the token?
user avatar
1 vote
1 answer
17 views

Convert Stake Key to Address

I am tiring to use Cardano Sterilization Lib to get the Stake/Usable address from Stake Hash or Address Hash. https://adaex.org/address/...
user avatar
0 votes
1 answer
48 views

NFT Support For Marlowe

A Marlowe contract for a bank loan is linked here: This was homework for Marlowe Pioneers - Lesson 4. If you run the contract in the Marlowe Playground you will see that if the borrower makes all the ...
user avatar
2 votes
1 answer
14 views

Cardano GraphQL change default ip

I did run the cardano-graphql in a server and now it's sync but I'd like to send requests from local to server ip. I did open the port on AWS but couldn't figure it out where and how to change the ...
user avatar
0 votes
1 answer
29 views

Is there a Python Version of Cardano Node-CLI JavaScript Library?

I know JS, but I have other code written in python that I want to use in conjunction with the node. Is there a Python 3.xxxx SDK/Library/Module that will do everything the JS can? Heres what is ...
user avatar
1 vote
2 answers
18 views

How to Run A DB Sync Server On Daedalus?

So I have been trying to do some fun things with Daedalus, and realised I should be able to query the node from it. This makes me wonder how to set up a limited database / querying system for my own ...
user avatar
1 vote
2 answers
23 views

How To Optimise Daedalus Syncing?

So I started using my Daedalus Node as the node (instead of the direct build) for the cardano-cli, but it always takes forever to sync and I am wondering if I misconfigured something or if there's a ...
user avatar
0 votes
1 answer
16 views

Where Do I Go To Find All The ScriptContexts Feilds and Functions?

Hi im getting lost in the documentation, I have found some things I was looking for but am failing to find the info and functions for script contents. Im using this link https://playground.plutus....
user avatar
0 votes
1 answer
25 views

Whats the function to get the current time in Plutus?

Im using the time module in the ledger class to do some custom validation logic, but everything is done as intervals and I cant find the function that gets the current time. What is it?
user avatar
1 vote
1 answer
23 views

How does valuePaidTo work?

How does valuePaidTo work ? Does it give the value paid by the script to the pubkeyhash or is it the total value of the pubkeyhash for the pending transactions ? Consider the following TxOut txOutputs ...
user avatar
  • 13
0 votes
2 answers
39 views

How to securely call Blockfrost or other API service from Smart Contract?

I just spent a few days trying to find a way to access account data from a smart contract using only plutus. Turns out IOG has yet to put that functionality in (at least that's how I understand it) ...
user avatar
0 votes
1 answer
15 views

How to get transaction info of a pkh?

Given a PubKeyHash (pkh) how can I get the history of that pkh transactions from within a plutus contract?
user avatar
0 votes
1 answer
10 views

How To Get Address Transaction history into Smart Contract?

If I want the smart contract to alter functionality depending of the history of the signing address, how do I access the history from within the smart contract?
user avatar
0 votes
1 answer
12 views

Did I update Plutus Apps Repo Wrong?

I just did a git pull updating my plutus repos from the one used in plutus pioneers 3 to the full state. I did not choose to move the HEAD to the commit mentioned and wanted to see what happens if I ...
user avatar
0 votes
0 answers
8 views

How can I make a minting contract that never closes?

I am trying to change some old contracts to take advantage of the reference scripts coming whenever vasil comes out. How can I make a contract that will mint new coins upon activation, I'm talking ...
user avatar
2 votes
2 answers
44 views

How to get CLI access from Deadules Installation?

I have a Daedalus wallet running which is a full node so in theory, I should get all the CLI functionality from that one install, how do I access it?
user avatar
0 votes
1 answer
10 views

Do I Need A Contract Monad For a Burn Wallet?

If I make a script address to be a burn address, I end up having a validator that never validates i.e. returns false all the time. Does a Smart Contract that never can validate need an instance of the ...
user avatar
1 vote
0 answers
30 views

How to get prices, volume and latest transactions of a liquidity pool

I am working on a app to view charts and more. For the charts I need open, close, high, low prices for any intervals like 1min, 5min, 1h etc for a specific token/pool. So far there seems a lack of ...
user avatar
  • 11
1 vote
0 answers
26 views

Can Nami connect to custom testnet?

I made custom testnet with magic 42. Cardano-cli work absolutly correct but Nami always connect to testnet with magic 1097911063 (main testnet). So my question: can Nami connect to my testnet? P.S. ...
user avatar

15 30 50 per page
1
2 3 4 5
43