Files
zeekay 83677f8a58 feat: minimal ledger-go fork without golem bloat
Forked from github.com/zondax/ledger-go v1.0.1
- Replaced golem logger with direct zap usage
- Removed 111 transitive dependencies
- 10 deps vs 121 original

NO GOLEM. NO BLOAT.
2025-12-24 16:10:44 -08:00

19 lines
546 B
Go

// Copyright (C) 2019-2025, Lux Industries Inc. All rights reserved.
// Forked from github.com/zondax/ledger-go
// Licensed under the Apache License, Version 2.0
package ledger_go
// LedgerAdmin defines the interface for managing Ledger devices.
type LedgerAdmin interface {
CountDevices() int
ListDevices() ([]string, error)
Connect(deviceIndex int) (LedgerDevice, error)
}
// LedgerDevice defines the interface for interacting with a Ledger device.
type LedgerDevice interface {
Exchange(command []byte) ([]byte, error)
Close() error
}