Skip to content

Commit

Permalink
remove outdated solana-ledger-udev binary (anza-xyz#2955)
Browse files Browse the repository at this point in the history
* remove outdated solana-ledger-udev binary

Currently there exists a solana-ledger-udev binary which creates a
udev rules file in /etc/udev/rules.d/20-hw1.rules and reloads the
udev rules.

This might work on some systems and not on others (e.g., NixOS) and
makes unnecessary assumptions about the currently running system.

These rules are also outdated and we're probably better off
referencing the upstream repository rules maintained by Ledger
https://github.com/LedgerHQ/udev-rules
and encouraging people to integrate them into their system.

* remote-wallet: add README

Add a README to remote-wallet which explains why this library exists and
where to get ledger udev rules from.
  • Loading branch information
Managarmrr authored Oct 22, 2024
1 parent 31bcb94 commit 2013eb6
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 54 deletions.
4 changes: 0 additions & 4 deletions remote-wallet/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -34,9 +34,5 @@ linux-shared-libusb = ["hidapi/linux-shared-libusb"]
linux-static-hidraw = ["hidapi/linux-static-hidraw"]
linux-static-libusb = ["hidapi/linux-static-libusb"]

[[bin]]
name = "solana-ledger-udev"
path = "src/bin/ledger-udev.rs"

[package.metadata.docs.rs]
targets = ["x86_64-unknown-linux-gnu"]
10 changes: 10 additions & 0 deletions remote-wallet/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
Solana Remote Wallet
===

Library for interacting with "remote" wallets, meaning any wallet where the private key bytes are not directly available,
such as Ledger devices.

## Ledger udev-rules

In order to use a Ledger device on Linux machines, users must apply certain udev rules. These are available at the
[udev-rules repository](https://github.com/LedgerHQ/udev-rules) maintained by the Ledger team.
50 changes: 0 additions & 50 deletions remote-wallet/src/bin/ledger-udev.rs

This file was deleted.

0 comments on commit 2013eb6

Please sign in to comment.