Questions tagged [native-assets]

tokens created on the Cardano network

Filter by
Sorted by
Tagged with
1
vote
2answers
55 views

Are negative values valid quantities in native assets?

In Cardano's Alonzo CDDL (Concise Data Definition Language) specification, it seems that the value of an asset could be negative. Is it correct? If the above assumption is correct, I am wondering how ...
3
votes
2answers
410 views

If metadata can be changed, how can the uniqueness of an NFT can be guaranteed?

Let's say, there's manufacturer that produces luxury watches, and he uses Cardano NFTs to track their authenticity. He embeds unique serial number of a watch into metadata of NFT. One watch - one NFT,...
0
votes
1answer
12 views

ad-hoc policy lock

It's possible to create a policy which can no longer be used to mint/burn after a given slot. The following object in a policy.script handles that: { "type": "before", &...
3
votes
0answers
27 views

Where can I find design and documentation resources on Plutus Staking smartcontracts?

When I was exploring haddock of Plutus I have found that Plutus script can have Rewarding ScriptPurpose: data ScriptPurpose = Minting CurrencySymbol | Spending TxOutRef | Rewarding ...
0
votes
0answers
8 views

Nodejs Native token transaction

I am looking to build a native token transaction in nodeJS using either Cardanocli-Js or Cardano-wallet js but the documentation is massively lacking can anyone give me an example i can look over to ...
1
vote
0answers
22 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?
1
vote
1answer
65 views

How does one-time minting policy actually work?

In week 5 of plutus-pioneer-program with NFT example this plutus minting policy code is provided: {-# INLINABLE mkPolicy #-} mkPolicy :: TxOutRef -> TokenName -> () -> ScriptContext -> ...
0
votes
2answers
24 views

Is there an easy way to see how many NFT's exist on the Cardano blockchain?

I would like to get the number of all NFT's ever created on Cardano. This means all native assets with a supply of 1. Is there a website where I can find this information or are there tools that can ...
0
votes
1answer
28 views

Question about policy ID for native assets

If the policy ID for a some native token looks like this: { "keyHash": "wfwrfasdfasdfsadk4tjwljaldk1234567789123455678", "type": "sig" } Can the token be ...
0
votes
2answers
53 views

Why is ADA locked up with native assets and can it be detached from the native assets?

In Yoroi I can see that there is some ADA locked up with my native assets: Can I spend this ADA without the native asset? If I would not care about the native asset, could I create a transaction that ...
0
votes
2answers
33 views

cardano-cli transaction build-raw error

I've minted 1,000,000,000,000,000 SLIME coin following this guide https://developers.cardano.org/docs/native-tokens/minting/#prerequisites but I'm getting an error at the "Sending tokens to a ...
1
vote
1answer
60 views

About building a transaction using the cli

I've been following this guide https://developers.cardano.org/docs/native-tokens/minting to mint some native tokens but the process of sending native tokens to an address that has multiple UTXOs when ...
0
votes
2answers
41 views

What is the output from a transaction when burning tokens?

I'm submitting a transaction to burn token to the blockfrost API and receives the following error (ApplyTxError [UtxowFailure (WrappedShelleyEraFailure (UtxoFailure ...
0
votes
1answer
109 views

cardano-cli transaction submit example with native assets

I'm having trouble using the cardano-cli to send one tx. I have one address with 9 ADA and 10,000,000 each of two tokens with the same minting policy and I want to send 5,000,000 ADA of each token to ...
0
votes
2answers
96 views

Why does 'cardano-cli query utxo --address $address --mainnet' return an empty list?

I'm trying to list all the utxo's at my Yoroi wallet address. I set the variable 'address' as my receiving address but when I run the command, cardano-cli query utxo --address $address --mainnet, ...
0
votes
0answers
3 views

Can a native asset have different rules for minting and burning when using SimpleScripts?

Could I for example have one key to only be used for minting tokens and another only for burning? Or does this require Plutus script?
1
vote
2answers
134 views

Can Nami wallet provide the TransactionWitnessSet for minting a native asset?

I'm trying to mint a native asset reusing the keys that Nami already uses. This is to make a minting service that is connected to a specific wallet, and that wallet is always able to mint more tokens ...
2
votes
2answers
44 views

Is it possible to specify metadata for native asset on-chain?

I know about token registry, which is off-chain, but I noticed that some tokens such as HOSKY are not in token registry and yet they have logo, description, URL and coin name visible on pool.pm. Is it ...
0
votes
1answer
66 views

OutputTooSmallUTxO error

I'm following these steps and I get the OutputTooSmallUTxO error. Not sure what I missed from the steps but here's my parameters and the error as a whole. tokenname1="Testtoken" tokenname2=&...
0
votes
1answer
44 views

Is it possible to change the name of a minted native asset?

Native assets are defined by a fingerprint. This is decoupled from the name, so far as I know. Is it possible to modify the name of the asset after minting it?
1
vote
1answer
66 views

Using cardano-wallet to mint native assets

The cardano-wallet api documentation describes an endpoint which appears useful for minting native assets (https://input-output-hk.github.io/cardano-wallet/api/edge/#operation/mintBurnAssets). ...
1
vote
1answer
51 views

Get a list of top asset hodlers for a specific asset

I'm using the Blockfrost API to get a list of the top holders of an asset. ie. The people with the highest quantity of this asset in their wallet. I'm using Blockfrost's API, and the specific call I'm ...
2
votes
1answer
40 views

Minting Native Assests - Error Building the Raw Transaction: $output variable

I'm following this doc on how to mint native assets with Cardano and have received an error that I can't get around. The problem is with the $output variable in the $tx-out parameter of the cardano-...
0
votes
0answers
35 views

How to check the minting policy script for an asset [duplicate]

Given the policy ID of an asset, how can one find out its' minting policy script (validation rules)? I've used CardanoScan so far. It is able to show the current token supply, holders and transactions ...
1
vote
2answers
101 views

Airdrop Mechanism

I'm trying to find information about native token Airdrops. What is the mechanism? For example, the user send 5 ADA to the wallet of the project and the smart contract will send you back (2.5 x Amount ...
4
votes
1answer
316 views

How to mint multiple NFT assets in the same transaction?

The developer guide doesn't cover this. Here is an example of what I'm trying to do: https://cardanoscan.io/transaction/e1c7bc707e56bf37b4325dc4b7fe524eafe8ca746e54746d60b321588ffebb6c?tab=tokenmint I ...
1
vote
0answers
33 views

Staking native assets (to stake pools)?

Is there support built in to Cardano for stake pools to receive staking of native assets? For example, the Meld Protocol plans to include staking of Meld tokens. Are they likely to / able to use (...
2
votes
2answers
114 views

How to burn Cardano token after the 'invalid after' passes?

My token policy script is: all: [ { invalidAfter: 40951072 }, { pubKey: "36ed345d252a242ad67072db79e5736866fa58ebe3fd782739208ef6" }...
1
vote
2answers
61 views

Burn token using blockfrost java sdk?

Does anyone have an example how to burn a NFT using the blockfrost.io java SDK or Javascript SDK? Thanks a lot in advance.
0
votes
1answer
95 views

How to search for an NFT asset name?

Let's say, I have created an asset with name 'xyz' and I want to search for all the nfts with this asset name on the chain. How and where do I do that ?
3
votes
2answers
119 views

Is ada an asset, token, both, neither?

According to the docs, ADA is an asset and a token, but they also indicate that tokens are on-chain versions of some off-chain asset. They also compare ADA and tokens in ways to imply that they are ...
3
votes
1answer
38 views

checkMintedSymbol

What exactly this function is validating? checkMintedSymbol :: Bool checkMintedSymbol = case flattenValue (txInfoMint info) of [(cs', _, _)] -> cs' == ownCurrencySymbol ctx _ -&...
3
votes
1answer
85 views

Define a native token minting policy restricted by NFT

I have found examples indicating that a minting policy can be single shot or restricted by PubKeys, however I would like to secure minting and burning of a token based on if a specific NFT is present ...
0
votes
1answer
178 views

How can I mint a token without a name for NFT royalties?

The proposal for Cardano NFT royalties CIP-0027 suggests that a nameless token should be used to store the royalties information. Usually a mint transaction looks something like this: cardano-cli ...
2
votes
1answer
209 views

How to send a transaction for Cardano native assets via CLI?

For example to list UTXO is something like this cardano-cli query utxo —mainnet —address addrX which returns as an example TxHash TxIx ...
4
votes
2answers
73 views

What is the most trusted Third party tool for Minting Native Tokens on cardano?

I have come across many Third party minting sites, however, I have a security concern, as per the keys, and policies. So what is the most trusted Third party tool for Minting Native Tokens on cardano?
5
votes
1answer
133 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 ...
4
votes
2answers
125 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?
5
votes
3answers
444 views

Is Cardano pushing developers into an Ethereum-type account model?

Cardano is build on the eUTxO model which it prides to be more robust and easy to think about than the Ethereum account model. When Cardano introduced native tokens it also was proud to announce their ...
7
votes
5answers
303 views

The feasibility of stable coins given the min-Ada-value requirement

Cardano requires that every transaction output contains at least a value of 1 Ada. As the documentation points out, this means that it is not possible to send only native tokens in a transaction. I ...
5
votes
1answer
66 views

Is there a limit to the integer size representing a native token supply?

Is there a limit to the integer size representing a native token supply in Plutus? Does it share the same limit as Haskell GHC's native Integer representation of ~16GB (if I am not wrong). Does ...
5
votes
1answer
92 views

How do I get my Native Token listed on an exchange?

What does it require to be able to list my Native Token in exchanges, so that users of my ecosystem can buy it?
5
votes
1answer
70 views

Should I hold ADA as company to pay fees and issue Native Tokens for my game?

As far I know Carano will allow to pay fees in Native Tokens, so fees will be on ADA + a reward. But I have questions about it after reading this blog post from IOHK. If I'm running the economy of my ...
1
vote
2answers
102 views

How to permanently persist an arbitrary hash string in the blockchain?

I have an interesting use case for permanently storing an arbitrary hash string somewhere "reliable" publicly and, very important, with a trustworthy timestamp. For me, this sounds like a ...
9
votes
3answers
223 views

Is there a limit on how many distinct tokens can be sent in one transaction?

Let's say someone has 10'000 different tokens on one address. Each token is in a single UTxO. Would it be possible to send them all in one transaction to another address (or the same address), so they ...
1
vote
1answer
181 views

OutputTooSmallUTxO error, trying to send more than 9 tokens

I have a generated wallet, so I need to use these commands to transfer my minted NFT's out. I'm not stuck with this very odd and annoying stuff, saying OutputTooSmallUTxO... I really don't know what ...
3
votes
2answers
243 views

Is there an API or website where I can see all addresses that hold a specific native token/asset?

I want to get all addresses that hold a specific native asset/token. I'm not talking about NFTs but tokens that have a quantity of more than one. Examples would be the spacecoins or the hosks. I want ...
2
votes
1answer
310 views

Blockfrost assets api issues

We are developing an app that must get the asset id and get its details from metadata, right now we are using blockfrost.io. It works very good for policy Id's, we can use the pool.pm website and get ...
7
votes
3answers
126 views

Did the token fingerprint hash algorithm change?

I have an question about the asset fingerprint. For example here: https://pool.pm/333427e94971f530653bb945f34f914252ad570c0b84dfd8c8e8c97b.ExtraHate067 it shows ...
5
votes
3answers
700 views

Is it possible to send a native token to another wallet while sending the minimum amount of ADA to my own wallet?

Every transaction needs to include at least 1 ADA (See: Is there a minimum amount of ADA I can send in a transaction?). I want to send a native token to someone else, but I don't want to send them the ...