Hot answers tagged

22 votes

How can a developer access the Cardano network?

If you use Nix or NixOs, it is rather straightforward: Build the code for a cardano node using nix (link to current documentation) Duplicating the official documentation: git clone https://github.com/...
user avatar
13 votes
Accepted

How can a developer access the Cardano network?

There are also ways to use services where you can make API requests to interact with the Cardano blockchain. (without the need to run your own cardano-node) You could for example sign in on Blockfrost ...
user avatar
  • 1,072
10 votes

How can a developer access the Cardano network?

Generally, there are several options you could pursue. Start a stake pool on test-net and then launch one on main-net. How to build a Cardano Stake Pool. Get involved with project catalyst. Offer ...
user avatar
8 votes

How can you listen to all incoming transactions of a wallet address?

There are different ways. You can do what jnprogrammer said, or you can run the graphql setup https://github.com/input-output-hk/cardano-graphql providing an entire stack of tools including the API (...
user avatar
  • 436
7 votes

Nami wallet showing getBalance returning a NaN

getBalance function returns cbor encoded hex string, so you should actually decode it. Easiest way to do it is by using Cardano Serialization Lib. After you've downloaded the library you can decoded ...
user avatar
  • 551
6 votes
Accepted

What are the security implications to having cardano-wallet run on a public server?

In most cases, you should never manage users wallets with a hosted service. The whole point of a decentralized blockchain is that users are managing their own assets. The best practice is to generate ...
user avatar
6 votes
Accepted

Cardano Serialization Lib Usage

Generally I think you can say the point of the serialization lib is to help you manage the off-chain aspects of preparing transactions before you submit them to the network. It's a standalone library ...
user avatar
  • 939
4 votes

Are there any API's I can integrate with to accept Cardano as a merchant?

To answer my own question, you can currently use https://nowpayments.io/, https://adapay.finance/, or to roll your own solution https://blockfrost.io/. There's also an ongoing petition to get Cardano ...
user avatar
4 votes
Accepted

Are there any Java APIs allowing to make applications on top of Cardano?

Yes, try cardano-client-lib SDK written in Java.
user avatar
4 votes

How can you listen to all incoming transactions of a wallet address?

I believe this guide would help you out: https://developers.cardano.org/docs/integrate-cardano/listening-for-payments-wallet/
user avatar
  • 141
4 votes
Accepted

Received the transaction id but the transaction never happened

The chain has been pretty congested since sundaeswap launched. It may take some time between transaction submission and inclusion into a block. If your TTL or --invalid-hereafter parameter is too ...
user avatar
  • 2,961
4 votes
Accepted

I hear that Daedalus Is a Full Node Does That Mean I Can Set Up a DB Sync Server On Top of It?

Daedaldus consists of two processes, cardano-node and the wallet itself. Yes, it is possible to connect a db-sync instance to the cardano-node.
user avatar
3 votes
Accepted

How do I get the http endpoint to work for cardano-wallet?

By default cardano-wallet listens on loopback ip only - 127.0.0.1, to listen on server external ip, you need to add --listen-address parameter So at the end command should be: cardano-wallet serve \ ...
user avatar
  • 321
3 votes

How can you listen to all incoming transactions of a wallet address?

What info do you wanna get specifically? If it is just the UTXO's at an address and you are running a node then the following script suffices. #!/bin/bash cardano-cli query utxo --mainnet --address $(...
user avatar
  • 803
3 votes

How can you listen to all incoming transactions of a wallet address?

All the above solutions can do the job, but you'll end up polling the blockchain on each one. Another solution though is using tangocrypto services. Their webhooks feature will allow you to "...
user avatar
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.
user avatar
3 votes

Is there a publicly available Cardano API with pre-indexed blockchain data?

Yes, have a look at blockfrost.io an API as a service that allows users to interact with the Cardano blockchain and parts of its ecosystem.
user avatar
3 votes

How can you listen to all incoming transactions of a wallet address?

How about running a Cardano node and build a script that queries the target address and produces something consumable by your API?
user avatar
3 votes

How to get all NFTs of a wallet address?

Try the /accounts/{stake_address}/addresses/assets call using Blockfrost.
user avatar
3 votes
Accepted

Blockfrost, GrapgQL or any API for cardano help, working with javascript

Using the Blockfrost SDK is pretty straight forward, as in this example: import { BlockFrostAPI } from '../src/index'; async function run() { const API = new BlockFrostAPI({ projectId: 'YOUR ...
user avatar
3 votes

Storing Secrets in Smart Contracts

I think, this I not possible. If you want your smart contract to know about your balance or any off-chain fact (including random numbers), then you need to push this fact either to the blockchain or ...
user avatar
  • 1,256
3 votes

How can i generate new wallet address using cardano-wallet cli and cardano wallet api after created my wallet?

Once you have your cardano-wallet runnig, you can create a new wallet using CLI with the following command: $ cardano-wallet wallet create from-recovery-phrase "My Wallet" Please enter a 15–...
user avatar
3 votes
Accepted

Is the Transaction Hash from block frost the same as the transaction id?

Yes, the tx hash and tx id are the same. The terminology is getting used interchangably.
user avatar
  • 724
2 votes

How can i generate new wallet address using cardano-wallet cli and cardano wallet api after created my wallet?

Do you mean something like that? # generate keys cardano-cli address key-gen --verification-key-file payment.vkey --signing-key-file payment.skey # build address from pubkey cardano-cli address build -...
user avatar
  • 639
2 votes
Accepted

I couldn't find the requested endpoint

The support for transactions-construct has been added just some days ago and is not released yet.
user avatar
2 votes

Cardano Data for Data Analytics and Data Visualisation

there are providers such as https://api.koios.rest/#overview and https://blockfrost.io/
user avatar
2 votes
Accepted

How to get all NFTs of a wallet address?

You can try using cardano-wallet package on a running node & then using this endpoint to list all assets on a wallet. There are several ways to run cardano-wallet either a docker container or just ...
user avatar
2 votes

Is there a publicly available Cardano API with pre-indexed blockchain data?

Alternatively you can also try a community driven project https://dandelion.link/
user avatar
2 votes

Are there any APIs for Cardano NFT ticker?

Actually we need API to get Cardano's current price, current Marketcap, Volume, Supply,7 days price for graphical representation. this kind of information is not directly related to Cardano in the ...
user avatar
  • 436
2 votes
Accepted

How to obtain PubKeyHash from Address ShelleyAddr

There is now the function shelleyPayAddrToPlutusPubKHash in cardano-api which returns Maybe PubKeyHash because in the case of a script credential there is no corresponding public key hash.
user avatar
  • 36

Only top scored, non community-wiki answers of a minimum length are eligible