16
votes
Can Daedalus be used to query the blockchain, like a passive node?
Daedalus runs its own instance of cardano-node under the hood, so by installing and using cardano-cli, one can connect to this node and interact with the blockchain directly.
Start Daedalus, and wait ...
- 701
10
votes
What are relay nodes?
From developers.cardano.org:
Within the Cardano environment, there are two types of nodes: Block-producing nodes, and relay nodes, which are nodes with no operational certificates.
Relay nodes do not ...
- 7,069
10
votes
Accepted
Installing Cardano-node on an M1 Mac
I also do have Macbook with M1 chip and I use precompiled binaries that ship with Daedalus. It will save you a lot of trouble unless you really want to build it from source.
After you've installed ...
- 631
9
votes
Accepted
EKG metrics interpretation and documentation
Since the current network settings define one slot per second and each block that reaches a node was created for a specific slot, the local node can determine how "on time" the block arrived....
- 614
7
votes
Accepted
How does Cardano execute real time transactions if block time is 20 seconds?
Block time is 20 seconds in average. Sometimes we have blocks at shorter intervals, sometimes much longer. I saw sometimes sequences of 4 or 5 blocks at one second interval from each other. And ...
- 1,141
6
votes
Accepted
Using cardano-node installed by Daedalus as CLI?
Yes, it is possible.
First, you need to install cardano-cli binary (you can find it in the Hydra build system, depending on your OS which might be Linux, Windows or Mac OS.
After you have your cardano-...
- 7,069
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 ...
- 1,443
6
votes
Accepted
How do I make a Sidechain
To create a side chain, you need a smart contract language both on the Cardano side and also on the side chain side. You also need off-chain code (e.g. a website) for people to interact with those ...
- 2,572
5
votes
Cardano Development
A great place to start is https://developers.cardano.org/.
The page provides a good overview about all Cardano development related topics.
Another great place to get started and learn is the cardano ...
- 3,490
5
votes
Cardano Node + DB Sync + Graph QL vs. Blockfrost API
I've been on a bit of a journey with this so might be able to add some insight. We originally started by running our own node inside our Kubernetes cluster, alongside a cardano-wallet container that ...
- 354
5
votes
How can I derive the Staking address from a Payment address?
This only works if it's an address embedding the payment and stake credential. You can use cardano-address address inspect locally. You could also use a tool like cardanoscan.io which when given an ...
- 2,572
5
votes
Can complete transactions be effected using Cardano-cli with only minimal or no plutus involvement?
I have some example python code that does pretty much what you ask called adawallet. https://github.com/input-output-hk/adawallet
It works by shelling out to the CLI from a python library to cardano-...
- 2,572
5
votes
Accepted
Is there a Python Version of Cardano Node-CLI JavaScript Library?
I know you are asking for a python library interacting with a node, but let me tell you there is a very comprehensive python library with which you don't need to run a node yourself.
You can find a ...
- 619
5
votes
db-sync "Killed" sometimes. Why?
db-sync has a rather high memory usage. We (I am one of the developers) are working on reducing it, but for now, the only solution is to provide more memory.
If you are running node on the same ...
- 2,220
4
votes
How can I check if my node is fully synced?
You can use a remote API such as blockfrost.io.
Since cardano-cli version 1.28.0, the syncProgress can be checked directly:
$ cardano-cli query tip --testnet-magic 2
{
"epoch": 234,
...
- 7,069
4
votes
Accepted
Getting a "Yaml file not found" error when trying to run cardano-node
JSON is a proper subset of YAML, so JSON is okay. Are you using the standard testnet config downloaded from here? It is best to wget it.
- 384
4
votes
Error running Testnet node: unwrapEnvelopeErr = ObsoleteNodeCHAIN BlockNo 2989599 SlotNo 39614381
The solution for this problem is to download the latest version of cardano-node. 1.29 is broken for testnet, but the 1.30.1 works perfectly.
Download here:
(https://hydra.iohk.io/build/7739444)
- 251
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 ...
- 3,489
4
votes
Accepted
When was the slot duration set to 1 sec on Cardano Testnet?
I did a little bit of digging. Block 1597133, created on 2020/07/28 20:20:16 was the first block to use 1 second per slot.
Epoch
Slot
Block
Created
Delta Next Slot
Delta Next Created
Time Per Slot
...
- 520
4
votes
Cardano - cardano-cli query utxo - get all utxo of an address
You can do it via cli omitting --whole-utxo
cardano-cli query utxo --address $(cat /path/to/addr) --testnet-magic 1097911063
- 71
4
votes
How can I stop Cardano Node correctly without running it as a service?
I think you should resume the session and press Control-C to stop cardano-node when you are running it in tmux.
- 1,141
4
votes
Accepted
How to get CLI access from Daedalus installation?
Daedalus has its own cardano-node instance, so you can specify the node's socket variable and use it for cardano-cli purposes.
First, launch Daedalus, and click on Help > Daedalus Diagnostics. ...
- 3,489
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 ...
- 666
4
votes
Network.Socket.connect: <socket: 11>: permission denied error accessing node.socket over shared volume mount in docker
The cardano-node inside the docker run as root, and created node.socket as root:
srwxr-xr-x 1 root root 0 Oct 19 00:13 node.socket
HOW TO:
METHOD 1: You can try to change the owner directly, but ...
- 41
4
votes
db-sync "Killed" sometimes. Why?
Most likely it is killed because the server's RAM is exhausted. How much RAM does the server have? I assume it is running on mainnet.
You can double check with dmesg -T to see if it was really killed ...
- 1,141
3
votes
Cardano Development
You can join reddit channel for Cardano developers. You can also try to join the Plutus Pioneer Program but Haskell is must for it.
3
votes
Accepted
Test node failure
Today the Alonzo hardfork was done on the Testnet, you should update your cardano-node and cardano-cli to version 1.29.0.
- 3,490
3
votes
Setting up a stake pool relay node
You do not need two relays nodes, in fact, you do not need even a relay, but it is a recommended practice.
Yes, the requirement is for the cardano-node and it is same being a relay, as well as a block ...
- 7,069
3
votes
Accepted
Airgapping Concerns for Block Producer Secrets
The pool keys control the pool and can never be changed. If your pool keys are exposed, then you have lost control of your pool (this doesn't necessarily mean your pledge, but control of the fees, ...
3
votes
Does Cardano Node support chained transactions?
No - as it would also opens a web of security issues, including deficiencies of accounting model - also, it enables a possibility to DDoS network for a small duration.
*Correction: Apparently you can ...
- 1,527
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
cardano-node × 263cardano-cli × 83
wallet × 40
cardano-db-sync × 26
stake-pool × 20
plutus × 19
daedalus × 15
testnet × 13
node × 13
transaction × 11
api × 11
cabal × 8
syncing × 8
smart-contract × 7
plutus-pioneer-program × 7
cardano-address × 7
blockfrost × 7
docker × 7
nix × 6
nft × 5
blockchain × 5
install × 5
macos × 4
cardano-graphql × 4
plutus-pab × 4