Cardano Node CLI
Last updated
Last updated
The first step in using cardano node is to install the node sw and start running. Please note that this is not needed if you plan to use demeter.run that was explained earlier
To install cardano node and cardano-cli get the latest version from IOHK github. Although you can compile the node yourself, its easier to use precompiled node in the beginning
For node version 1.34.4 here is the link
Once you install the node, copy it to /usr/local/bin. Cardano has two testnests named preview and preprod. It is preferable to use preview testnet
Download the topology files from here for preview testnet
The node can be started with following comands
Testnet will take sometime to sync.
Cardano CLI
Once the node is synced, cardano coomandline can be used to interact. Following github gives details on commands that can be used
In this cardano-cli address , cardano-cli stake-address & cardano-cli transaction are important to write simple scripts to build and send transaction.
Playing with Cardano CLI using python
This is an example to send payments.