🧭
How to Guides for Coincashew Method Cardano SPOs
  • Maintenance and Daily Operations
    • How to Guides for SPOs using Coincashew Method
      • Adjust Node.Counter for KES
      • Renew KES Keys
      • Update Node and CLI to 8.0.0
      • Update Node to 9.1.1
      • Update cardano-submit-api
      • Update Mithril Signer
      • P2P Topology File Explained
      • How to Secure Pledge with Hardware Wallet
      • How to submit a vote as an SPO for Governance Actions
      • How to Delegate your SPO Wallet to a dRep
      • How to Add Pool Data from Cexplorer to your Grafana Dashboard
      • Answering SPO On-Chain Polls
      • Set up Blockfrost Ice Breakers
      • Update Blockfrost Ice Breaker
Powered by GitBook
On this page
  • Step 1 - Build Updated Version of cardano-submit-api
  • Step 2 - Stop submit-api service
  • Step 3 - Move cardano-submit-api
  • Step 4 - Restart Service
  • Step 5 - Check Status
  • Congratulations you did it!
  • Contributors
  1. Maintenance and Daily Operations
  2. How to Guides for SPOs using Coincashew Method

Update cardano-submit-api

This guide will walk you through how to update your cardano-submit-api

PreviousUpdate Node to 9.1.1NextUpdate Mithril Signer

Last updated 1 year ago

Credits to for documenting the procedure.

The procedure described here is done immediately following updating your node. This is because the cardano-submit-api files are part of the git files when you download a new Cardano node version. This can be done at the same time but it's assumed here that you run submit-api on only one relay so you might want to come back after update and perform these steps to just one relay.

If you need to check if cardano-submit-api is installed run:

which cardano-submit-api

Step 1 - Build Updated Version of cardano-submit-api

Assuming you use folder structure described . Your new node git files should be located here: $HOME/git/cardano-node if they are not there adjust the paths below.

Run the following commands to build updated version of cardano-submit-api

cd $HOME/git/cardano-node
cabal update
cabal build cardano-submit-api

Step 2 - Stop submit-api service

Our service name was tx-api.service if you use different name adjust below.

sudo systemctl stop tx-api.service

Step 3 - Move cardano-submit-api

We store our cardano-submit-api in the /usr/local/bin/ this is the path we specify in our start up scripts. if your path is different, please adjust paths.

sudo cp $(find $HOME/git/cardano-node/dist-newstyle/build -type f -name "cardano-submit-api") /usr/local/bin/cardano-submit-api

Step 4 - Restart Service

Again our service name was tx-api.service if you use different name adjust below.

sudo systemctl start tx-api.service

Step 5 - Check Status

sudo systemctl status tx-api.service

Congratulations you did it!

Contributors

Thanks to the following pools for helping to put together these guides. Please consider delegating to their pools to support them. Are you a pool? Consider buying them a coffee

Earn Coin Pool
Envy Stake Pool - Ticker ENVY
Earn Coin Pool - Ticker: ECP
xSPO Alliance
here