Questions tagged [native-assets]

tokens created on the Cardano network

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

How to create a Cardano private network

I need help with a project proposal, but I think this topic could be interesting for many developers and architects. Does somebody know how to start to build a private Cardano network or where I can ...
ValerioM's user avatar
1 vote
2 answers
68 views

How can I allow users to update a public array of data based on whether they own a token or not?

I want to construct public lists that can be altered by people who own a specific token. Is there a way I can group data together into an array like structure and allow users to append to it? I ...
kannastor's user avatar
0 votes
2 answers
167 views

Is there a way to validate a policy Id,and to check if a string is an actual policy id?

im trying to build something in cardano, and i want to check if policy id provided by the user is an actual policyid? after research i found that blake2b_224 is used for hashing the policy id,is there ...
HoussamHT's user avatar
0 votes
1 answer
202 views

Cardano-cli error: "Invalid argument `"type":'"

I'm new and I'm following cardano developers tutorial to create NFT. I arrived at some modified code for what I wanted to do. But get this "Invalid argument `"type":'" error. When ...
Koki's user avatar
  • 1
2 votes
1 answer
25 views

Automatically "taxing" native token transactions

To fund the "commons" for some community with some token T, it might make sense to "tax" transactions within this community, similarly to how a gas fee funds the operations of the ...
Johannes Ernst's user avatar
2 votes
3 answers
135 views

Error Reading metadata while trying to mint token

I am trying to mint the token using this command. to testnet. cardano-cli transaction build-raw \ > --fee 188865 \ > --tx-in 540f0a1e27b64da69059d8b5ff22c542a53d31d5f01fedc6a0094879efb7152d#0 \ &...
arunwebber's user avatar
3 votes
1 answer
98 views

Properly (safely) verify that transaction contains an Cardano Native Token or NFT

All the available on-chain validator programs that limit certain redeemer actions to transactions containing an NFT use hasToken :: TxOut -> Bool hasToken txOut = assetClassValueOf (txOutValue ...
Philip DiSarro's user avatar
1 vote
2 answers
88 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 ...
tahzeeb sattar's user avatar
0 votes
1 answer
171 views

How to mint a token on testnet?

Now I am experimenting to mint a token on cardano testnet I have installed the followings like deadalus wallet for testnet and cli tools as well.Then I recived ada from the testnet to the testnet ...
arunwebber's user avatar
1 vote
2 answers
60 views

How can I grant an NFT holder a one time action in a web app?

I would like users to be able to perform a one time action on a web app, i.e. claiming one physical item per NFT owned, what would be the best way to keep track of tokens that have already claimed ...
kannastor's user avatar
0 votes
1 answer
27 views

I have downloaded deadlus wallet from the testnet and now what? [closed]

I have downloaded deadalus wallet for testing with Ada from this link: https://testnets.cardano.org/en/testnets/cardano/get-started/wallet/ I couldn't find a link which helps me to figure out how to ...
arunwebber's user avatar
0 votes
2 answers
108 views

What is the transaction fees for the native tokens in ADA? can i design a wallet exclusively for my own token which is in cardano block chain?

I am looking forward to build tokens in ADA block chain. I have some questions about the transaction fee in at this network such as do I need to sent ADA along with the tokens in order to make the ...
arunwebber's user avatar
1 vote
3 answers
161 views

How to figure out what address to query for utxos when minting

Following the iohk guide to minting assets we identify the input utxo using the following command: cardano-cli query utxo --address $address --testnet-magic 1097911063 This is all well and good if ...
melchoir55's user avatar
1 vote
1 answer
98 views

How to start building native tokens on ADA block chain

I saw this blog post from IOHK about building native tokens on ada network. In this particular post apart from command lines a web interface is being discussed but I can find a valid link on that ...
arunwebber's user avatar
0 votes
1 answer
64 views

build transaction without giving fee, is it possible? --change-address

i have seen in forum.cardano someone giving the parameter --change-address and explaing that we dont have to calculate the fee. does anyone can verify this for mainnet and this current moment, if that ...
TTS17's user avatar
  • 346
1 vote
1 answer
140 views

How can I get the wallet distribution of a token?

I'd like to determine the number of wallet holders for (example) Lobster holders ClayNation owners How can I query this with a full node?
DaedelusDaemon's user avatar
0 votes
2 answers
102 views

Cardano-Cli Transactions with Assets Utxo

I am getting an error when trying to send a transaction with the following Utxos: TxHash TxIx Amount --------------------------------...
user3755529's user avatar
3 votes
2 answers
323 views

What is the value of ADA locked in a Native token?

I was wondering, if ADA locked in an native asset is equally valuable? For me it is like if somebody put a draw on a ticket but there are other implications: it can give trouble when making ...
Alicia Basilio's user avatar
1 vote
0 answers
77 views

script for automation sending tokens [closed]

i just finished my first script and would love to share some ideas and also to listen your opinion for additional development. how the script works and what it does create Log file :) while (looping) ...
TTS17's user avatar
  • 346
1 vote
1 answer
91 views

What is the fastest way of getting PolicyId from an Asset Fingerprint?

Is it possible to retrieve the policyId from an 'asset fingerprint' without any api request to an external source?
tonald's user avatar
  • 13
4 votes
2 answers
185 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 ...
Floof99's user avatar
  • 472
3 votes
3 answers
279 views

send token / asset by cardano-CLI

i am looking so long, but till now didnt find a complete answer about : how to send a token / asset from cardano-cli. can you please help me to go in details about build the transaction from the CLI ? ...
TTS17's user avatar
  • 346
1 vote
2 answers
112 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 ...
Jerry's user avatar
  • 403
3 votes
2 answers
592 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,...
valik402's user avatar
0 votes
1 answer
25 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", &...
melchoir55's user avatar
12 votes
2 answers
179 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 ...
KugisMugis's user avatar
1 vote
0 answers
77 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 ...
Jean-marc melanie's user avatar
1 vote
1 answer
59 views

Is the Cardano Token Registry on Github abandoned/problematic?

Pretty much what the title says, take a look: https://github.com/cardano-foundation/cardano-token-registry There's pull requests 10s of days old, The CI system is failing checks everywhere on ...
Dimitris Sfounis's user avatar
4 votes
1 answer
64 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?
ValerioM's user avatar
0 votes
1 answer
70 views

How to be approved or reviewed on cardano-token-registry?

I made a pull request on cardano-token-registry but after days it's still blocked. How to ask for a review or some type of approval? My request is #1030 Andrea
Andrea Bravetti's user avatar
1 vote
1 answer
354 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 -> ...
KugisMugis's user avatar
0 votes
2 answers
38 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 ...
eddex's user avatar
  • 3,753
1 vote
3 answers
621 views

Is there any way to mint/airdrop tokens and NFTs to members/users without sending them ADA

I have a game I would like to integrate with the Cardano blockchain and I want a good way to airdrop tokens and NFTs to the users for that game. The ways I have been able to find are: Mint directly ...
Andreas Toresäter's user avatar
0 votes
1 answer
142 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 ...
Myles's user avatar
  • 321
1 vote
2 answers
623 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 ...
eddex's user avatar
  • 3,753
0 votes
2 answers
99 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 ...
Myles's user avatar
  • 321
1 vote
1 answer
118 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 ...
Myles's user avatar
  • 321
1 vote
0 answers
251 views

Mint tokens using plutus scripts with the serialization lib

As I understand, in order to mint a token with the serialization-lib, you must use the function set_mint_scripts, providing a NativeScripts object. This collection of NativeScript objects should ...
Mateus's user avatar
  • 978
0 votes
2 answers
306 views

How are airdrops sent to token holders when NFTs do not belong to contracts?

Since NFTs on Cardano do not belong to a contract, how can token holders be rewarded with an airdrop? Do they need to request it themselves by showing proof of ownership?
The Unfun Cat's user avatar
1 vote
2 answers
101 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 ...
Frank Weslien's user avatar
0 votes
1 answer
409 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 ...
Myles's user avatar
  • 321
0 votes
2 answers
352 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, ...
Myles's user avatar
  • 321
0 votes
1 answer
32 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?
Frank Weslien's user avatar
1 vote
2 answers
364 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 ...
Frank Weslien's user avatar
2 votes
2 answers
144 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 ...
Petr's user avatar
  • 195
0 votes
2 answers
321 views

How to send a native token using the cardano-cli?

What are the steps required to build and send a transaction meant to send for example 10,000 tokens to some given address?
Myles's user avatar
  • 321