Questions tagged [native-assets]
tokens created on the Cardano network
165
questions
0
votes
1
answer
17
views
Historical price data for Cardano native assets
Does anyone know where I can get historical price data for Cardano native assets? Data that can subsequently be used for data analysis and visualization. Something similar to what taptools is using ...
0
votes
0
answers
13
views
Some issues encountered when working with Cardano
How can I generate a bech32 address in the following code:
const wallet = new AppWallet({
networkId: 0,
fetcher: blockchainProvider,
submitter: blockchainProvider,
key: {
type: 'root',
...
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
...
0
votes
1
answer
47
views
Native token fee
I want to implement native token in a digital wallet.
But I don't want users to have to pay a fee every time they transact with my token.
On the other hand, I want the transactions to be recorded at ...
1
vote
1
answer
44
views
Automatic Token Distribution?
Is there a way to automatically distribute a token to every wallet that holds ada?
This would be a mechanism to distribute DAO voting rights automatically to all ada wallets. Voting power would be ...
0
votes
1
answer
34
views
Is there any way to wrap a cardano native asset to eth?
I am looking for wrapping some native cardano tokens to the etherium network is there any way to achieve the same? Any help or urls will be very helpfull.
1
vote
1
answer
61
views
How to get information of a certain native token from Cexplorer database?
Given a certain token,for example Sundae, which has
policyID: 9a9693a9a37912a5097918f97918d15240c92ab729a0b7c4aa144d77
fingerprint: asset1m4u92ke6820pkk07m8qmmguye02ewr8g6tezr0
(https://...
3
votes
1
answer
110
views
Is there a way to get the current circulating supply of an asset via API?
More specific, I am looking to fetch the circulating supply of native cardano tokens with the Blockfrost API. I know how to get the total supply, but I was wondering if there is any possibility to get ...
0
votes
1
answer
86
views
Can anyone explain how tAda locked with asset is calculated?
I have previously asked a similar question here Get Ada locked with asset from db-sync query? but I'm still really stuck with this and needing some help.
After looking at Nami Wallet, Eternl Wallet ...
0
votes
1
answer
70
views
TypeError: a bytes-like object is required, not 'Transaction'
I am trying to use the https://github.com/Python-Cardano/pycardano/blob/main/examples/native_token.py with minor changes, like pointing to mainnet (have tried preview as well). I have updated the ...
0
votes
1
answer
86
views
Using `curSymbol` function in Validator script
supposed I have a mintingpolicy script (simple one time minting policy, parameterizing TxOutRef) and a validator script. I want to validate if the token with correct CurrencySymbol is spent in a ...
2
votes
1
answer
36
views
Why does an cardano token have multiple policys
I stumbled upon Society token, in multi_assets table via cardano-db-sync it has 2 entries with same name but the meta data difference is minimal, as well they're fingerprints are different
policy = ...
2
votes
2
answers
72
views
Javascript SDK for working with Plutus smart contracts
Are there any javascript SDKs which enable you to do the following:
programmatically create and submit a Plutus smart contract to mainnet
check what assets are currently locked at a given script ...
0
votes
3
answers
32
views
Can there be duplicately named tokens?
I just want to clarify about this statement 'An asset is uniquely identified by an asset ID, which is a pair of both the policy ID and asset name.'
I'm guessing there can be duplicately named tokens ...
0
votes
0
answers
36
views
How to get Daily Volume for an Cardano token by using Cardano-Db-Syncs database
Is there an way to query directly Cardano Db Syncs database to get withhold of the daily volume of an certain token ( For example via using multi_asset.fingerprint )
WITH ma_tx_ids AS (
SELECT ...
0
votes
0
answers
16
views
What are some best practices to launch a token in a DEX?
How can I incentivise users to provide liquidity to a pool so the pool is backed by a fair amount of ADA? Does anybody know of some good resources on strategies and best practices to achieve this?
1
vote
1
answer
36
views
How to correctly identify NFTs and FTs?
Here are some tokens: how would I differentiate NFTs from FTs in this case?
I am confused as "AdaFarm860" seems to be a NFT but it has a quantity of "4". I am having some trouble ...
2
votes
2
answers
138
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). ...
0
votes
1
answer
78
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 ...
1
vote
3
answers
160
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 ...
0
votes
2
answers
128
views
Cardano Multi-Sig Mint BabbageOutputTooSmallUTxO
I’m trying to build a multi-sig transaction to mint an NFT. The transaction will take some input from users wallet via coin selection and add an additional NFT as output.
The problem begans, when the ...
0
votes
0
answers
14
views
How to get all NFT that are added in last 24 hours in a address using SQL?
the attached queries give me all the assets in a particular address but i wish to get only nfts that are added in last 24 hours
SELECT
multi_asset.name::text,
encode(decode(substring(concat(...
0
votes
2
answers
193
views
How can I build a transaction to send different assets (not just ada) using Cardano Serialization Lib?
I have followed this example on how to create a transaction to send ada and I had no issues so far.
What I would like to do next is to add different assets to this same transaction.
Is there an ...
1
vote
1
answer
25
views
What makes native assets native on Cardano?
Triggered by this blog post[1] (and forum post[2]) which says "No smart contract is needed to mint tokens on Cardano", isn't it so that to mint or to burn custom assets, one does need to run ...
1
vote
1
answer
63
views
Verify if signing wallet is same wallet that generated a particular policy id
Context:
I'm trying to programmatically verify the owner/creator of a policyId. I assume that I need to verify whether a signing wallet is the same wallet that generated a particular policy id. (I am ...
0
votes
1
answer
20
views
Are NFT policies interchangeable between networks?
Generating a policy doesn't require a running node; the cardano-cli alone is sufficient. Since no connection is made to the network, can I assume there's no difference between a policy on preprod and ...
1
vote
1
answer
95
views
Possible to get the total supply of a native token in a smart contract?
Is it possible to get the total supply of a native token in a smart contract, similar to the following Solidity code from here? One can easily query it from an external API.
address token = ...
1
vote
1
answer
487
views
Using Blockfrost api to get the price of an ada/token pair on Minswap
Can I use the Blockfrost API to query a pair that is on the Minswap DEX?
1
vote
2
answers
87
views
Can there be duplicate Policy IDs?
An asset is uniquely identified by an asset ID, which is a pair of both the policy ID and asset name.
The Policy ID is a hash of the monetary policy script that was used to mint the token. What ...
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 ...
1
vote
2
answers
309
views
Send native tokens without running node
is there any library or proper guide to send custom/native tokens in NodeJS?
i don't want to run full node (cardano-node/cardano-wallet), just want to build and sign a transaction and submit it via ...
4
votes
1
answer
62
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
1
answer
86
views
CIP25 Metadata standard version 2 token name
I have seen recently that CIP25 was updated to include version 2. The main change in this is that the token name is now a bytes type whereas before it was a string.
My question is, what type actually ...
1
vote
1
answer
33
views
ELI5 Explain native assets at higher level?
Is anyone capable of providing a high-level explanation of how NFT works in Cardano from a traditional blockchain point of view (ERC721, Ethereum, Solana, NEAR, etc), as I'd be very interested in ...
4
votes
1
answer
31
views
What specifications should be used when creating a native token logo?
What specifications should be used when creating a native token logo (e.g. dpi, pixel dimensions, size, etc.)
0
votes
0
answers
17
views
Error Minting Native Asset: " unexpected '.', expecting space, letter or digit, white space, "+" or end of input "
I am writing a script to automate minting native assets. Everything works well, up until this point:
echo "Building transaction..."
cardano-cli transaction build \
--babbage-era \...
2
votes
2
answers
38
views
What's the difference between sidechains and hardforks?
What are the pros and cons of creating a new sidechain versus hardforking Cardano if making a variant is desired?
Does a sidechain have the same inherent security and as the mainchain thru stake pools?...
0
votes
1
answer
40
views
Get list of users addresses that minted native asset NFT
I would like to get a list of user addresses, that minted a native asset NFT. Is this possible? I do not want current holders of the NFT, but the original minting NFT holders.
0
votes
1
answer
113
views
How can I find the logo of a token in the Cardano Token Registry?
I know this is the API for accesing the Cardano Token Registry (https://tokens.cardano.org/metadata/) but I don't know how to get and process the logo image of a token from there.
Anyone?
0
votes
1
answer
46
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 ...
9
votes
3
answers
421
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 ...
6
votes
3
answers
1k
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 ...
0
votes
2
answers
148
views
How can I create a token that shows 6 decimals places in Eternl?
I have created my own token and I have added a Cardano Token Registry specifying that the token has 6 decimals places. My entry looks exactly like the Minswap's token entry, but the difference is that,...
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 ...
1
vote
1
answer
151
views
How to get all assets of a certain addresss using SQL on Cexplorer
It seems like a simple question, but I was struggling to find the answer.
I am trying to get information of Cardano blockchain from cexplorer database.
Given an address such as '...
0
votes
2
answers
115
views
Get list of holders of a token using Cardano-cli or Cardano-DB-Sync or Ogmios
I am trying to find a way using either Cardano-cli, Ogmios, or Cardano-DB-Sync to get a list of token holders (addresses) for a particularly token, ideally in JSON format.
What is the best way to do ...
1
vote
2
answers
389
views
Token price API
Besides http://analytics.muesliswap.com/ticker - are there any other APIs that return token price?
0
votes
1
answer
203
views
How would you implement Soulbound Tokens in Cardano?
A lot is going on at the moment in the Ethereum dev community with Soulbound Tokens: https://ethereum-magicians.org/t/eip-5114-soulbound-badges/9417
What would be the best approach for implementing ...