would u plz help me with how can I deploy the smart contract written with anchor with a hardware wallet (ledger nano)? Hardware wallet doesn't have any keypair and I am not sure what should be as the wallet address in anchor.toml, e.g. here:

[provider] cluster = "mainnet" wallet = "/Users/MyAccount/my-Solana-wallet/mySol-keypair.json"


2 Answers 2


on the CLI you reference a ledger with usb://ledger


tnx for answer.means it is enough if I set my solana address and anchor.toml wallet address to usb://ledger and then run solana program deploy?

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.