Kévin
    • Create new note
    • Create a note from template
      • Sharing URL Link copied
      • /edit
      • View mode
        • Edit mode
        • View mode
        • Book mode
        • Slide mode
        Edit mode View mode Book mode Slide mode
      • Customize slides
      • Note Permission
      • Read
        • Only me
        • Signed-in users
        • Everyone
        Only me Signed-in users Everyone
      • Write
        • Only me
        • Signed-in users
        • Everyone
        Only me Signed-in users Everyone
      • Engagement control Commenting, Suggest edit, Emoji Reply
    • Invite by email
      Invitee

      This note has no invitees

    • Publish Note

      Share your work with the world Congratulations! 🎉 Your note is out in the world Publish Note

      Your note will be visible on your profile and discoverable by anyone.
      Your note is now live.
      This note is visible on your profile and discoverable online.
      Everyone on the web can find and read all notes of this public team.
      See published notes
      Unpublish note
      Please check the box to agree to the Community Guidelines.
      View profile
    • Commenting
      Permission
      Disabled Forbidden Owners Signed-in users Everyone
    • Enable
    • Permission
      • Forbidden
      • Owners
      • Signed-in users
      • Everyone
    • Suggest edit
      Permission
      Disabled Forbidden Owners Signed-in users Everyone
    • Enable
    • Permission
      • Forbidden
      • Owners
      • Signed-in users
    • Emoji Reply
    • Enable
    • Versions and GitHub Sync
    • Note settings
    • Note Insights New
    • Engagement control
    • Make a copy
    • Transfer ownership
    • Delete this note
    • Save as template
    • Insert from template
    • Import from
      • Dropbox
      • Google Drive
      • Gist
      • Clipboard
    • Export to
      • Dropbox
      • Google Drive
      • Gist
    • Download
      • Markdown
      • HTML
      • Raw HTML
Menu Note settings Note Insights Versions and GitHub Sync Sharing URL Create Help
Create Create new note Create a note from template
Menu
Options
Engagement control Make a copy Transfer ownership Delete this note
Import from
Dropbox Google Drive Gist Clipboard
Export to
Dropbox Google Drive Gist
Download
Markdown HTML Raw HTML
Back
Sharing URL Link copied
/edit
View mode
  • Edit mode
  • View mode
  • Book mode
  • Slide mode
Edit mode View mode Book mode Slide mode
Customize slides
Note Permission
Read
Only me
  • Only me
  • Signed-in users
  • Everyone
Only me Signed-in users Everyone
Write
Only me
  • Only me
  • Signed-in users
  • Everyone
Only me Signed-in users Everyone
Engagement control Commenting, Suggest edit, Emoji Reply
  • Invite by email
    Invitee

    This note has no invitees

  • Publish Note

    Share your work with the world Congratulations! 🎉 Your note is out in the world Publish Note

    Your note will be visible on your profile and discoverable by anyone.
    Your note is now live.
    This note is visible on your profile and discoverable online.
    Everyone on the web can find and read all notes of this public team.
    See published notes
    Unpublish note
    Please check the box to agree to the Community Guidelines.
    View profile
    Engagement control
    Commenting
    Permission
    Disabled Forbidden Owners Signed-in users Everyone
    Enable
    Permission
    • Forbidden
    • Owners
    • Signed-in users
    • Everyone
    Suggest edit
    Permission
    Disabled Forbidden Owners Signed-in users Everyone
    Enable
    Permission
    • Forbidden
    • Owners
    • Signed-in users
    Emoji Reply
    Enable
    Import from Dropbox Google Drive Gist Clipboard
       Owned this note    Owned this note      
    Published Linked with GitHub
    • Any changes
      Be notified of any changes
    • Mention me
      Be notified of mention me
    • Unsubscribe
    # Ternoa Ledger App ## Introduction When storing your crypto, it's best to keep it in a hardware wallet to safeguard it against hacks. Ternoa's native currency CAPs can now be stored on Ledger devices.Ledger devices are hardware wallets that keep your secret key secured on a physical device that does not expose it to your computer or the internet. As the private keys associated with your tokens are stored on a secure element inside of the Ledger, they will never be leaked even if you connect to your computer. Ledger devices are also hierarchical deterministic wallets (HD wallets), * Deterministic means that there is only one seed phrase to generate all the accounts on different blockchain networks. * Hierarchical means that the accounts are generated in a tree-like structure for different purposes. Ledger devices can be equipped with blockchain-specific applications. These are usually developed by third parties and they enable the user to transact securely on the blockchain network. The Ternoa Ledger application allows you to manage Ternoa’s native token, CAPS. It supports most of the transaction types of the network, including batch transactions from the Utility pallet. :::warning ⚠️ **LEDGER APPS MAY NOT SUPPORT ALL TRANSACTION TYPES**** Please check [Ledger Ternoa App](https://github.com/capsule-corp-ternoa/ledger-ternoa/tree/dev) specifications for the list of transactions supported. Some transactions might only be supported on a specific version of the app and some transactions are not supported at all by any version. ::: ## Requirements/ Getting started Before you can start using Ternoa with Ledger ensure that you have: * A Ledger Nano X or Nano S plus (recommended for Ternoa Ledger App space requirements). The Ledger Nano S has limited memory and is no longer produced. * Installed the latest firmware of the Ternoa Ledger App installed (always check for updates in Ledger Live under the "Manager" tab, you will need to allow access with your nano). * Installed Ledger Liveat version 2.1 or higher (see settings -> about to find out if you're up to date). * Installed a Chromium-based web browser you can use to access the [Polkadot-JS UI](https://polkadot.js.org/apps/?rpc=wss%3A%2F%2Fmainnet.ternoa.network#/accounts). Because of required WebUSB support, Ledger wallets currently only work on Chromium-based browsers like Brave and Chrome. ## Using Ledger with Polkadot-JS Apps ### Loading Your Account :::warning ⚠️ Please turn off Ledger Live while using your Ledger with PolkadotJS as it can interfere with normal operations. ::: Start by importingt your Ledger account to the [Polkadot-JS UI](https://polkadot.js.org/apps/?rpc=wss%3A%2F%2Fmainnet.ternoa.network#/accounts). You can find instructions on how to import your Ledger accounts to the Polkadot Extension in [this support article](https://support.polkadot.network/support/solutions/articles/65000175387-how-to-add-your-ledger-through-the-polkadot-extension). To import Ledger accounts to the Polkadot JS UI follow the steps outlined in [this article](https://support.polkadot.network/support/solutions/articles/65000170812-how-to-add-ledger-account-through-the-polkadot-js-ui). ### Derivation paths When adding a Ledger account using the extension or the UI, you will be asked to select an <span style="color:DeepPink">account type</span> and an <span style="color:DeepPink">account index</span>. The first lets you select an account, while the second lets you pick a derivation path from that account. You can think of it as a formula from which child accounts are generated. When you are creating a Ternoa ledger account for the first time on Ledger Live with the name <span style="color:DeepPink">Ternoa 1</span>, this can be added to Polkadot JS using the 0/0 derivation path (i.e. account type = 0 and account index = 0). If then you add a second account called <span style="color:DeepPink">Ternoa 2</span>, this will correspond to the 1/0 derivation path, and so on. We thus have multiple parent accounts that can be viewed and used in both Ledger Live and Polkadot JS. Additionally, we can use Polkadot-JS UI to create multiple children accounts from each parent account. For example, <span style="color:DeepPink">Ternoa 1</span> with 0/0 derivation path can have child 0/1, 0/2, etc. that can be used within the UI. However, such children accounts cannot be used in Ledger Live, as it only scans through the parent accounts. Keep in mind that the balances on the children's accounts cannot be viewed, and you will not be able to transact with those accounts on Ledger Live. ### Connecting your ledger device When using a ledger device to sign transactions, you might need to confirm the USB connection through a popup like the one below: ![](https://i.imgur.com/NpEiPUX.png =500x) If you are adding your Ledger Nano for the first time,pick your device (Nano S in this case) and the "Connect" button will become available. :::warning ⚠️ **SIGNATURE ERROR MESSAGE** If you already connected your device but an error message appears before signing a transaction, make sure you have opened the Ternoa application on your Ledger Nano device. Visit [this support page](https://support.polkadot.network/support/solutions/articles/65000181994) for more information about signing transactions using your ledger. ::: ### Confirming the Address on your Device One of the security features hardware wallets offer is that they ask you to confirm your account address on the device to ensure that what you see on your computer is the correct address and hasn't been changed neither by the UI nor after copying it. This way you're sure that when you send tokens to your account, they'll arrive at the correct destination. 1. On the [Accounts](https://polkadot.js.org/apps/?rpc=wss%3A%2F%2Fmainnet.ternoa.network#/accounts) page on Polkadot-JS UI, click on the three dots next to your Ledger account and select "Show address on hardware device" ![](https://i.imgur.com/YM9dhGh.png =400x) 2. On your Ledger the "Please review" message will appear. Click the right button to view your address and compare it to the one shown in the UI or to the one you just pasted in order to receive funds. ![](https://i.imgur.com/pcNlSTT.jpg =300x) 3. Then click the right button again and "Approve" to discard the message on your device. ### Checking the Balance of Your Account You can see your balance in the [accounts](https://polkadot.js.org/apps/?rpc=wss%3A%2F%2Fmainnet.ternoa.network#/accounts) section of Polkadot-JS UI. ![](https://i.imgur.com/KOd3nMO.png =400x) ### Sending a Transfer :::info 💡 Here is a video of how to transfer funds with your Ledger: https://jmp.sh/g1xSDOfJ ::: Whether your account is in the <span style="color:DeepPink">Polkadot extension</span> or created/added directly on the <span style="color:DeepPink">Polkadot-JS UI</span>, you'll need to use the Polkadot-JS UI interface to send funds or issue any extrinsic. The Polkadot extension is an account manager, not a wallet, so it requires a UI to interact with Signing a transaction is the final step of any transaction, it approves sending funds out of your account. A transaction will not be broadcasted to the blockchain until you sign it. You sign a transaction with your private key, proving that you own this account. The signing process, however, depends on the wallet or account manager you use. 1. Connect your Ledger to the computer, unlock it, and open the Ternoa app ![](https://i.imgur.com/7ATqzaj.jpg =300x) 2. On Polkadot-JS UI, initiate a transaction and click <span style="color:DeepPink">"Sign and Submit":</span> ![](https://i.imgur.com/5yPUiEi.png =300x) ![](https://i.imgur.com/j3qBz2Z.png =500x) 4. The message <span style="color:DeepPink">"Balance transfer"</span> will appear on your Ledger device. Press the right button to check the transaction details. After you have checked and confirmed the transaction details, you will see <span style="color:DeepPink">"Approve"</span> on your Ledger device. To sign the transaction, press both buttons on this screen ![](https://i.imgur.com/ndNDGTh.jpg =500x) To reject the transaction, move to the next screen that says <span style="color:DeepPink">"Reject"</span> and press both buttons to confirm. 6. Congratulations, you have signed a transaction! It will be included in the blockchain within a few seconds. :::warning ⚠️ For big transfers, consider doing a test transaction before sending large sums. ::: ### Receiving a Transfer In order to receive funds to an account, you need to copy your account address and either share it with the sender or use it yourself. when sending funds from an exchange or another one of your accounts for example. 1. Go to the [Accounts](https://polkadot.js.org/apps/?rpc=wss%3A%2F%2Fmainnet.ternoa.network#/accounts) page Polkadot-JS UI. That's where you can see all your accounts, regardless of type. 2. Click on the icon next to your account. This will <span style="color:DeepPink">copy</span> the account's address. ![](https://i.imgur.com/XyTs9eD.png =300x) 3. Paste the account to the proper destination. * If you are receiving funds from someone else, share the address with them. * If you are withdrawing funds from an exchange, paste the address in the appropriate field on the exchange's withdrawal page and select the proper Network (Ternoa CAPS) * If you are sending funds from a different wallet, paste the address in the recipient's field on that wallet. :::warning ⚠️ Before giving anyone your address, make sure it matches what's really on the Ledger by [confirming the address on your device](#Confirming-the-Address-on-your-Device). Some malware will intercept clicks and clipboard requests and can change your copied value in-flight, so being extra vigilant around copy-paste operations makes sense. ::: ## Ledger Developer Release ::: info 💡 This section is for developers only. It is recommended to install the application from Ledger Live unless you know exactly what you're doing. ::: ### Why you might need the Developer Release The Ternoa Ledger app is developed by Capsule corp. When new functionalities are added to the Ledger apps, they are made available as a developer release for testing purposes. After a successful audit and review, the apps will then be made available for download and installation using [Ledger Live](https://www.ledger.com/ledger-live). As it takes some time for Ledger to audit and review every release, the app upgrade option may not be available on Ledger Live when the new runtime is deployed on the network. When this happens, users cannot use Ledger devices with the Polkadot-JS UI, and while signing for a transaction, they will most likely incur the error message "txn version not supported". Please do not panic if this happens, as there are solutions to this problem. If you cannot wait a couple of days until the app passes the Ledger audit, you can install the developer release from the shell using the latest version published on the [Ternoa GitHub repository](https://github.com/capsule-corp-ternoa/ledger-ternoa). ### Install the Developer Release Currently, the developer release can be installed only on the Nano S and S plus devices and can't be installed on the Nano X. To install the developer version make sure you have the latest <span style="color:DeepPink">pip</span> version and follow the steps below: * Install ledgerblue running the command ```bash= python3 -m pip install ledgerblue ``` * Download the developer release from the [Ternoa GitHub repository](https://github.com/capsule-corp-ternoa/ledger-ternoa). The file will be named ```installer_nanos_plus.sh``` or similar depending on the ledger device you are using. * Locate the downloaded shell script and make it executable in your shell by typing the command ```bash= chmod +x installer_nanos_plus.sh ``` * You can now use the command ```--help``` to visualize the available options ```bash= ./installer_nanos_plus.sh --help ``` ![](https://i.imgur.com/GHRawVb.png =600x) * Next plug your Ledger Nano to your computer, enter the PIN code and run the command ```bash= ./installer_nanos_plus.sh load ``` * Scroll with the right button until you see "Allow unsafe manager", left and right press to confirm. You will be asked to confirm the action of uninstalling the app, and subsequently installing the newer version. After confirming both actions the shell script will proceed to install the version on your device. You will need to insert the PIN code to use the device after the installation. :::info 💡 If you wish to revert the version back to stable release just go to Ledger Live, the app will automatically detect the developer release and give the option to install the previous stable release. :::

    Import from clipboard

    Paste your markdown or webpage here...

    Advanced permission required

    Your current role can only read. Ask the system administrator to acquire write and comment permission.

    This team is disabled

    Sorry, this team is disabled. You can't edit this note.

    This note is locked

    Sorry, only owner can edit this note.

    Reach the limit

    Sorry, you've reached the max length this note can be.
    Please reduce the content or divide it to more notes, thank you!

    Import from Gist

    Import from Snippet

    or

    Export to Snippet

    Are you sure?

    Do you really want to delete this note?
    All users will lose their connection.

    Create a note from template

    Create a note from template

    Oops...
    This template has been removed or transferred.
    Upgrade
    All
    • All
    • Team
    No template.

    Create a template

    Upgrade

    Delete template

    Do you really want to delete this template?
    Turn this template into a regular note and keep its content, versions, and comments.

    This page need refresh

    You have an incompatible client version.
    Refresh to update.
    New version available!
    See releases notes here
    Refresh to enjoy new features.
    Your user state has changed.
    Refresh to load new user state.

    Sign in

    Forgot password

    or

    By clicking below, you agree to our terms of service.

    Sign in via Facebook Sign in via Twitter Sign in via GitHub Sign in via Dropbox Sign in with Wallet
    Wallet ( )
    Connect another wallet

    New to HackMD? Sign up

    Help

    • English
    • 中文
    • Français
    • Deutsch
    • 日本語
    • Español
    • Català
    • Ελληνικά
    • Português
    • italiano
    • Türkçe
    • Русский
    • Nederlands
    • hrvatski jezik
    • język polski
    • Українська
    • हिन्दी
    • svenska
    • Esperanto
    • dansk

    Documents

    Help & Tutorial

    How to use Book mode

    Slide Example

    API Docs

    Edit in VSCode

    Install browser extension

    Contacts

    Feedback

    Discord

    Send us email

    Resources

    Releases

    Pricing

    Blog

    Policy

    Terms

    Privacy

    Cheatsheet

    Syntax Example Reference
    # Header Header 基本排版
    - Unordered List
    • Unordered List
    1. Ordered List
    1. Ordered List
    - [ ] Todo List
    • Todo List
    > Blockquote
    Blockquote
    **Bold font** Bold font
    *Italics font* Italics font
    ~~Strikethrough~~ Strikethrough
    19^th^ 19th
    H~2~O H2O
    ++Inserted text++ Inserted text
    ==Marked text== Marked text
    [link text](https:// "title") Link
    ![image alt](https:// "title") Image
    `Code` Code 在筆記中貼入程式碼
    ```javascript
    var i = 0;
    ```
    var i = 0;
    :smile: :smile: Emoji list
    {%youtube youtube_id %} Externals
    $L^aT_eX$ LaTeX
    :::info
    This is a alert area.
    :::

    This is a alert area.

    Versions and GitHub Sync
    Get Full History Access

    • Edit version name
    • Delete

    revision author avatar     named on  

    More Less

    Note content is identical to the latest version.
    Compare
      Choose a version
      No search result
      Version not found
    Sign in to link this note to GitHub
    Learn more
    This note is not linked with GitHub
     

    Feedback

    Submission failed, please try again

    Thanks for your support.

    On a scale of 0-10, how likely is it that you would recommend HackMD to your friends, family or business associates?

    Please give us some advice and help us improve HackMD.

     

    Thanks for your feedback

    Remove version name

    Do you want to remove this version name and description?

    Transfer ownership

    Transfer to
      Warning: is a public team. If you transfer note to this team, everyone on the web can find and read this note.

        Link with GitHub

        Please authorize HackMD on GitHub
        • Please sign in to GitHub and install the HackMD app on your GitHub repo.
        • HackMD links with GitHub through a GitHub App. You can choose which repo to install our App.
        Learn more  Sign in to GitHub

        Push the note to GitHub Push to GitHub Pull a file from GitHub

          Authorize again
         

        Choose which file to push to

        Select repo
        Refresh Authorize more repos
        Select branch
        Select file
        Select branch
        Choose version(s) to push
        • Save a new version and push
        • Choose from existing versions
        Include title and tags
        Available push count

        Pull from GitHub

         
        File from GitHub
        File from HackMD

        GitHub Link Settings

        File linked

        Linked by
        File path
        Last synced branch
        Available push count

        Danger Zone

        Unlink
        You will no longer receive notification when GitHub file changes after unlink.

        Syncing

        Push failed

        Push successfully