12
votes
Accepted
Are native tokens divisible?
There is no support for decimal places of native tokens on Cardano.
10
votes
Accepted
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?).
No, every UTxO (i.e. output you're sending asset to) needs to be atleast 1 ADA. ...
8
votes
Accepted
Is the length (in characters) of a token policy id always the same?
The policyId is the hash of the policy script. It is a blake2b-224 hash resulting in 28 bytes and a hex length of 56 chars. So, your code will always work and is the right way to do it.
Find the spec ...
8
votes
Accepted
Verify that Token is NFT
You can check the token policy for that. For most NFT projects you can look it up on https://pool.pm
A token policy can look like this:
{
"scripts": [
{
"keyHash": &...
7
votes
Accepted
Can Marlowe contracts involve native assets?
Yes.
Marlowe is essentially a layer over top of Plutus Core and so it can access and/or manipulate anything that Plutus Core based Smart Contracts can access including native assets/tokens. Marlowe is ...
6
votes
Accepted
Is there a limit on how many distinct tokens can be sent in one transaction?
The maximum transaction size is specified in the genesis configuration of the chain. For reference, here is a genesis config for the Shelley Testnet.
The maxTxSize is set to 16384 (bytes, I assume).
&...
6
votes
How to mint multiple NFT assets in the same transaction?
The process is the same but you need to specify in your cardano-cli transaction build command, all your assets to mint. For example:
cardano-cli transaction build-raw \
--fee 197797 \
--tx-in ...
5
votes
Is it possible to send a native token to another wallet while sending the minimum amount of ADA to my own wallet?
Emmanuel is correct, based on the coin name there is an amount of ADA that needs to be sent to every target address.
My native token requires 1.444443 ADA to be sent to each and every target address, ...
5
votes
Accepted
Can Babel fees be extended to be a protocol level DEX?
I think you may want to consider reversing the order here. The intent behind babel fees from my understanding is to leverage future conversion guarantees, DEXes, and other avenues for guaranteeing ...
5
votes
Accepted
How can I get the wallet distribution of a token?
You would need db-sync to get that sort of data. https://github.com/input-output-hk/cardano-db-sync
You can use existing solutions like Koios (https://api.koios.rest/#overview).
Example for Lobster ...
4
votes
Accepted
What is meant by 'address is not spendable'?
The text says "address is not spendable by the user sending the tokens" rather than "address is not spendable". This basically means an address you do not control.
My understanding ...
4
votes
Is there a metadata standard for native assets (talking about fungible tokens first) in Cardano?
As of now, there is no metadata standard/CIP defined for native tokens. But you can follow this CIP PR to know a bit of how the community is trying to define a standard for the same (your inputs are ...
4
votes
"min-ada" bottleneck to Cardano analogous to "gas fee congestion" for Ethereum?
No, it would not be a bottleneck if Cardano implements babel fees that will enable you to pay (actually arbitrage) your fees in different tokens.
That being said, to keep a decentralized network ...
4
votes
Accepted
Can smart contracts be used to mint native assets?
This is the subject of week 5 of the plutus pioneer program. You can find examples in the Github repo.
In the Signed.hs module, there's an example for how to mint tokens, and the NFT.hs for how to ...
4
votes
Accepted
If metadata can be changed, how can the uniqueness of an NFT can be guaranteed?
The uniqueness of an NFT comes from its minting policy, not the metadata. If you create a script that can only mint one token, then you know any token with that address as its currency symbol is ...
3
votes
Is it possible to send a native token to another wallet while sending the minimum amount of ADA to my own wallet?
Every Native Asset is sort of conjoined to 1.4XXXXXX ADA from my experience and so it basically impossible to simply just send the native asset by itself. It’s a part of it. You’ll end up having to ...
3
votes
Accepted
Is there an API or website where I can see all addresses that hold a specific native token/asset?
You are probably looking for the Blockfrost.io's /assets/{asset}/addresses endpoint that lists all addresses containing a specific asset.
3
votes
Accepted
Blockfrost assets api issues
Let's take this asset as an example: https://pool.pm/0e14267a8020229adc0184dd25fa3174c3f7d6caadcb4425c70e7c04.unsig26071
Policy ID: 0e14267a8020229adc0184dd25fa3174c3f7d6caadcb4425c70e7c04
Asset name:...
3
votes
Did the token fingerprint hash algorithm change?
This looks like a bug in explorer.cardano.org.
You can use the JS package @emurgo/cip14-js to check for yourself.
import AssetFingerprint from '@emurgo/cip14-js'
const assetFingerprint = new ...
3
votes
Accepted
Create a Native token for voting & burn afterwards
First of all, there might be better ways to build a voting system than to use native assets as "votes" in the future when we have smart contracts on Cardano. But of course your proposal ...
3
votes
Are native tokens divisible?
Although, I tried finding an explicit reference in the source my Haskell knowledge is awful and I couldn't find the data type associated with the --mint parameter for the CLI.
My 99.999% gut instinct ...
3
votes
How does one create a new native token with full control?
Here is a step-by-step recipe for creating a native asset manually: https://silas-stulz.medium.com/you-want-to-create-your-own-nft-heres-how-you-do-it-on-the-cardano-blockchain-9a0bbf8caa39.
3
votes
Is there a limit on how many distinct tokens can be sent in one transaction?
We can simulate this in the playground. I set up three tokens T1,T2 and T3 and gave one of each to Wallet 1 at the beginning.
Then I sent three separate transactions, sending each token in its own ...
3
votes
Accepted
How to permanently persist an arbitrary hash string in the blockchain?
Does Cardano allow for appending metadata like an arbitrary hash string to a transaction?
I believe you can do this without needing any tokens/NFTs by just making a transaction that has the metadata ...
3
votes
Accepted
How do I get my Native Token listed on an exchange?
This is a very broad question. In general any centralized exchange (Binance, Coinbase, ...) has strict screening and a process through which the issuers would be required to showcase the viability of ...
3
votes
Accepted
Is there a limit to the integer size representing a native token supply?
Native tokens supplies are indeed unbounded integers. While the current implementation relies on GHC native Integers, the practical limit is much lower since it needs to fit in a transaction for which ...
3
votes
Is Cardano pushing developers into an Ethereum-type account model?
As I understand it, the SundaeSwap solution is not like ETH account model. The smart contract will temporary store tokens for the address x until the proprietary of this address send the minADA value ...
3
votes
Accepted
How to send a transaction for Cardano native assets via CLI?
Basically, according to the docs.cardano.org:
cardano-cli transaction build-raw \
--mary-era \
--fee 178393 \
--tx-in ...
3
votes
Is ada an asset, token, both, neither?
The terms cryptocurrency, token and asset are not mutually exclusive.
However, there are specific definitions that show a subtle difference between these three terms:
Cryptocurrency
Cryptocurrency is ...
3
votes
Why does 'cardano-cli query utxo --address $address --mainnet' return an empty list?
It is because Yoroi generates a new address after each transaction for privacy reasons. People who only know this address cannot see how much funds you have and what transaction you did in the past. ...
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
native-assets × 187nft × 33
cardano-cli × 21
smart-contract × 20
plutus × 19
minting × 19
transaction × 17
cardano-db-sync × 11
metadata × 11
ada × 9
api × 8
blockfrost × 8
policy × 7
utxo × 6
cardano-address × 6
plutus-pioneer-program × 5
wallet × 5
cardano-serialization-lib × 4
mint × 4
erc20 × 4
staking × 3
address × 3
fee × 3
javascript × 3
burn × 3