Questions tagged [redeploy]
The redeploy tag has no usage guidance.
9 questions
2
votes
1
answer
35
views
Can I reclaim SOL from PDA after I accidently close the program?
I deployed solana program and used it.
After that, I wanted to close that program and redeploy to another address.
So I closed program. But I forgot to reclaim SOL from the PDA associated with the ...
1
vote
1
answer
144
views
Issues deploying to mainnet - on resume it just starts from 0% each time, never seems to progress
I have been trying to deploy a program to mainnet for several days now, on devnet it works fine and deploys in a few seconds, but on mainnet I just get:
Error: Data writes to account failed: Custom ...
2
votes
1
answer
44
views
Question relate to Re Deployment of onchain program
I guess Im new, and my question maybe related to that...
I deployed a Smart Contract to mainnet-beta.
I got a Program ID."ABxhuh61R8QsvQFCmqy******"
I placed that program ID in the Anchor....
4
votes
1
answer
93
views
Metaplex candy machine rust program redeploy
I extract the lib.rs file from the Metaplex candy machine folder. Created a new anchor project via anchor init, pasted the smart contract then I run anchor keys list and pasted the key in declare_id ...
3
votes
2
answers
1k
views
Increase Deployed Program Account Allocation
I have deployed a program which got allocated 41216 bytes for the program account. I have changed this program, and would like to redeploy. However, the changed program is 46984 bytes.
Error: ...
3
votes
2
answers
361
views
Why can't I close a Solana program, and redeploy to the same program id?
solana program close -u mainnet-beta <PROGRAMID>
--recipient <RECIPIENT> `
...
anchor deploy
Deploying workspace: https://api.mainnet-beta.solana.com
Upgrade authority: {...
3
votes
1
answer
256
views
is solana program (smart contract) immutable?
I confuse a bit about this. If I can deploy a program as many as I want to a specific account so program in Solana is mutable. It's unlike other blockchains like Ethereum when deployed contract its ...
3
votes
1
answer
331
views
What happens to existing programs and accounts when you push updates with anchor?
I'm trying to understand the best way to continuously deploy and update programs made by anchor.
From what I understand, If I create a program with anchor I can deploy the code to the network and it'...
3
votes
2
answers
134
views
Is it possible to create a solana program that redeploys itself?
solana program deploy <PROGRAM_FILEPATH>
https://docs.solana.com/cli/deploy-a-program#redeploy-a-program
Is it possible to code redeployment in the program so that it redeploys itself based on ...