All Questions
11
questions
0
votes
1
answer
82
views
Need to Retrieve Info from (NFT)Assets in Policy ID to see if they are in a Plutus Contract (smart contract) or Not using Blockfrost API
I have a python script that retrieves the NFT asset name, and addresses of a specific policy ID using blockfrost API. Now I need to amend the script to add to the csv whether or not the specific asset ...
1
vote
1
answer
54
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, ...
0
votes
1
answer
119
views
Can't create ```TokenName``` using ```tokenName``` with error ```GHC Core to PLC plugin: E042:Error: Unsupported feature: ...```
I'm not sure is relevant but the code in question is for a generic Validator (with Datums and Redeemers) used to get a forwarded minting policy
the problem should be clear from the title, I can't get ...
1
vote
1
answer
85
views
"'Inputs do not conform to this spec or are otherwise invalid.'" - extract balance from smart contract
I'm implementing a smart-contract in Plutus and I'm with a doubt. For example, Ethereum has some function only to owners, that enables to implement a withdraw of balance for only owner addresses.
I ...
1
vote
2
answers
44
views
checkDeadline function always returning False
I am trying to make a minting policy that fails after a certain deadline.
I have tried something like this
{-# INLINABLE mkTokenPolicy #-}
mkTokenPolicy :: TxOutRef -> TokenName -> Integer -> ...
5
votes
2
answers
413
views
Can you burn/lock/self-destruct NFTs in a a smart contract?
I am involved in an NFT project where there is a policy locking date coming up, but I would like to give the option burn/lock/self-destruct the NFT through a smart contract (SC) at any time after that ...
0
votes
1
answer
110
views
I have a smart contract in Ethereum. Is there a way to migrate it over to Cardano?
I have a smart contract for an NFT in Ethereum and I'd like to put it in the Cardano eco system as well. How can I do that? Is there any 'smart contract bridge' through which I can port it over?
0
votes
1
answer
161
views
Should I use Marlowe or Plutus to create my native token?
Should I use Marlowe or Plutus to create my token?
I also want to create a TCG in which my token will have an utility.
Where should i start? (tutorial, how-to, examples ...).
3
votes
1
answer
214
views
Can a smart contract read the presence of an NFT in the redeemers wallet?
I want to use an NFT as a form of authentication for a Plutus contract.
I know I can attach the NFT in the Datum when constructing the transaction and return the NFT in the output however I am worried ...
2
votes
1
answer
160
views
Getting the address of a parameterized contract from within the validator of another script
Suppose I have one contract, Contract 1, that is parameterized by type
Contract1Params{
tokenName :: BuiltinByteString
}
and I have a minting policy that will only mint a token with tokenName tn ...
8
votes
2
answers
655
views
Is there a good tutorial to mint Cardano NFT using plutus script?
I used to mint Cardano NFT using "Time locking" following this guide https://developers.cardano.org/docs/native-tokens/minting-nfts/. But I know the more formal way is to use plutus script ...