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/...
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 ...
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 ...
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 (...
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 ...
7
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 ...
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 ...
6
votes
Accepted
Is there an API for Cardano Blockchain Insights?
If you don't want to run a node or services yourself you can use https://api.koios.rest/#overview
If you run your own node or are friendly with someone who does you can use DB-Sync.
DB-Sync is a ...
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 ...
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.
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/
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 ...
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.
4
votes
Accepted
How to securely call Blockfrost or other API service from Smart Contract?
You can't call API services directly from the smart contract, and this is not something that the "IOG has yet to put that functionality in";
the same behaviour is not possible in any other ...
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.
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 \
...
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 $(...
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 "...
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
How to get all NFTs of a wallet address?
Try the /accounts/{stake_address}/addresses/assets call using Blockfrost.
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 ...
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 ...
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?
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
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–...
3
votes
Accepted
Fetching exchange prices via an API?
MuesliSwap does provide some API endpoints that you could look into:
https://docs.muesliswap.com/cardano/api
There's a ticker that provides "24-hour pricing and volume summary for each market ...
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.
3
votes
Accepted
Is it MuesliSwap the only DEX with an API?
Minswap uses a GraphQL endpoint that you can find here:
https://monorepo-mainnet-prod.minswap.org/graphql/
Example:
curl --request POST \
--url https://monorepo-mainnet-prod.minswap.org/graphql/ \
...
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 -...
2
votes
How to create and sign a transaction on a mobile device?
Yes, sure, you can use Emurgo's serialization library to create the transactions and Blockfrost's Swift 5 SDK to submit it and fetch Cardano blockchain data.
Yoroi-mobile project might be an ...
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
api × 62blockfrost × 19
wallet × 13
cardano-node × 11
nft × 9
native-assets × 8
cardano-cli × 7
javascript × 6
address × 5
cardano-address × 5
plutus × 4
transaction × 3
cardano-db-sync × 3
dex × 3
cardano-api × 3
plutus-pioneer-program × 2
smart-contract × 2
ada × 2
daedalus × 2
nami-wallet × 2
cardano-serialization-lib × 2
mainnet × 2
python × 2
transaction-metadata × 2
cardano-graphql × 2