All Questions
2,650
questions
0
votes
1
answer
33
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
...
1
vote
1
answer
34
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-...
0
votes
2
answers
57
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 ...
1
vote
1
answer
18
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?
0
votes
1
answer
22
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 ...
1
vote
1
answer
46
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/...
1
vote
0
answers
19
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 ...
1
vote
4
answers
70
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?
0
votes
0
answers
5
views
Reference to a name which is not a local
I'm trying to run unsafeFromBuiltinData against the following type used as redeemer:
data TypeA= A PaymentPubKeyHash
| B PaymentPubKeyHash
deriving (Show, P.Eq)
...
0
votes
1
answer
80
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,
...
1
vote
1
answer
34
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 ...
0
votes
2
answers
82
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 ...
2
votes
1
answer
44
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?
0
votes
0
answers
21
views
Does someone know how to integrate the plutus docs snippets on Sublime text?
I want to integrate the plutus docs provided in the ppp, which is initialized this way:
python3 -m http.server -d ../plutus-pioneer-program/docs/plutus-docs/haddock
I already installed the LSP(...
0
votes
1
answer
75
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,...
0
votes
1
answer
56
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 ...
1
vote
1
answer
22
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.
1
vote
1
answer
77
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?
0
votes
1
answer
12
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:...
1
vote
0
answers
21
views
setup a Plutus project use haskell.nix Error on Mac M1
I'm trying to set up a Plutus project with flake on my Macbook by IOHK document
I did the following steps:
create default.nix
enter command nix flake init --template templates#haskell-nix --impure
...
0
votes
1
answer
52
views
Can anyone provide an easy to understand script that sends ADA using the Cardano Serialization Lib?
new to coding here. (obviously)
I am looking to understand how this works, and I am sure if I physically see the code I will pick up on it quick.
I am looking for a very simple script that sends ADA ...
0
votes
1
answer
24
views
Minting with MESH - Error Missing key witness for: 1e101f14d
Having an issue trying to mint an NFT with my own policy. It's throwing the error below:
Missing key witness for: 1e101f14d07f203b01f8.....
I am not sure what to do here and any assistance would be ...
1
vote
1
answer
30
views
How to correctly identify NFTs and FTs?
Here are some tokens: how would I differentiate NFTs from FTs in this case?
I am confused as "AdaFarm860" seems to be a NFT but it has a quantity of "4". I am having some trouble ...
0
votes
1
answer
22
views
How to get total fees of a NFT transaction in cardano blockchain?
Is there any api for to get transaction fees of the NFTs when buy or sold and does the transaction fees includes Royalty fees ?
1
vote
0
answers
42
views
Building a transaction that will require both payment and stake key signature using Cardano Serialization Lib
Usually, when a build a simple transaction such as making a payment, the transaction usually requires the buyer's payment key. Here is an example transaction I made with Cardano Serialization Lib.
// ...
2
votes
1
answer
29
views
Api for historical USD rates?
I want to fetch the historical USD rates from a timestamp, is there any api available for that could be used in javascript?
0
votes
1
answer
12
views
Daedalus synch problem
Not always, but very often the Daedalus wallet seems to synchronize completely again. Shouldn't the downloaded blockchain be permanently on the computer and then only the missing rest be synchronized?
3
votes
1
answer
68
views
Can't collect utxo from the gift script address
I'm following Plutus Pioneers Program, 4th Cohort.
In the 2nd week we learned the smart contract Gift.hs
-- This validator always succeeds
mkGiftValidator :: BuiltinData -> BuiltinData -> ...
1
vote
0
answers
6
views
Can I communicate with my local test net via REST/WebAPI
I am using this https://github.com/woofpool/cardano-private-testnet-setup to run my local testnet.
I was using this
const CardanocliJs = require('cardanocli-js');
const cardano = new CardanocliJs(...
0
votes
2
answers
25
views
Does nmkr.io provide public api?
Does nmkr.io provide free usable cardano apis for NFTS or do we have to mint the nfts and build a project on their platform something like that ...and then we can use their api because in their apis ...
1
vote
1
answer
26
views
Week02 Homework 1
I am getting type mismatch when I use traceIfFalse. What could be be reason? And how could I get this resolved. I also noticed that it didn't fail while I build lecture examples.
Couldn't match ...
0
votes
1
answer
19
views
How to fetch data of sold nft from my NAMI wallet through api?
I am using "https://api.opencnft.io/1/asset/{asset}/tx" which gives the buy price and timestamp of an NFT, I have to fetch the data(Sold Price, Timestamp) of the NFT when it is sold then how ...
0
votes
4
answers
35
views
Recover a Cardano wallet offline
Is there a way to recover or generate the addresses of my wallet (24 seed) without using external servers (JavaScript)? Just like we do with other blockchains?
Example: https://iancoleman.io/bip39/
0
votes
1
answer
68
views
The Plutus script evaluation failed [Homework Week 02]
I'm a have problem unlocking the smart contracts of the homework of week 02.
The Plutus code:
{-# LANGUAGE DataKinds #-}
{-# LANGUAGE ImportQualifiedPost #-}
{-# LANGUAGE NoImplicitPrelude ...
3
votes
2
answers
39
views
Rust off-chain solutions
I am interested in learning Rust and I thought a good idea of doing so would be to build something on Cardano. What libraries and resources would you recommend for someone like me? I am specially ...
1
vote
1
answer
27
views
Is cardano native token ADA is same as the ADA balance I have in the wallet?
Is the number of cardano native tokens ADA is same as the ADA balance I have in the wallet?
1
vote
1
answer
44
views
Mint the royalty token with pycardano
Good morning everyone,
I have a question regarding the royalty token. I've already read about this subject, and I understand that I need to mint a token with metadata like this:
{
"777": ...
0
votes
1
answer
28
views
Unable to convert BuiltinString to JSON
I would like to include a BuiltinString in a datum but am unable to do so as BuiltinString has neither a FromJSON nor a ToJSON instance. Is there an alternative to implementing these instances by hand?...
2
votes
1
answer
48
views
Can't collect due to a non existent script
I'm following Plutus Pioneers Program, 4th Cohort, I'm at Week 2 on testnet
I'm struggling a bit collecting the gift, I have do a slightly modified version of Gift, creating it works as expect:
$ ...
2
votes
1
answer
46
views
Which API can give the buy price and sold price of NFT of cardano blockchain?
I am working on Cardano NFT tool kit, which basically shows the NFT's owned by a user. The tool kit shows the various information about NFT stored in wallet like (Buy Price, Sold Price, Rarity, ...
1
vote
1
answer
18
views
Can I view a Plutus smart contract on the NFT marketplace?
Can I view a Plutus smart contract of an NFT from the marketplace like (JPG store) and what is PubKeyHash ?
1
vote
0
answers
12
views
Comparing VALUES in a smart contract. How to know if they will be normalized or not?
I need to make VALUES comparisons on chain.
I realized that if a use the (==) operator from Plutus it is very inefficient in matter of memory and cpu steps needed to compute.
(https://github.com/input-...
0
votes
1
answer
33
views
Cardano-cli minting gives FeeTooSmallUTxO error when no collateral
For minting some tokens I use this transaction:
cardano-cli transaction build
--testnet-magic 2
--tx-in-collateral 44ed21bc50eecc24e892a5bad4a98f2187b66d1f5074db22763cbc69fb5910b6#1
--tx-in ...
0
votes
1
answer
34
views
TypeError: a bytes-like object is required, not 'Transaction'
I am trying to use the https://github.com/Python-Cardano/pycardano/blob/main/examples/native_token.py with minor changes, like pointing to mainnet (have tried preview as well). I have updated the ...
1
vote
3
answers
49
views
How to differenciate between fungible token and NFT from their API data?
I am fetching assets stored in my wallet address. I want to seperate the fungible tokens and NFTs , on what basis I can differenciate both of them from data I am fetching from API (opencnft.io) like ...
1
vote
1
answer
45
views
Is Plutus off-chain code relevant for testing?
It was mentioned in lecture 1 that in this fourth cohort of the PPP we won't need to learn to write off-chain code in Plutus/Haskell. Nevertheless it appears that testing uses the emulator and it ...
0
votes
1
answer
29
views
Sources of cardano rest api
While testing some tangocrypto api , it is asking for "collection_id" which I don't know what is it.
So are there any Rest API providers other than (tangocrypto.com, blockFrost.com and ...
0
votes
0
answers
12
views
Transaction collateral inputs for specified transaction hash
In cardano-db-sync, how would you go about returning all transaction collateral inputs for a given transaction hash?
Similar to the interesting queries documented here I thought that something like ...
0
votes
0
answers
7
views
How can I stop Daedalus from 'Whiting Out'?
For the last few versions, including the current update, I've experienced the Daedalus application interface going completely. It appears to continue syncing, although the cursor is replaced by the ...
0
votes
1
answer
20
views
How to create Policy Id using cardano serlization lib?
I was wondering how to create the policy Id/script for the cardano assets.
I am new to cardano blockchain but I have worked on Ethereum. I read the docs provided by the cardano officials but couldn't ...