Yearn Finance
This tutorial explains how to use your Keystone to directly interact with Yearn Finance without any client interfaces (such as MetaMask or WalletConnect).
Firmware versions V1.4.0 (Multi-Coin) or newer allows you to use Yearn Finance with Keystone Essential or Pro.‌ Detailed instructions provided below will explain how to use your Keystone to directly interact with Yearn Finance.
If you would like to use your Keystone to interact with Yearn Finance through your MetaMask (fork) client, please refer to the tutorial link provided directly below:

I. Preparation

1. Setup your Keystone. (Getting started in 5 steps)
2. Firmware version V1.4.0 (Multi-Cion) or newer running on Keystone Essential or Pro.
(Please read How to upgrade firmware for more details)

II. Connect Keystone to Yearn

1. Keystone: Turn on the Keystone device, then select the [Menu] icon > [Watch-only Wallet]
2. Select [Web3] > [Confirm] > then select [Display QR Code] to show the QR code for syncing.
3. Visit the Yearn Finance’s vaults web page at https://yearn.finance/vaults/, and click [Connect wallet].
4. Select [Keystone] option, then click on [Sync Keystone] and scan the QR code shown on Keystone.
5. Click on drop-down icon to show all accounts and select whichever account you want to use, then click on [Done].
6. Yearn Finance should now be successfully connected to your Keystone.

III. Deposit Digital Assets (e.g. ETH)

Caution: If this is the first time you are depositing a Token, you will be required to authorize [Approve] the third party (e.g. the smart contract of Token A) to spend this Token in your wallet before you can execute the [Deposit].
1. Yearn Finance: Select the coin type (e.g. ETH) and set the amount you want to deposit into the vault. Click [Deposit] to get the unsigned transaction data in QR code format.
(Tip: If you are depositing ETH, make sure you have enough ETH left over to pay for future transactions that you might need to make.)
2. Keystone: Touch the “scan” icon and scan the QR code that is shown on Yearn Finance. Confirm the transaction details on Keystone. Touch [Sign] and enter your password to verify. It will then show the signed transaction data in QR code format.
3. Click [Scan Keystone] and scan the QR code displayed on your Keystone.
4. Signing your transactions should successfully deposit the concerning assets in the transaction. You should see the balance of the vault's interface reflect your deposit at the top of the vault list.

IV. Withdraw ETH

1. Approve

Caution: If it is the first time you are withdrawing from Token A to ETH (or to another Token), you will be required to authorize [Approve] the third party (e.g. the smart contract of Token A) to spend Token A in your wallet before you can [Withdraw].
1) Yearn Finance: Select the coin type (e.g. ETH) and set the amount you want to withdraw. Click [Withdraw] to get the unsigned transaction data in QR code format.
2) Keystone: Touch the “scan” icon and scan the QR code that is shown on Yearn Finance. Confirm approval on the Keystone device and touch [Sign], then enter your password to verify. It will then show the signed transaction data in QR code format.
3) Click [Scan Keystone] and scan the QR code displayed on your Keystone device to broadcast the transaction.

2. Withdraw

1) Yearn: When the approval succeeds, click [Withdraw] to get the unsigned transaction data in QR code format.
2) Keystone: Touch the “scan” icon and scan the QR code that is shown on Yearn Finance. Confirm the transaction details on Keystone. Touch [Sign] and enter your password to verify. It will then show the signed transaction data in QR code format.
3) Click [Scan Keystone] and scan the QR code displayed on your Keystone to broadcast the transaction.
4) Your withdrawal should be executed successfully at this point.
Last modified 2mo ago