Reducing Cardano Transaction Times by Connecting CCVault or Nami to Daedalus Cardano Node

January 29, 2022
Connect CCVault or Nami Wallet to Daedalus to speed up transactions
Connect CCVault or Nami Wallet to Daedalus to speed up transactions

This tutorial will show you how to connect CCVault to Daedalus or Nami to Daedalus to speed up your transaction wait time, bypass shared transaction servers on the network and submit your own transaction from your own Cardano node via Daedalus.

There are some clever ways to reduce Cardano transaction times and this is one technique that is fairly easy for a novice with some technical knowledge to be able to run their own Cardano node to be able to submit transactions directly without having to wait in line with everyone else.

Many users are reporting issues around mempool full or certain parts of the network being overloaded with transactions, there are ways around it all to help reduce the load.

In the lead up to the SundaeSwap decentralised exchange launch and the amount of NFT projects launching at the moment, we are seeing more and more transactions being queued up in the mempool of various wallets and services.

These mempools act as buckets of transactions with memory limits in regards to how many they can hold. They work as a first in first out process and as more and more people use wallets that rely on certain infrastructure, the more congested the wallet infrastructure becomes.

This method is one way to decentralise your dependence on these services and have your own Cardano node that will allow you to bypass various services and their mempool backlogs.

How to Connect Nami to Daedalus or CCVault to Daedalus on Windows (Scroll to see Mac instructions)

Scroll down to see how to do it on a Mac.

Credits to Pernis Team

All this came about from a video post that the team from Pernis Token produced that talks about the process. Check out their video on how to do it all.

Solution: Connect Nami to Daedalus or CCVault to Daedalus

Nami Wallet is a great lightweight wallet that allows you to interact with decentralised applications (dApps) and participate in decentralised finance (DeFi) and much more.

Daedalus is a full node wallet, that is, it makes a copy of the blockchain locally on your computer and allows you to interact with the blockchain locally and submit transactions to it directly.

Combining the two and configuring Nami to connect directly to the Daedalus node means you can now have a web3 interface powered by your own Cardano node delivered by Daedalus. By not relying on third-party wallets servers, we can bypass the backlog of transactions that are filling up their mempools by the number of users that are using their services.

Teams are working out scaling solutions to improve the user experience. Everything from increasing the block size of the blockchain, to scaling of the servers that the wallets use, using different optimisation scripts for processing transactions and much more.

How To Connect Nami to Daedalus or CCVault to Daedalus Cardano Node

The process is overall fairly easy and can be complete within 15 minutes if the Daedalus wallet is fully synced.

All the commands once you've downloaded all the files and config.

Connecting Nami to Daedalus or CCVault to Daedalus Backend Cardano Node

Total Time: 15 minutes

Download Daedalus and Install on Windows

Download and install Daedalus for Windows
https://daedaluswallet.io/

Since it is a full node wallet, it will take some time to download a copy of the blockchain to your operating system. This step may take 24-36 hours to complete.

Download the Windows Executable of Cardano Node

Connecting Nami to Daedalus Node Executable download

Go to https://github.com/input-output-hk/cardano-node/
and download the Cardano Node Executable.

It will take you to another website that is owned by IOHK where you can download the Windows version of the files.

Extract this Zip file to your computer. In this demonstration, we are simply storing this in the Documents folder.

C:/Users/Peter-PC/Documents/Cardano-node-1.33.0/

* Note: If you are using anti-virus software, it will pick up various files in the folder as being malicious and will remove them. This includes various libsom files which are needed to operate the node. Please restore and exclude these files from your antivirus software.

Download the Configuration Script

Now that you have the executable file, you will need the configuration file for the submit API.

It can be downloaded from the same repository under Cardano-submit-api/config

https://github.com/input-output-hk/cardano-node/blob/master/cardano-submit-api/config/tx-submit-mainnet-config.yaml

Ensure that you are saving the raw YAML file to the same folder as where you have saved and extracted the Cardano node executable.

https://raw.githubusercontent.com/input-output-hk/cardano-node/master/cardano-submit-api/config/tx-submit-mainnet-config.yaml

In our example, that is C:/Users/Peter-PC/Documents/Cardano-node-1.33.0/

Ensure that Daedalus Is on and Synced

For any of the next steps to work, ensure that Daedalus is turned on and synced to the blockchain. If it isn't it will not work.

Run These Commands in Powershell from the Cardano Executable Folder

Change directory to where you extracted the cardano node executable

cd ~/
cd .\Documents\
cd .\cardano-node-1.33.0-win64\


Run this command to set the environment variable to the socket path. We're setting this so we can set the submit API the details where Daedalus node is and can be accessed.

$ENV:CARDANO_NODE_SOCKET_PATH = (Get-ChildItem \\.\pipe\ | Where-Object {$_.name -like "cardano-node*"}).FullName

Run this to check to see if the command worked.
$ENV:CARDANO_NODE_SOCKET_PATH

You should see something like
\.\pipe\cardano-node-mainnet.12768.1

Now execute the next command to start the Cardano Submit API
.\cardano-submit-api.exe --mainnet --socket-path $ENV:CARDANO_NODE_SOCKET_PATH --config .\tx-submit-mainnet-config.yaml --port 8090

You should see
Running server on 127.0.0.1:8090

That will let you know that your local Cardano submit tx API is working.

If you're using Nami Wallet - Connect Nami to the set custom node

Now that you have your local node setup, you can connect Nami wallet to it.

Open Nami wallet.
Click settings
Choose Network
Tick the option for Custom Node and enter in the address of your custom node.

In this example we have

http://localhost:8090/api/submit/tx

Press Apply

If you're using CCVault - Connecting the CCVault to Daedalus Configuration

Connect CCVault to Daedalus

Open CCVault, recommend you use the browser extension.

1. Click Preferences - Global Settings for the app
2. Enable the toggle switch for Custom Submit API Endpoint
3. Paste in your address of your newly created endpoint - http://localhost:8090/api/submit/tx

Test that it is all working

Testing your Transaction

Now that you have it all connected, it is best to test your setup.

Click on your RECEIVE and copy your address. Click on your Send and paste in your receiving address.

Send 1 ADA to yourself and test that it comes through.

If it sends then you have successfully connected CCVault to Daedalus or Nami to Daedalus node and you're ready to use your Frankenstein wallet.

Tools:

  • Daedalus Wallet
  • PC or Laptop
  • 30 gig hard drive space
  • 16 gig RAM
  • Nami Wallet Browser Extension

Instructions for Connecting CCVault to Daedalus on Mac or Nami to Daedalus on a Mac

You're Set! What is this Best For?

With this method, you'll be able to have the best of both worlds.

Daedalus has always been the best wallet for NFT drops as you had that open and constant connection to the blockchain but of course, Daedalus can't connect directly to dApps because it is a native application on your computer and not a browser extension.

Cardano NFT ADAWaifus.io

With this method, you can now have the best of both worlds. A constant connection to the blockchain that doesn't rely on third-party services and a wallet interface that allows you to connect to decentralised applications and participate in decentralised finance.

Credits

All credits for this information go to https://youtu.be/sfLhNEtiktA for posting the original tutorial and method for setup.

Comments

27 comments on “Reducing Cardano Transaction Times by Connecting CCVault or Nami to Daedalus Cardano Node”

  1. Curious as to why you left out instruction for connecting your nano wallet with cardano mode on a Mac. Is it the same

    1. Instructions are on the documentation at the bottom. It's essentially the same, commands are a bit different but I don't have my mac synced yet to do the tutorial. It's coming soon.

  2. Wow, this is amazing! Can't believe I haven't found your channel before. Do you need to have the same wallet on Daedalus that you are going to use on Nami? It doesn't seem like you would but I wanted to ask. Really looking forward to the Mac video version as well.

  3. I've tried your tutorial about 20 times now and I keep getting the following error: Invalid argument `.\tx-submit-mainnet-config.yaml'

    I'm at my wits end! I've followed every single step maticulously and can't understand how it isn't working.

    Daedalus is powered up, all files extracted included the YAML config file in the correct folder, but when I run the scripts in Power Shell it doesn't seem to recognise the tx-submit-mainnet-config.yaml file.

    1. I bet you anything that the yaml file that you downloaded is a .txt file and not a .yaml file.

      The command is throwing the error essentially saying that it can't find that config file.

      Look for it in the directory, change it from 'tx-submit-mainnet-config.yaml.txt' to 'tx-submit-mainnet-config.yaml'

    1. I could make a file that you click and it does all of that but you'd have to trust 100% that it is doing exactly as I say it's doing otherwise it could be doing anything to your computer.

      If you copy the highlight commands line by line then it should work. Works each time for me when I fire this beast up.

  4. Hey I am having the following trouble after i tried to submit the API, which is last command

    The command
    "(base) [email protected] nami-submit % ./cardano-submit-api --config tx-submit-mainnet-config.yaml --socket-path $CARDANO_NODE_SOCKET_PATH --port 8090 --mainnet"

    The Error
    "Invalid argument `8090'

    Usage: cardano-submit-api --config FILEPATH
    [ --shelley-mode
    | --byron-mode [--epoch-slots NATURAL]
    | --cardano-mode [--epoch-slots NATURAL]
    ]
    (--mainnet | --testnet-magic NATURAL)
    --socket-path FILEPATH
    [--listen-address HOST]
    [--port INT]

    Cardano transaction submission web API."
    Help me with it

    1. I have a feeling the part of the command before it defines the port might not be working.

      $CARDANO_NODE_SOCKET_PATH

      This variable may not be set yet. Follow the first two lines of the code dump to make sure that this variable is set. Test to make sure you get that socket output.

      Also, make sure Daedalus is running in the background. Let me know how you go.

  5. After typing cd .\cardano-node-1.33.0-win64\ it tells me directory does not exist but the zip file & the unzipped files in the folder are in my docs.

    1. It sounds like you're in the wrong folder.

      The way I've set up the tutorial is to have it in your Documents folder.

      Make sure it's in there and unzipped to the folder with the same name.

      cd ~/
      cd "NAME OF THE CARDANO NODE FOLDER"

      You can type part of the name and press TAB key to auto complete.

  6. when I enter $ENV:CARDANO_NODE_SOCKET_PATH = (Get-ChildItem \\.\pipe\ | Where-Object {$_.name -like "cardano-node*"}).FullName I dont get any change. I run the command to check & it seems to be doing nothing. I have Daedalus running & synced. I cant seem to get past accessing the folder.

    1. That command won't do anything.

      The command after "$ENV:CARDANO_NODE_SOCKET_PATH"

      when entered will show you the output of what that environment variable is. If that doesn't appear, it's not finding Daedalus.

      1. How can I fix this & make it find Daedalus? I make it into the correct location with the first 3 commands but nothing after that. I have Daedalus running & synced. Could files be getting removed when I unzip it to my Docs folder that would cause this? Thank you for your help.

        1. Yeh the files may have been removed. A Virus scanner would remove them. If you have one installed you have to whitelist the files that you are using.

          You could also be running the commands in the wrong folder. Make sure that the commands that you're running are in the same folder as you extracted all the files to.

      2. I have made it into the directory folder but I cant get powershell to find Daedalus. I can't seem to get pipe address after I used the first command. After running $ENV:CARDANO_NODE_SOCKET_PATH = (Get-ChildItem \\.\pipe\ | Where-Object {$_.name -like "cardano-node*"}).FullName and then using $ENV:CARDANO_NODE_SOCKET_PATH to check to see it worked I get nothing. If I run .\cardano-submit-api.exe --mainnet --socket-path $ENV:CARDANO_NODE_SOCKET_PATH --config .\tx-submit-mainnet-config.yaml --port 8090 I get the result of Invalid argument '.\tx-submit-mainnet-config.ymal' I dont understand why this isn't working for me but I see others are having the same issue. Could this be from the recent update to Daedalus? Please help lol & thank you for all of this.

        1. If the your check with the command: $ENV:CARDANO_NODE_SOCKET_PATH

          Didn't work, then the rest won't work.

          This stumped me too. It will only work if Daedalus is running and FULLY synced. If it's still updating it won't work at all. My first sync was 36 hours and then the bloody upgrade from 4.7 to 4.8 took another 3 hours.

  7. Hi mate,

    Getting this error on Powershell-

    Get-ChildItem : Illegal characters in path.
    At line:1 char:34
    + $ENV:CARDANO_NODE_SOCKET_PATH = (Get-ChildItem \\.\pipe\ | Where-Obje ...
    + ~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo : InvalidArgument: (\\.\pipe\:String) [Get-ChildItem], ArgumentException
    + FullyQualifiedErrorId : DirArgumentError,Microsoft.PowerShell.Commands.GetChildItemCommand

    Any advice? Thanks

    1. That's a weird one as you're just setting a variable there. It's not liking some of the text characters that are in the formatting maybe. I'll copy all the commands to a text Pastebin and try copying from that. Give me 10, it will be above the step by step tutorial

  8. First, thanks for the work put in here. Greatly appreciated!

    My experience...was able to complete steps above. Downloading the .yaml file automatically got the .txt extension so had to rename that. Might be worth a note to confirm the filename after downloading.

    A few questions:
    - I submitted a swap. PowerShell nearly immediately "successfully submitted transaction...". Nami took 13 minutes before showing in my history and both Nami and Cardanoscan showed that the timestamp was the later time. Assuming this is 'normal' but curious as to why the delay?
    - Does PowerScript need to remain open?

    Appreciate you....

    1. Yes, that's right. I also got the .txt extension, so the way I described avoids that. Some still get it.

      The process works by submitting your transaction to your node. That is when you get your success message. Great. At that point, you need to leave everything on and running as the transaction is on your node and patiently waiting for a space on a block to be included.

      In your case, it took 13 minutes to it to submit from your Daedalus node to the blockchain. The usual wait time is still around 10 minutes even with this method. You do have to wait for that Nami wallet confirmation and keep Daedalus open in the background and PowerShell all that time. (well not Powershell but def Daedalus)

      It is also good to NOT do another transaction until the first is finished.

  9. dyld: Library not loaded: @executable_path/libffi.7.dylib
    Referenced from: /Users/patrickwalker/Documents/nami-submit/./cardano-submit-api
    Reason: image not found
    zsh: abort ./cardano-submit-api --config tx-submit-mainnet-config.yaml --socket-path [email protected] nami-submit %

    Get to this part and I'm lost. Also, the terminal on my Mac does not recognize the command wget - I tried using cURL instead but I'm not sure if that downloads that .yaml file or not. Great video Peter, I'm just a bit new to this.

    1. It's either one of two things.

      1) You're in the wrong folder
      I can see you're in /Users/patrickwalker/Documents/nami-submit/ Check to see where those Cardano Node files were unzipped to. We're the unzipped to the NAMI-SUBMIT folder or are then in another subfolder called "Cardano-node-1.33.0-xxxxxxxx" If there is that folder, you either need to move into that folder or move those files up one to the Nami-submit folder. You can do this in finder, might be a bit easier.

      2) The files are missing
      Your Mac may have blocked access to the files. Can you confirm that the files are there in debug step 1? As to unblock access to apps or executables, it's a system security thing that you have to allow. On the PC we can RUN AS ADMINISTRATOR, on the Mac you have to enable file access to apps.

Leave a Reply

Your email address will not be published.

New Cardano ISPOs for April 2022

April 22, 2022

Every few months there are more and more Initial Stake Pool Offerings (ISPOs) that are starting up in the Cardano ecosystem. This unique funding method allows projects to raise the necessary funds required to build their projects while allowing for a relatively safe and risk free way to participate in the ecosystem. Genius X ISPO […]

How to Compound Your VyFinance Rewards from NFT & Token Staking

April 15, 2022

Compounding your rewards on the VyFinance (VyFi) platform can earn your more rewards compared to simply leaving your rewards unattended. Compound interests is a powerful invention. Harvesting Rewards & Compounding Returns on VyFinance Did you remember to harvest your rewards on the VyFinance platform? I totally forgot! All of my NFTs had matured and were […]

Happy Cardano Stake Pool Registration Day to ADAOZ and Our First Year of Operation

February 21, 2022

One year ago today, I decided to open up a Cardano stake pool and I've ended up down a rabbit hole that I did not expect. My expectation was to simply start a pool, write a handful of articles about the pool and staking and watch the delegation come in. That was far from the […]

How to Participate in the MinSwap DEX Launch (8th March) & Maximise Your Rewards

February 20, 2022

The MinSwap Decentralised Exchange is close to completion and in its final stages of launching on the Cardano Mainnet blockchain which will mean we will see live swaps capabilities and yield farming options soon. All the content in this article has been referenced from the MinSwap Liquidity Bootstrapping Event article found on their Medium. Overview […]

ADAXPro / VyFinance Partnership NFT Giveaway

February 16, 2022

Enter via the Gleam app for your chance to win one of the partnership NFT to stake via the VyFi platform. The competition will run for a week and will be drawn on the 23rd of Feb. Learn more about staking NFTs on the VyFi app and how you can earn extra rewards simply by […]

Ardana ISPO via the Ardana Stake Pool Alliance

February 15, 2022

Ardana has announced the Ardana ISPO to the community. Ardana is offering $DANA tokens for users that are staking at the various stake pools that are a part of the Ardana Stake Pool Alliance, which we ADAOZ is a part of. The team at Ardana have witnessed large amounts of ADA consolidate around a few […]

Choose a Wallet

Get Started

Delegate with the Daedalus Wallet

  • Download the Daedalus app
  • Create/select your wallet
  • Select Delegation Centre -> Stake pools
  • Search for our stake pool ticker: ADAOZ
  • Select to delegate
daedalous wallet

Delegate with the Yoroi Wallet

  • Download the Yoroi app
  • Create/select your wallet
  • Select Delegation Centre -> Stake pools
  • Search for our Stake pool ticker: ADAOZ
  • Select to delegate
Yoroi wallet

Delegate with the Nami Wallet

  • Download the Nami Wallet extension
  • Create/select your wallet
  • Send funds to your wallet
  • Click DELEGATE WITH NAMI Button on our website
Nami Wallet

Stay Up to Date

DISCLAIMER: The information on this site may contain errors or mistakes, please do your own research. Unofficial Cardano website.
Past performance is not indicative of future results. Any investment in blockchain assets involves the risk of loss of part or all of your investment. The value of the blockchain assets you exchange is subject to market and other investment risks.
Copyright © CardaNode Australian Cardano Stake Pool. - Designed & developed by PB Web Development
linkedin facebook pinterest youtube rss twitter instagram facebook-blank rss-blank linkedin-blank pinterest youtube twitter instagram