gui/pkg/electron-compat/ledger.go
Snider 032c426ac3 feat: initial Wails v3 desktop framework
GUI packages, examples, and documentation for building
desktop applications with Go and web technologies.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-30 08:44:23 +00:00

20 lines
672 B
Go

package electroncompat
// LedgerService provides Ledger hardware wallet integration.
// This corresponds to the Ledger IPC service from the Electron app.
type LedgerService struct{}
// NewLedgerService creates a new LedgerService instance.
func NewLedgerService() *LedgerService {
return &LedgerService{}
}
// GetXPub returns the extended public key from the Ledger device.
func (s *LedgerService) GetXPub(path string) (string, error) {
return "", notImplemented("Ledger", "getXPub")
}
// GetAppVersion returns the Handshake app version on the Ledger.
func (s *LedgerService) GetAppVersion() (string, error) {
return "", notImplemented("Ledger", "getAppVersion")
}