All Questions

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

Access to output data from the onchain script

I create a transaction with this command: cardano-cli latest transaction build \ --testnet-magic 2 \ --out-file "$tx_unsigned_name" \ --tx-in "$nft_utxo" \ --tx-in-...
amakarov's user avatar
  • 101
1 vote
1 answer
10 views

Get the the balance snapshot of an address at a specific point in time

I need to be able to disclose the balance of an address, including all the tokens in it, at a specific point in time to the tax authorities. How can I achieve this?
Thomas's user avatar
  • 11
0 votes
0 answers
5 views

#atlas how to specify inline datum present when consuming an input utxo?

I've just started using Atlas and cannot find any info on how to specify in GYTxInWitnessScript that the input to be validated has inline datum (so I shouldn't have to provide it explicitly). Would ...
ClaudioHermida's user avatar
0 votes
2 answers
28 views

Can’t get cardano-wallet to work

I’m trying to get cardano-wallet to run on a local server to test out an application that I’m working on. I’m interested in using the wallet backend API. I had an issue while trying to build cardano-...
Mohamed's user avatar
1 vote
1 answer
16 views

How to get a RewardAddress from an address using cardano-serialization-lib?

I have the following code to verify the signature of a message using CIP-8: const decoded = COSESign1.from_bytes( Buffer.from(signedData.signature, "hex") ); const headermap = ...
Falcon Stakepool's user avatar
1 vote
1 answer
21 views

How do I generate cardano wallet offline

quick question. for the wallet generation with address and private keys. can we do it without setting up our node or using any public node, just by using algorithms or any client library? in any ...
Sudhanshu Sinha's user avatar
0 votes
0 answers
25 views

How do I change the -with-rtsopts flags when I execute cardano-node?

I want to specify some extra flags like --nonmoving-gc and -N (with the right amount of CPU cores that I want my cardano-node to execute in - my server has 16 CPU cores) in my +RTS configuration. What ...
Falcon Stakepool's user avatar
0 votes
0 answers
6 views

Setup dev enviroment locally fails on cabal test homework

Hi i setup the dev environment according to the youtube video, "cabal update" worked, but the second command does not work for me: root@c26be85e2bf4:/workspace/code/Week02# cabal test ...
wutzebaer's user avatar
  • 691
1 vote
0 answers
12 views

redeeming from PlutusV3 script fails

This is the code of my smart contract. It basically requires exactly 3 reference inputs to pass validation. {-# LANGUAGE NoImplicitPrelude #-} {-# LANGUAGE TemplateHaskell #-} {-# LANGUAGE ...
Reeshav Acharya's user avatar
0 votes
0 answers
10 views

How to incorporate a 3rd party signature transaction using the Cardano CLI tools?

I'm trying to use the HEX encoded signature I've received from Fireblocks API when using their Raw Signing functionality, however I'm not sure how to use the encoded content when it comes to signing ...
rsmolcic's user avatar
0 votes
0 answers
9 views

Installed node and stuck with wallet error

I'm using this link https://developers.cardano.org/docs/get-started/installing-cardano-wallet/ And All is done except this step "cabal install cardano-wallet" When i try to execute it all i ...
lokiys's user avatar
  • 1
1 vote
1 answer
22 views

Staking native token on Cardano

Can you please help me. Smart contracts (or some other way) for staking are possible on Cardano? Is this possible? User should be able to stake own (native) token on platform Reward formula: Stake ...
Zmicer's user avatar
  • 11
0 votes
0 answers
28 views

How to connect cardano-db-sync to cardano node running on private cardano network?

After trying to connect cardano-db-sync to a cardano node running on a private cardano network, we are encountering multiple errors regarding the config files used. For example, missing keys in the ...
Aramis Facchinetti's user avatar
0 votes
1 answer
19 views

How to make relay node receive mempool txs without becoming a spo?

I want my relay to receive mempool txs just like how a stakepool operator's relay nodes work (preferably in p2p), i have tried topology updater before but as people are moving to p2p, peers i get ...
karlo's user avatar
  • 1
0 votes
0 answers
13 views

Can we calculate transaction hash from the data?

Can we Calculate the transaction has from the data that we receive from blockfrost. I would like to compare the transaction hash (already present) with the has calculated from the data from Blockfrost ...
Rahat's user avatar
  • 1
0 votes
1 answer
64 views

Error Applying Redeemer Lucid

I get this error when trying to unlock funds from an UTXO in a contract address: Uncaught (in promise) "Redeemer (Spend, 0): Attempted to apply a non-function:\n\nCon(\n Unit,\n)\n\nExBudget {\...
user3755529's user avatar
0 votes
0 answers
9 views

Understanding a weird Cardano transaction with repeated addresses

Can anyone explain this transaction? https://cardanoscan.io/transaction/4911eeec04808b593a34f527bc54ca9c6bf511d6e1ce2a8d2f813f7faaaaa9c9?tab=summary It features one input and, as outputs, includes the ...
bkv's user avatar
  • 1
0 votes
0 answers
13 views

Plutus Relese 1.21.0.0 is causing AlwaysPass validator to fail

I recently updated my project to plutus tag-1.21.0.0 for a minting contract, the validator is: {-# INLINEABLE mkValidator #-} mkValidator :: MintScriptParameter -> MintRedeemer -> ScriptContext -...
Reeshav Acharya's user avatar
1 vote
0 answers
29 views

Build Transaction to Transfer Native Token

I need to build a Cardano transaction that transfers a Native Asset/Token. I am working in Go, using this library: https://github.com/echovl/cardano-go. I can see an example showing how to mint assets,...
csknk's user avatar
  • 111
0 votes
0 answers
20 views

How to Write Nested Datum in Lucid

I have this in Aiken: pub type Player { X, O, } pub type Board = List<List<Option<Player>>> let datum = Datum { board: [[Some(X), Some(O), Some(O)], [Some(X), Some(O), None],...
user3755529's user avatar
0 votes
0 answers
7 views

nix-build for Pluto takes hours -- stills haven't finished

I have installed Nix 2.20.5 in my ubuntu 22.04.4, following Readme I ran nix-build in Pluto directory. It's taking several hours(>4) in building packages,not sure hong long it will need to finish ...
user1532146's user avatar
0 votes
0 answers
4 views

Find contents of a address from script context

I’m trying to find if a particular address submitting a transaction contains a NFT. Not necessarily the transaction itself but the address in general contains the NFT. I was looking at using ...
mrsargent's user avatar
  • 121
0 votes
0 answers
6 views

How to identify that a tx is one where an asset of a given policy changed ownership

By querying db-sync using postgresql queries, how can I identify that a tx is one where an asset of the given policy changed ownership? Is checking if any asset of the policy is on one address as an ...
RelevantData's user avatar
1 vote
2 answers
38 views

How to query latest transaction for a policy where an asset of that policy changed address/ownership

How can I return the latest transaction where any asset of a given policy changed address/ownership? Here is a query which returns me the most recent transaction which included an asset of a given ...
RelevantData's user avatar
1 vote
1 answer
24 views

What number of confirmations is considered secure in Cardano?

There is k finalization param in Ouroboros, but it is absolutely non-practical. It takes around 36 hours AFAIU.
uhbif19's user avatar
  • 121
0 votes
1 answer
24 views

Querying db-sync for ADA Balance

I want to write the ADA balance of my wallet to a console window using sql queries against the db-sync database. How can I use sql statements to obtain the ADA balance of a given address by querying ...
RelevantData's user avatar
0 votes
2 answers
36 views

Plutus-tx on XEON v2

I am trying to compile plutus script on 'Intel(R) Xeon(R) CPU E5-2680 v2' machine. I initialized nix flake from input-output-hk/iogx haskell template (tried with ghc96 and ghc92), entered development ...
amakarov's user avatar
  • 101
0 votes
0 answers
19 views

Minting and spending from the same script in a single transaction

I have a state NFT token locked in an hybrid script written in Aiken. I want to : spend this NFT state to the script itself ( with a new datum which stores the new issuance state ) mint tokens I want ...
regisg's user avatar
  • 191
0 votes
0 answers
22 views

Eternl not able to send ADA to Kucoin (Error 400)

I'm not sure where the problem is. I'm trying to send some tokens from my eternl wallet to my kucoin address. I've copied the address using the copy button from kucoin so I don't think it's because it'...
Sellin's user avatar
  • 1
1 vote
2 answers
130 views

Where can I find Cardano implementation repository?

For Bitcoin and Ethereum I can easily find repositories with their implementations. Where is an equivalent for that for Cardano? I have found this repository but I am confused by the name of the owner ...
bridgemnc's user avatar
  • 125
0 votes
0 answers
76 views

mesh starter template cant find wallet

Ok so when running this live demo https://starter-template.meshjs.dev/ the "Connect wallet" button does not show any wallets. Even if I have installed Yoroi (and others) wallet extension in ...
Nils Christian Bonnevie's user avatar
0 votes
0 answers
29 views

To create a dead-end "burning mechanism" contract for a specific native token

I am not sure how this should, or could, be done on Cardano... I would like an address/script which, if a specific native token were submitted there, that token would become permanently irretrievable. ...
RelevantData's user avatar
1 vote
1 answer
19 views

Does Cardano has flash loans DeFi?

Does Cardano has flash loans implemented? Are they available in production? If not: are there potential problems with eUTxO model, preventing their usage?
uhbif19's user avatar
  • 121
0 votes
1 answer
5 views

What does "Exception: unpaired digit" digit mean when trying to use the "assetClassValue" function?

Attempting to use function : assetClassValue (assetClass "67890" "PussToken") 100 Value (Map [(678900,Map [("PussToken",100)])]) Getting error -> Value (Map [(*** ...
Basho's user avatar
  • 13
0 votes
1 answer
28 views

Could we remove old data in cardano-db-sync table (PostgreSQL)?

I'm trying to improve the performance of cardano-db-sync's database by removing unused tables (truncate block table) and deleting old data from the tx_out table. However after re-start the cardano-db-...
manhdt's user avatar
  • 125
0 votes
0 answers
11 views

How to continue syncing the newest data after importing snapshot data completed

I'm trying to sync the newest data from Cardano-db-sync, but after importing snapshot data successfully. I don't know how to continue to sync new data in realtime. There is an example here https://...
manhdt's user avatar
  • 125
1 vote
1 answer
42 views

Is there any way to check reward address value?

Smart contract should allow the reward withdrawal only if all rewards are withdrawn. In other words only if the reward address will have exactly 0 lovelaces after the reward withdrawal. Is there any ...
dmitry_stas's user avatar
0 votes
0 answers
25 views

Why is "Current Time" (slot) validating script logic when its interval is not contained within the deadline interval (as defined in script logic)?

I have locked my "deadline" (which is set into the future) in "POSIXTime" to the On-Chain Datum of my contract. To unlock it, I am using the "current time" (aka current ...
Basho's user avatar
  • 13
0 votes
0 answers
11 views

Multiple NFT meta in the tx_metadata.json of a single asset?

In some, not all cases, when I retrieve the tx_metadata.json of a given fingerprint (of an NFT), the json contains the meta of several NFT's, redundantly. I cannot seem to see any sensible way of ...
RelevantData's user avatar
1 vote
1 answer
41 views

cardano-db-sync sql query for assets of a wallet

I am trying to develop the PostgreSQL query that will return all the assets of a given stake address and their respective quantities. What needs to be joined and queried in order to determine what's ...
RelevantData's user avatar
1 vote
1 answer
45 views

DB Sync Upgrade to v 3.1.1.3 snapshot restore (4 days old) running "extra migration consumed_tx_out". Why is new column not included in snapshot?

Interested to understand why db sync snap shot does not include new consumed_tx_out column. Just upgraded to v3.1.1.3 using manual method (not docker) and restored most recent db snapshot from 4 days ...
Nicholas's user avatar
0 votes
1 answer
15 views

Any helpful resources to build with the Laravel framework and php?

There are good libraries for Javascript frameworks to build dApp like Meshjs, Lucid, etc. I'm new to PHP and the Laravel framework. Is it possible to integrate those JavaScript libraries, with the ...
Fayaz's user avatar
  • 1
0 votes
1 answer
16 views

How to find the last time an asset was transferred from one wallet to another

Sounds easy enough to do with something like Blockfrost but the best method I could find involved many API calls to different endpoints. It doesn't sound like something that should be too hard so ...
Jack's user avatar
  • 1
0 votes
0 answers
17 views

Receiving "Handling input offset" message during db sync 3.1.1.3 update - going on 20 hours now. Is this normal?

Performing db sync update to 3.1.1.3 and waiting while server processes fix. Currently receiving Handling input offset message as part of SQL update, been running for approximately 20 hours now. Is ...
Nicholas's user avatar
0 votes
0 answers
24 views

`cardano-tracer`: `VersionMismatch` error during handshake

Good day. I'm trying to see how cardano-tracer works in depth and for tests I'm trying to connect it to the node created by cardano-testnet, but getting this error: "cardano-tracer, connection ...
Mikhail Lazarev's user avatar
0 votes
0 answers
23 views

Plutus-pioneer-progra cabal build error

when I built plutus-pioneer-program lecture week2, I got the error like this /root/.cabal/store/ghc-8.10.7/cardano-crypto-praos-2.1.0.0-6256b7c51bff5ecd7a4cd62d0cae080568903ed67a7b8424037c5be2d1c7a1d9/...
Jinn Zh's user avatar
0 votes
1 answer
29 views

Metadata Label Registry

Is there an official "label registry" for (transaction) metadata? CIP 10 proposed such a registry, but I can not find it implemented anywhere.
a_juggler's user avatar
-2 votes
1 answer
24 views

What's the best wallet for Cardano?

I'm new to crypto all together. I was just wandering what you all think the best cardano wallet is? I found a interesting post talking about it here. I heard that ledger was the best choice. I'm ...
Maxwell Pepper's user avatar
1 vote
1 answer
42 views

Using cardano-cli, is their any way to decode a plutus script which is in cbor?

I am using "cardano-cli text-view decode-cbor --in-file mint.plutus" which is just returning the cbor portion as a result. Even tried saving an --out-file via: .json etc...But gives me ...
Basho's user avatar
  • 13
0 votes
0 answers
67 views

Cabal build all failed with "Failed to build Diff-0.5"

Preprocessing library for base58-bytestring-0.1.0.. Building library for base58-bytestring-0.1.0.. [1 of 2] Compiling Data.ByteString.Base58.Internal ( src/Data/ByteString/Base58/Internal.hs, dist/...
Nachiket Subbaraman's user avatar

15 30 50 per page
1
2 3 4 5
56