Hello everyone, I am Melvin, the intern at Tezos Southeast Asia. As you know, I have been assigned to write a series of blog posts on how to use software wallets which we are now calling The Chronicles of The Interns. In the previous post, I showed you how to use AirGap to store and manage your Tezos tokens. Today, I am back again with ANOTHER wallet – this time we will learn how to use the Galleon wallet!
If you are looking for a desktop wallet, you can try Galleon! Galleon is a desktop wallet, meaning that you can access your tokens, perform your transactions and delegate on your desktop. Galleon also allows you to connect your Ledger Nano S to the application. This gives your wallet an extra layer of security, which just makes Galleon more appealing! Additionally, you can interact with contracts using Galleon even without having to use the tezos-client. Another cool thing about Galleon is that it allows you to connect to the testnet! If you are new to Tezos, this is great news for you as you can use the testnet feature and try out Tezos before moving onto the mainnet and using real Tezos tokens. This is also good news for developers, who may make use of Galleon to test out their projects.
Let’s get started!
1. Firstly and most importantly, we need to download Galleon from this link: Galleon Wallet
Have you installed it? Awesome! This is the page you should be looking at:
2. Let’s create a new wallet!
3. Create a new wallet file and password. Ensure that your password approved by the Galleon app is secure enough – it will be indicated with a tick at the side. You will need this wallet file and password to access your funds, so don’t lose them! If you lose your wallet file, you will not be able to access it anymore unless you have your secret key or seed phrase. I recommend you to save a copy of your wallet file on a separate, secure device.
4. Write down your seed phrase and verify it.
5. Write down all the 24 words somewhere. I recommend writing it on a piece of paper for the highest security.
6. Verify your words in the correct order.
Voila! It is so easy to create a web wallet! This is how the interface looks like:
Using your Ledger Nano with Galleon
One of the cool features that Galleon has is the ability to connect your Ledger Nano. This will provide a higher level of security as your secret key will not need to leave the Ledger Nano.
Next up, I will show you how to set up a Ledger Nano to be used with the Galleon app.
If you plan to purchase and use a large amount of tokens, I would recommend you purchase a Ledger Nano S to better safe-keep your tokens.
Before we get started, if yours is an all-new device, remember to set it up before continuing with this guide. Here is a video tutorial for setting up your Ledger Nano S: Set up as a new device
Have you finished setting it up? Awesome! Now, we can connect our ledger to the Galleon app.
1. Download Tezos Wallet on Ledger Live.
2. Connect your Ledger to your computer, unlock it and then go into the Tezos Wallet App.
3. Launch Galleon.
4. On the login page, click on Connect with Ledger.
5. Confirm your public key with the ledger.
6. Congratulations! You have successfully connected your Ledger to Galleon and gained a level (security +1)!
Using Galleon on Testnet
Before we move on to the other features of the Galleon desktop wallet, I want to introduce Galleon’s testnet feature to you, which allows you to perform transactions on the testnet! This is a feature of Galleon I like the most as I find it to be very useful. By connecting to the testnet instead of the mainnet, you can experiment with the wallet’s features, and it is also a great option for users new to Tezos to understand the network better and how it works.
To connect to testnet, you must first log out of your wallet (if you are already logged in), and go to settings. Under “Choose a different node”, select testnet on both the Conseil and Tezos nodes, then re-log in to your wallet. Your new balance should now be 0 as you are connected to the testnet!
You can try the steps which I am about to show you using this testnet account! Of course, you would need some (fake) Tezos tokens before that. To do so, you can go onto Telegram to generate some fake Tezos tokens. On Telegram, search for @tezos_faucet_bot, and click on start.
Then, select “Get coins” and enter your testnet address!
It’s simple as that, and you will be credited with 100 fake Tezos tokens which will be reflected in your Galleon wallet.
To perform transactions on Galleon, you must first have Tezos tokens inside your wallet and the account must be activated on the blockchain. Here, I am using the 100 tokens that I have just generated to demonstrate to you how to use the app.
1. Firstly, we click on the “Send” tab.
2. Secondly, enter the address that you are sending to, indicate the amount that you want to send and the fee you want to pay to the baker. You have an option to pay a designated low, medium or high fee.
This fee is given to the baker (a.k.a. validators) as a form of payment for helping to put your transaction onto the blockchain and allowing it to go through. By paying a higher fee, the baker will be happier and may place your transaction onto the blockchain earlier. More often than not, paying a low fee is sufficient to ensure your operation is included in the blockchain as the fee is carefully configured to be approved by bakers. In the event that your operation is unable to be processed, try a larger fee! On testnet, the fee required may be much higher for the operation to be included in the blockchain.
If you are sending it to an address that is not yet registered on the blockchain, you can ignore the error that shows up below your destination address.
After sending the tokens, the transaction will take some time before it is placed on the blockchain. You can check on the status of your transactions by using a block explorer.
After clicking “Send”, you can review the details of your transaction and verify that you are sending to the correct address. Input your password and confirm the transaction.
3. On your list of transactions, there is a button right beside every transaction.
Clicking the button brings you to Galleon’s default block explorer, Mininax, which allows you to check the status and details of all transactions on the blockchain. Let’s check out the transaction that we just did on the block explorer!
In the block explorer, there are a few things that we have to take note of.
- Operation hash: This is the unique hash of the operation you just performed. You can enter this hash in any other block explorer to view the details of your operation
- From and To: This is very important for you to check that the money comes from the correct address and is sent to the correct address
- Status: This shows whether or not the operation has been put onto the blockchain. If it is not applied yet, there is either an error in the operation, or it simply needs more time
As of the writing of this post, there is a bug in Galleon that brings you to the block explorer for mainnet, despite being in testnet. To circumvent this issue, simply change the ‘mainnet’ in the URL to ‘carthagenet’, and you will be redirected to the correct block explorer.
Now, I’m going to show you how you can delegate your Tezos tokens using Galleon.
1. Delegating your tokens is one of the cool features of the Tezos blockchain and Galleon supports token delegation. To delegate your Tezos tokens using Galleon, click on the ‘Delegate’ tab on the right side of your interface.
2. Enter the delegate address, as well as specify the fee you want to pay the baker. You can delegate any amount and to any tz1 account, but some bakers have a minimum delegate amount, so make sure to do your homework beforehand, and delegate to a baker that you like (I used mytezosbaker.com to find out who I should delegate to). As I am on testnet, I have delegated to my own testnet baker for this example.
When a delegation operation is successful, the address of your current delegate will be displayed under your own address.
Note: You can always change your delegate address later, but it will cost you some Tezos tokens to make the change. To change your delegate, simply enter another address on the same ‘Delegate’ tab.
Next, we will explore how to interact with smart contracts in Galleon, a feature that is quite unique to Galleon.
Interacting with smart contracts includes deploying a smart contract as well as invoking an existing contract. First, I will show you how to deploy a smart contract on Galleon.
Smart Contracts – Deploying
1. On the left side of your homepage, select Interact with Contracts. You will receive a warning message like this:
This just means that we are connected to the node hosted by Galleon, which means that if it is compromised, we could potentially lose our funds. However, as long as you are not performing operations involving a large amount of money on Mainnet, it is still safe to proceed. Tick on “I understand that this operation may result in a loss of funds” and proceed with the contract deployment.
2. Click on “Deploy a new contract”, and enter your smart contract code, select the format of your code (Michelson or Micheline), enter your initial storage, storage limit, gas limit, amount as well as fee to the baker. Here, I have input an empty code that I generated from try-michelson.tzalpha.net for demonstration purposes.
Now, as you may have noticed, I have also input the values of the storage and gas limit at 315 and 11,011 respectively. The storage limit is dependent on the code of the contract you are deploying or invoking, while the gas limit is dependent on other recent contract operations. However, Galleon does not have a function to estimate these values for you, requiring you to input the correct gas and storage limits (there is an upcoming update that will feature estimated gas and storage limits). Hence, I would recommend going to a block explorer like Tezblock, and checking the storage and gas limits of the most recent contract originations. Then, input similar values for your storage and gas limit when you deploy or invoke a contract. Although it did not always work for me, it is the fastest way to check.
Smart Contracts – Invoking
We can also invoke a smart contract, otherwise known as ‘calling’ a contract. You can invoke contracts that you may or may not have originated. To invoke a contract that you did not originate, simply click on ‘Interact with Contracts’, and select ‘Invoke an Existing Contract’. To invoke a contract that you originated, select the contract you would like to invoke on your list of contracts, also at the side of the homepage, select ‘Invoke’, and enter the details of the contract.
That’s all on how to use Galleon! Even though Galleon lacks the convenience of a mobile wallet, it is a great application for users who are looking for a desktop wallet. However, you should note that it only supports Tezos tokens. Another strong reason to use Galleon is its feature to use it with a ledger nano as you can mitigate the risk of security attacks, especially if you are holding a large amount of tokens. Best of all, you can test all of these features yourself, including the smart contract interactions, using the testnet!
I accidentally lost my wallet file, what do I do?
Don’t worry! As long as you still have your seed phrase or your secret key, you can recover your account. Here are the steps to recovering your account:
1. Open Galleon app, and click on “Create a new wallet”.
2. Create a new wallet file as well as a new password.
3. Select “Restore from Backup”, and enter your 24-word seed phrase.
When you enter your 16th word, an error message will appear at the bottom of the screen. Ignore the error message and continue entering your remaining words, then click “Restore”.
4. Alternatively, you can click on the “Private Key” tab after selecting “Restore from Backup” to restore your account using your private key.
With that, your account should be restored!
I can’t connect my ledger nano!
Check that you have installed the Tezos wallet application on Ledger Live. If you have installed the application, and it still doesn’t work, check that your USB cable is working fine and check that you have entered your pin correctly.
My connection was refused by my Ledger Nano!
Ensure that you have followed the steps on how to connect your ledger nano to Galleon in the correct order. It does not work if you launch Galleon, then connect your ledger.
My transaction failed, what can I do?
Try the transaction again! Sometimes it might not work on your first try. If it still doesn’t work, remember to check that you are sending your tokens to the right address and if your address has been activated on Tezos.
I can’t delegate my tokens on Galleon! What’s the problem?
Make sure you are delegating to a valid address, and that you meet the minimum delegation amount (if any) of the baker you are delegating to.
My delegation address is not showing!
Do you have the latest version of the application? Make sure that your application is up to date! You can install the latest version of Galleon on their website: Download Galleon.
Galleon says that my transactions are completed, but they don’t show up on block explorers.
The fee that you have set may be too low for the baker, thus your transactions are not being uploaded to the blockchain. Changing the fee to ‘medium’ should fix this issue.
If all the above troubleshooting still does not work well for you, please feel free to contact us at [email protected]. We will be more than happy to assist you.
That’s all, folks! I hope this guide will be useful in helping you to use Galleon to manage your Tezos tokens. Please feel free to share this blog with your friends!