I am trying to deploy program with anchor deploy and getting the following error.

Deploying workspace: https://api.mainnet-beta.solana.com
Upgrade authority: usb://ledger
Deploying program "lpfi-buyback-program"...
Program path: /Users/aperire0402/lpfi-buyback-program/target/deploy/lpfi_buyback_program.so...
Error: Dynamic program error: protocol error: Unknown error
There was a problem deploying: Output { status: ExitStatus(unix_wait_status(256)), stdout: "", stderr: "" }.

Is it possible to anchor deploy with ledger?

1 Answer 1


My bad, ledger password was not entered :_

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.