All Questions
9
questions
0
votes
1
answer
87
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 ...
0
votes
1
answer
51
views
Use a parameterized currencySymbol within a Plutus Validator. Unsupported feature: Type constructor: GHC.Prim.ByteArray#
I have a minting policy which is parameterized by PaymentPubKeyHash and a script which checks that a token from that minting policy has been burned. The script also takes PaymentPubKeyHash as a ...
1
vote
2
answers
95
views
How to embed smart contract in website
I am creating a dapp website and which will reward it's users on completing different tasks. I have to create cardano native tokens. My question is that how can I send, lock and burn native tokens ...
4
votes
2
answers
188
views
What documentation works with handling utxos at the Plutus Script?
I am trying to make a Plutus smart contract which takes tokens locked to the contract and then on endpoint call (purchase) sends 1 to the caller and then the rest back to the contract. I cant find a ...
4
votes
1
answer
67
views
How to mint mint NFT with StateMachine
I would like to mint an NFT in a particular state of the state machine
Does anyone know where I can find some examples?
2
votes
1
answer
78
views
Issues with oracle concurrency
I'm sort of running into an issue with the oracle described in the PPP.
It looks like there is race between the oracle to update the exchange rate and the users to use the exchange rate in a swap.
We ...
4
votes
1
answer
224
views
Change minted tokens recepient
I am trying to create a dApp in which "accounts" are authenticated using a minting policy script. It should work by only allowing the minting of tokens if they are sent to an arbitrary ...
3
votes
2
answers
168
views
Can smart contracts be used to mint native assets?
Cardano doesn't need to use smart contracts to mint native assets. But is it possible to mint native assets using smart contracts? And if so, is there an example how this can be done?