Hot answers tagged

12 votes
Accepted

What is the testnet-magic argument and why is it 1097911063?

The testnet magic, aka protocol magic, is a parameter introduced in Cardano during the Byron era. It is used internally by the protocol in cryptographic functions that construct addresses from a seed. ...
vaz's user avatar
  • 756
9 votes
Accepted

Finding related addresses and total balance of wallet for any given address

You need db-sync to analyze wallets that you don't have the account public key for. Given an address from a wallet, you can run cardano-address inspect to identify the stake address: cardano-address ...
Samuel Leathers's user avatar
3 votes
Accepted

What is the best way to query stake pools by ticker?

The list of stake pools should only be a couple of thousand which is tiny in comparison to number of blocks or even worse the number of transactions. It can be done with a relatively simple SQL query ...
Erik de Castro Lopo's user avatar
3 votes
Accepted

How to get data from the Cardano blockchain using SQL queries?

The tool in question is cardano-db-sync.
Marek Mahut - StakeNuts's user avatar
2 votes

How to embed smart contract in website

Many projects are using these: Dapp Connector Wallet Cardano Serialization Lib Plutus smart contract Example: https://github.com/Berry-Pool/spacebudz https://github.com/Emurgo/cardano-serialization-...
CicadaTactics's user avatar
2 votes

Get list of holders of a token using Cardano-cli or Cardano-DB-Sync or Ogmios

"List of holders" is rather unclear. If you want names, addresses and other KYC/AML stuff you won't be able to get it. Tokens are held in Cardano addresses, and any person could have more ...
Erik de Castro Lopo's user avatar
2 votes

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

For example, how can I know that (addr1q8h ... 8k5s6cnspc) sent the token and not the other input address in this transaction? Is it actually possible to do that by only joining the tables? The ...
RdLrT's user avatar
  • 1,577
2 votes
Accepted

Cannot find utxo using cardano-cli on docker cardano-node preprod

That's an old node version that can't cross the Babbage hard fork. Please update to 8.1.2.
Samuel Leathers's user avatar
1 vote

Get list of holders of a token using Cardano-cli or Cardano-DB-Sync or Ogmios

You can use Koios endpoint documented here, and if you run a dbsync instance, you can find the dbsync query used here
RdLrT's user avatar
  • 1,577
1 vote
Accepted

First epoch slot and stability window

You can check the next epoch once the current epoch is 70+% (3.5 days) through, eg: cardano-cli query leadership-schedule --mainnet ...... --next You can then: Use cron and date checking to run this ...
MC_Brisbane - JUST Pool's user avatar
1 vote

How to embed smart contract in website

I've written an example precisely for these sort of questions https://github.com/dynamicstrategies/cardano-wallet-connector
D S's user avatar
  • 322

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