Big News: Socket raises $60M Series C at a $1B valuation to secure software supply chains for AI-driven development.Announcement
Sign In

go.sia.tech/ledger-go

Package Overview
Dependencies
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

go.sia.tech/ledger-go

Go Modules
Version
v0.1.0
Version published
Created
Source

ledger-go

GoDoc

A Go client library for interacting with the Sia app on Ledger hardware wallets.

Features

  • Open and communicate with Ledger devices over USB (HID) or TCP (for emulator testing)
  • Retrieve the app version
  • Get public keys and addresses at a given BIP-44 index
  • Sign hashes with a device-held private key
  • Calculate and display v1/v2 transaction hashes on the device
  • Sign v1/v2 transactions on the device

Installation

go get go.sia.tech/ledger-go

Usage

device, err := ledger.Open()
if err != nil {
    log.Fatal(err)
}
defer device.Close()

version, err := device.GetVersion()
if err != nil {
    log.Fatal(err)
}
fmt.Println("Sia app version:", version)

addr, err := device.GetAddress(0)
if err != nil {
    log.Fatal(err)
}
fmt.Println("Address:", addr)

License

This project is licensed under the MIT License.

FAQs

Package last updated on 05 Apr 2026

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts