Questions tagged [cardano-node]

The top-level component for a node.

Filter by
Sorted by
Tagged with
9 votes
5 answers
1k views

Installing Cardano-node on an M1 Mac

I am trying to get a cardano node started on a Mac with the new M1 chip. Ive looked through the Installing a Cardano-node walk-through and found that they specify that the Mac install is for Intel ...
user avatar
8 votes
2 answers
582 views

Can Daedalus be used to query the blockchain, like a passive node?

Daedalus is a full node wallet application, but can I use the full node to query the ledger?
user avatar
  • 681
8 votes
1 answer
835 views

What are relay nodes?

I just started out with Cardano and blockchain and I read in an article somewhere that said that each stake pool must run at least one block-producing node and one relay node. The block-producing node ...
user avatar
  • 111
8 votes
1 answer
972 views

Using cardano-node installed by Daedalus as CLI?

I want to do some transaction with custom metadata and was wondering if I have to install another instance of cardano-node or if it's possible to use the already installed version by Daedalus.
user avatar
  • 294
7 votes
1 answer
158 views

Does Cardano Node support chained transactions?

Does Cardano node supports processing of chained transactions? E.g. we have an output [O1], and want to create a transaction [TX1] using [O1] as an input and creating new output [O2] and then, until [...
user avatar
7 votes
1 answer
313 views

Getting started developing cardano-node

I encountered a bug in cardano-node recently and since I know Haskell - I thought to myself, why not try and fix it? I've done the following: Build from source per https://github.com/input-output-hk/...
user avatar
  • 71
6 votes
2 answers
370 views

Executing cardano-cli inside a docker container from another docker container

Can anyone help me with something, I'm trying to run a web server over the cardano-node docker image. I have some solutions in mind but I would like to have some feedback from you. Approach # 1 Build ...
user avatar
6 votes
2 answers
278 views

Setting up a stake pool relay node

I am in the initial steps of creating a stake pool and I've learnt that I need a block producer and a relay node. For the process of getting AWS instances, I would like to know: Do I need two relay ...
user avatar
  • 307
6 votes
2 answers
692 views

Test node failure

I successfully setup a testnet node over the weekend, all was running fine - I was able to create wallets and perform transactions etc. However when I try to run the node today I am getting some ...
user avatar
  • 157
6 votes
4 answers
314 views

Cabal build all failing with error: Symbol not found: _sodium_free

Attempting to build the cardano-node on Mac OS Big Sur while following the instructions found here: https://developers.cardano.org/docs/get-started/installing-cardano-node/#macos When I hit the cabal ...
user avatar
6 votes
1 answer
147 views

Where to find the code for Alonzo / Plutus / Smart contracts?

I am currently learning about Plutus and how to write smart contracts in it by following the Plutus Pioneers course on Youtube. However, I'm curious to know how things work from a node perspective: ...
user avatar
  • 347
6 votes
2 answers
823 views

How to run smart contracts in the Cardano Blockchain?

I know that since Alonzo was launched smart contracts can be published in the blockchain now, but I have no idea how to do it. I have read some articles about the Plutus Application Backend though, it'...
user avatar
6 votes
1 answer
221 views

Can't connect cardano-wallet with the node on testnet: blockedIndefinitelyException = thread blocked indefinitely in an STM transaction

I'm following this guide https://developers.cardano.org/docs/integrate-cardano/creating-wallet-faucet#creating-a-wallet-with-cardano-wallet to learn about Cardano infra. I have cardano-node running on ...
user avatar
  • 61
5 votes
1 answer
245 views

EKG metrics interpretation and documentation

Searched docs.cardano.org, github, forum.cardano.org and the rest of the internet for some type of documentation that describes each of the items in the EKG metrics, but couldn't find anything. I ...
user avatar
5 votes
6 answers
695 views

Minting NFT automatically based on transaction

I wish to write a script that will automatically mint NFTs given payment to an address. Firstly, I haven't found anyone that has shown how to do this, but if anyone has, or is willing to share, please ...
user avatar
5 votes
1 answer
253 views

Block Producer vs Relay Node setup

Can only Pool operators run Producer nodes? What is the difference between the producer and relay from a setup point and where to get the specifics for each on installing? Being new it's hard to know ...
user avatar
5 votes
1 answer
379 views

How can I check if my node is fully synced?

How can I check if my node is fully synced without resorting to https://explorer.cardano-testnet.iohkdev.io/ ?
user avatar
  • 161
5 votes
1 answer
234 views

systemd service file for cardano node

i'm trying to run a node as a service using systemctl start node-relay.service i get this error, can anyone advise what i'm doing wrong. /home/ec2-user/.local/bin/cardano-node: error while loading ...
user avatar
  • 55
5 votes
1 answer
88 views

Error trying to compile cardano-node on Raspberry Pi

I tried to compile the cardano-node 1.27.0 for Raspberry PI4 following the instructions and everything gets well until I do the: cabal build all Then all compiles until I get this error: src/...
user avatar
5 votes
2 answers
137 views

adaPerUTxOWord not found on testnet-shelley-genesis.json

Run cardano-node 1.27.0 testnet error, adaPerUTxOWord not found on testnet-shelley-genesis.json cardano-node run --database-path ~/cnode-testnet/db --socket-path ~/cnode-testnet/sockets/node.socket --...
user avatar
  • 433
4 votes
2 answers
85 views

Cardano Development

I am a software developer. I wanted to learn Cardano development so for that where should I start and what technologies are required?
user avatar
4 votes
1 answer
141 views

How do I make a Sidechain

I want to make a side chain on Cardano to so something that the protocol says should be done on a sidechain, but how do I make one? Can I use Plutus or am I limited to the CLI?
user avatar
4 votes
2 answers
506 views

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

yoroi and daedalus provide UI to generate new wallet address, how can i use cardano-wallet cli and cardano rest api to generate new address?
user avatar
  • 433
4 votes
1 answer
133 views

Lobster Challenge: zsh: no matches found error on building transaction

So I'm trying to build the transaction for voting on the naming of Charles Lobster. However whenever i specify the UTXO as TxHash + "#" + TxIx it complains and says zsh: no matches found: ...
user avatar
  • 71
4 votes
1 answer
73 views

Airgapping Concerns for Block Producer Secrets

I am trying to understand the extreme caution about creating secrets for the BP node. Is the concern about not knowing what one might lease in the cloud, or how security is in such a company, or their ...
user avatar
4 votes
2 answers
149 views

How can you check if a local node is running properly?

I am running a Cardano node using docker, on the testnet, and now I need to check if it works properly and accepts cardano-cli arguments like querying and what not. Is there a convenient way to do it?
user avatar
  • 51
4 votes
2 answers
847 views

How to deploy plutus/marlowe contract on Cardano blockchain

i am developing smart contract in plutus/marlowe playground which i compiled and simulate contracts successfully but now i want to deploy a contract on Cardano blockchain
user avatar
4 votes
1 answer
77 views

There is a CPU spike once per hour when logging "TraceLedgerEvent.TookSnapshot". Is it a bug, or is there a fix?

About once an hour, when TraceLedgerEvent.TookSnapshot is written to the log, there is a CPU spike and at the same time the slotMissedNum is increasing. Is this a bug in the node? Or is there a fix? ...
user avatar
4 votes
4 answers
391 views

How can check what version of Cardano-node is running on testnet or mainnet?

I recently ran into sync errors after building/installing cardano-node. I am pretty sure that the problem was that I had built the wrong version, after re-building to exactly what the documentation ...
user avatar
4 votes
1 answer
80 views

cardano-cli: QueryEncoderUnsupportedQuery Query GetSystemStart TopLevelQueryDisabled

cardano-cli --version cardano-cli 1.27.0 - linux-x86_64 - ghc-8.10 git rev d870347b48c8ba0a81566876153eff23fce3ec64 cardano-cli query tip --mainnet cardano-cli: QueryEncoderUnsupportedQuery Query ...
user avatar
  • 433
4 votes
1 answer
80 views

How to convert xvk to svk?

I use cardano-address cli export extended private key, but i want to use it with cardano-cli command, how to convert it?
user avatar
  • 433
4 votes
1 answer
47 views

I've found a small error in the Node running documentation, do I correct that, and if so, how?

I installed the Cardano node today and found a small error in the documentation. https://developers.cardano.org/docs/get-started/running-cardano/ Basically, the config file for the Alonzo era needs to ...
user avatar
3 votes
1 answer
124 views

Cardano Serialization Lib Usage

I am going through Cardano developer docs and the different APIs used to interact with the Cardano network. In the list is Cardano Serialization Lib which has the description, This is a library for ...
user avatar
  • 307
3 votes
1 answer
372 views

How does Cardano execute real time transactions if block time is 20 seconds?

New to the crypto space, please correct me if I misunderstood the meaning of block time. When a cardano node submits a transaction, it goes to a local mempool and submitted on the blockchain for ...
user avatar
  • 133
3 votes
2 answers
253 views

Cardano Node + DB Sync + Graph QL vs. Blockfrost API

I've been contemplating the value of essentially running all your own infrastructure by deploying Cardano node, along side DB Sync and exposing it through Cardano GraphQL. I like the idea of building ...
user avatar
3 votes
1 answer
180 views

Error running Testnet node: unwrapEnvelopeErr = ObsoleteNodeCHAIN BlockNo 2989599 SlotNo 39614381

I am trying to run a testnet node (version 1.29) but it stops sync with this error: $ cardano-node run --topology testnet-topology.json \ --database-path ~/cardano/db/ \ --socket-path ~/cardano/...
user avatar
3 votes
1 answer
485 views

Getting a "Yaml file not found" error when trying to run cardano-node

Following the instructions here on running cardano-node: https://developers.cardano.org/docs/get-started/running-cardano I'm running into an error on startup that looks like this: InvalidYaml (Just (...
user avatar
  • 211
3 votes
1 answer
125 views

Transaction fee

Doesn't the transaction cost increase with the increase of Cardano price? Is there a way to keep the transaction cost constant while raising the price of the Cardano token?
user avatar
3 votes
1 answer
180 views

cardano-node goes down after "cardano-cli query pool-params"

Making this query to my cardano-cli cardano-cli query pool-params \ --stake-pool-id pool13crd2ljx87988umk22er6ynwadfwdqupdpcq6prc6v59z62kxse \ --mainnet Makes my cardano-node goes down. Is ...
user avatar
  • 215
3 votes
1 answer
162 views

How many slots did Byron era (testnet) have?

I was wondering the number of slots the Byron era (testnet) had or the slot number when Byron finished. The only info I've been able to find is systemStart": "2019-07-24T20:20:16Z" ...
user avatar
  • 1,196
3 votes
1 answer
454 views

ScriptWitnessNotValidatingUTXOW error when submitting transaction

I can send simple transactions to yoroi without any errors. However when I submit a transaction with NFT policy cardano-cli returns an error. node version 1.30.1 (relay node) system: ubuntu 20.4 tip: {...
user avatar
  • 45
3 votes
1 answer
94 views

Why my cardano-node is now running a strange loop after an upgrade to a higher version?

Lately, after a node upgrade to a higher version (1.30.1), my Block-Producing (BP) node will "stay" in the "start" phase for about 45 minutes making a strange loop by switching to ...
user avatar
3 votes
2 answers
265 views

missing node.socket

so I synced towards Alonzo mainnet with cabal build and interrupted at 92% and somehow ~/cardano/db/node.socket is missing. And no matter how many times I restart the node with cardano-node run \ --...
user avatar
  • 433
3 votes
1 answer
220 views

Cardano Node: Connection reset by peer problem ---

My cardano node was running normal and all of sudden I get this error, ErrorPolicySuspendPeer (Just (ApplicationExceptionTrace (MuxError (MuxIOException Network.Socket.recvBuf: resource vanished (...
user avatar
3 votes
1 answer
45 views

libsodium build warnings

I am working to set up a Cardano staking pool (node). As I was building the specific reference of libsodium called out in the docs (66f017f1), I got a LOT of unsettling warnings such as (truncated): ...
user avatar
3 votes
1 answer
113 views

Did I lose a lot of ADA after updating Cardano node?? Alonzo hardfork

So, the context is I have cardano-wallet and node deployed via docker-compose. I do have mnemonic codes, wallet passphrase, id/label, everything. For alonzo hardfork, I had to upgrade my node which I ...
user avatar
3 votes
1 answer
50 views

Is there a penalty for having two block-producing (BP) nodes in a pool that try to mint a block in the same slot?

Is there a penalty for having two block-producing (BP) nodes in a pool that try to mint a block in the same slot? For example, I'd like to bring up a new BP node in another region, but that results in ...
user avatar
  • 31
3 votes
1 answer
157 views

Time required to build node

I'm setting up a node on my mac. It's been stuck on "Building network-3.1.2.1 (all, legacy fallback)" for a couple of hours now. Is this normal, or have I got something wrong? Thanks
user avatar
  • 31
3 votes
0 answers
27 views

Is there a "Moore's law" type function, that has been fitted to the Cardano blockchain size as a function of time?

In technology, when something is growing quickly and monotonically over time, we often fit the data over time to a curve and make claims like "the doubling time of the number of transistors in a ...
user avatar
3 votes
1 answer
168 views

Error running cardano-db-sync in docker-compose file as devcontainer

I have a docker-compose.yml file which I use as a devcontainer for VSCode. Part of my application requires access to cardano-db-sync so that I can query the database for transaction information. I am ...
user avatar