I got this message after a anchor deploy
:
Deploying workspace: https://api.mainnet-beta.solana.com
Upgrade authority: /Users/mcesbron/.config/solana/id.json
Deploying program "unidouble"...
Program path: /Users/mcesbron/Desktop/work/unidouble/target/deploy/unidouble.so...
=======================================================================
Recover the intermediate account's ephemeral keypair file with
`solana-keygen recover` and the following 12-word seed phrase:
=======================================================================
this is a fake phrase habit east news noble husband more where
=======================================================================
To resume a deploy, pass the recovered keypair as the
[BUFFER_SIGNER] to `solana program deploy` or `solana program write-buffer'.
Or to recover the account's lamports, pass it as the
[BUFFER_ACCOUNT_ADDRESS] argument to `solana program close`.
=======================================================================
Error: Deploying program failed: error sending request for url (https://api.mainnet-beta.solana.com/): connection closed before message completed
There was a problem deploying: Output { status: ExitStatus(unix_wait_status(256)), stdout: "", stderr: "" }.
I know how to close the account but I would like to resume it and I am not sure how I am supposed to do it.
First I know I need to get the keypair, I do solana-keygen recover -o recover.json
. I have the keypair in recover.json
now.
but after that I am not sure how I should use the solana program deploy
or solana program write-buffer
with the recover.json
.