Questions tagged [native-assets]

tokens created on the Cardano network

Filter by
Sorted by
Tagged with
2 votes
1 answer
103 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 (...
3 votes
2 answers
149 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 ...
2 votes
1 answer
585 views

Extracting metadata info of cardano tokens

I am currently working with cardano-db-sync and I am doing research to extract the metadata of all the native tokens. I found out the policy id and asset name can be extracted from cardano-db-sync but ...
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 ...
0 votes
0 answers
38 views

Get Ada locked with asset from db-sync query? [duplicate]

Does anybody know a way to get the locked asset Ada/tAda information from db-sync? identical to the information displayed in Nami wallet? I've tried looking at all the tables, but nothing seems to ...
0 votes
1 answer
54 views

How to Look Up a Token Policy ID from The Smart Contract Validator

I have attached a token to the datum and sent it to the smart contract, now I need the validator to check that the token has a certain policy ID before it allows the contract to proceed. How do I do ...
2 votes
1 answer
143 views

How to query the address that sent a token from cardano-db-sync?

I'm trying to query the token transactions using the schemas of Cardano-db-sync. When querying ADA transactions, I can easily see the input and output addresses with the values sent by joining the tx, ...
0 votes
1 answer
19 views

How can I check the origin of a Token?

A smart contract minted a Token and send it to my wallet, after a time has passed how can I check if that smart-contract in specific did mint the token?
0 votes
1 answer
38 views

How To Get Transaction Royalityies on Fungable Tokens

I want to make a fungible token (FT) that has a royalty attached (N%). The problem is UTxOs are purely passive so how can I get my N% of the transaction value on P2P transactions using code is law. To ...
1 vote
0 answers
26 views

How to Send A Token to an Smart Contract Alongside a Datum?

I asked another question (How to Make Sure A Contract Is Signed By a Certain Party?) and got the answer I expected. It raised the secondary Question of how to send a token with a datum to a smart ...
0 votes
1 answer
89 views

Problem with metadata on pool.pm

I am having some trouble with metadata for NFT I am minting. This is the asset on pool.pm: https://pool.pm/asset1q6fku9qrfld526pfdm746qu3j7wtgvuh5xet9u And again on adaptors.org: https://adapools.org/...
1 vote
2 answers
130 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 ...
8 votes
2 answers
1k views

NFT Image not Displaying in Pool.pm after using the 721 Metadata Standard

I am not seeing the image of the NFT I minted a couple of hours ago on pool.pm. I used the standard recommended by Alessandro Konrad and Smaug in https://github.com/Berry-Pool/CIPs/blob/master/CIP-...
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 ...
1 vote
3 answers
156 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
2 answers
165 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 ...
12 votes
2 answers
178 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 ...
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 ...
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 ...
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 \ &...
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?
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 ...
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 ...
0 votes
1 answer
168 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 ...
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 ...
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 ...
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 ...
4 votes
2 answers
182 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 ...
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 ...
1 vote
1 answer
139 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?
0 votes
2 answers
101 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 --------------------------------...
3 votes
2 answers
322 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 ...
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) ...
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?
3 votes
3 answers
277 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 ? ...
1 vote
2 answers
111 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
2 answers
591 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,...
1 vote
1 answer
116 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
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", &...
1 vote
0 answers
76 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 ...
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
1 vote
3 answers
613 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 ...
1 vote
1 answer
353 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
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 ...
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 ...
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?