Open ar4s-gh opened 1 week ago
Thank you for submitting this issue requesting a script to setup and use a Ledger hardware wallet. However, the issue description lacks some key details needed for our engineering team to implement a solution:
Please clarify the specific functionality you need in the setup script. What steps in the Ledger setup process do you want to automate?
After the Ledger is set up, how do you plan to use it with the script? It would help to specify the key operations or use cases you have in mind.
Are there any important constraints, dependencies or compatibility requirements the script needs to handle?
The current issue description contains a lot of peripheral information about installing various wallet agents, which doesn't seem directly relevant to your core request. I'd suggest removing that and instead focusing on fleshing out the requirements for your desired Ledger setup and usage script.
If you can update the issue description with these details, our team will be better equipped to provide the solution you're looking for. Let me know if you have any other questions!
[!TIP] To recreate the pull request, edit the issue title or description.
This is an automated message generated by Sweep AI.
Tbc
Installation
1. Prerequisites
Install the following packages (depending on your distribution):
OS dependencies
This software needs Python, libusb, and libudev along with development files.
You can install them on these distributions as follows:
Debian
RedHat
Fedora
OpenSUSE
If you are using python3 or your system
pip
command points topip3.x
(/etc/alternatives/pip -> /usr/bin/pip3.6
) you will need to install these dependencies instead:macOS
There are many different options to install python environment on macOS (official, anaconda, ..). Most importantly you need
libusb
. Probably the easiest way is via homebrewGPG
If you intend to use GPG make sure you have GPG installed and up to date. This software requires a GPG version >= 2.1.11.
You can verify your installed version by running:
2. Install the TREZOR agent
Make sure you are running the latest firmware version on your Trezor:
1.4.2+
Make sure that your
udev
rules are configured correctly.Then, install the latest trezor-agent package:
Or, directly from the latest source code:
Or, through Homebrew on macOS:
3. Install the KeepKey agent
Make sure you are running the latest firmware version on your KeepKey:
3.0.17+
Make sure that your
udev
rules are configured correctly. Then, install the latest keepkey-agent package:Or, on Mac using Homebrew:
Or, directly from the latest source code:
4. Install the Ledger Nano S agent
Make sure you are running the latest firmware version on your Ledger Nano S:
0.0.3+
(install SSH/PGP Agent app)Make sure that your
udev
rules are configured correctly.Then, install the latest ledger-agent package:
Or, directly from the latest source code:
5. Install the OnlyKey agent
Make sure you are running the latest firmware version on your OnlyKey:
Make sure that your
udev
rules are configured correctly.Then, install the latest onlykey-agent package:
Or, directly from the latest source code:
6. Install the Blockstream Jade agent
Make sure you are running the latest firmware version on your Blockstream Jade:
0.1.33+
Make sure that your
udev
rules are configured correctly.If necessary, ensure the user is added to the
dialout
groupThen, install the latest jade-agent package:
Or, directly from the latest source code:
7. Installation Troubleshooting
If there is an import problem with the installed
protobuf
package, see this issue for fixing it.If you can't find the command-line utilities (after running
pip install --user
), please make sure that~/.local/bin
is on yourPATH
variable (see a relevant issue).If you can't find command-line utilities and are on macOS/OSX check
~/Library/Python/2.7/bin
and add toPATH
if necessary (see a relevant issue).