All Questions
27 questions
0
votes
0
answers
9
views
Title: Unable to Build Anchor Project with SBF Tools: Issues with sbf-solana, bpfel-unknown-none, and Docker Compatibility
Description:
Hello everyone,
We’ve been struggling for hours trying to build an Anchor project on Solana. Despite numerous attempts, nothing seems to work, either locally or using Docker. Below are ...
0
votes
0
answers
13
views
Error:AccountNotFound with anchor deploy
hello when I write 'anchor deploy' in terminal, the result is
Deploying cluster: http://127.0.0.1:8899
Upgrade authority: /home/leejinho/.config/solana/id.json
Deploying program "voting"...
...
0
votes
0
answers
37
views
Anchor deploy failed from "insufficient funds"
I tried deploying a program on mainnet using anchor deploy and ran into a failed deployment due to "Account has insufficient funds for spend (6.62478552 SOL) + fee (0.004725 SOL)" even ...
1
vote
1
answer
79
views
anchor deploy does not work
I try to deploy my contract using anchor, but i get this error:
Error: RPC request error: cluster version query failed: error sending request for url (http://127.0.0.1:8899/): error trying to connect: ...
0
votes
1
answer
48
views
Anchor build: Error - Large stack variables
I am still getting these errors upon Anchor build despite others claiming it has been solved by simply upgrading to solana-cli versions 18.2.0 and higher.
Error: Function _ZN112_$LT$solana_program.....
2
votes
1
answer
439
views
Got error "account data too small for instruction" when run Anchor deploy?
Sometimes I got this error when deploy program with running "anchor deploy":
Error: Deploying program failed: RPC response error -32002: Transaction simulation failed: Error processing ...
2
votes
1
answer
74
views
Deploy a program from another program
I'm trying to build a bridge and I need to create pools in both chains
In Solidity, I would be creating a contract that deploys and manage individual pools, but not sure if that can be achieved in ...
1
vote
0
answers
44
views
Deployment Error on Solana Mainnet: Max Retries Exceeded [duplicate]
I've been successfully deploying my Anchor project on Solana's development and testnet environments. However, when attempting deployment on the mainnet, I consistently encounter the following error: &...
2
votes
0
answers
441
views
How to add add priority fee on anchor cli
I am trying to deploy a program and read that is possible to add priority fee to the deploy transactions.
If possible how to do it. I am using
anchor deploy
3
votes
2
answers
539
views
Why is mainnet-beta program deploy taking so much time?
Why is mainnet-beta program deploy taking so much time?
It took 6 hours to complete 1.0% of the whole process
I use
solana-cli version: 1.18.3
anchor version: anchor-cli 0.29.0
solana cluster-version :...
1
vote
1
answer
990
views
How to deploy on mainnet using anchor?
Can someone who lately successfully deployed program to mainnet say what versions of solana-cli, anchor-cli,... did you use?
When I try to deploy, it takes ages (on devnet its in 1 minute done) and in ...
0
votes
1
answer
477
views
An error occurred while deploying to devnet with anchor
I can deploy successfully using the localhost, but when deploying to the devnet, I encounter this error. Could someone please help me?
Deploying program "user_profile_backend"...
Program ...
1
vote
0
answers
39
views
Err while deploying to devnet on Solana
The build is successful using anchor build. and when i deploy my program using anchor deploy i am getting below error
anchor_cli = 0.28.0
1
vote
2
answers
392
views
Anchor Deploy Error
By Deploying Anchor with command: anchor deploy I get this error:
Error: Unable to open program file: No such file or directory (os error 2)
There was a problem deploying: Output { status: ExitStatus(...
1
vote
1
answer
169
views
Error: ELF error from deploying an anchor project
I have been trying to deploy my anchor project on the local net. I started by running solana-test-validator and then anchor deploy but I keep receiving this error:
Error: ELF error: ELF error: ...
3
votes
1
answer
247
views
Problems to deploy program with Anchor 0.28.0 to localnet
I am upgrading my programs to anchor 0.28.0 but I am not able to deploy anymore.
The transactions do not finalize. (devnet works fine)
These are my versions:
solana --version
solana-cli 1.16.0 (src:...
4
votes
1
answer
46
views
What is the use case of program's secret key after initial deployment?
Is there any other use case of the program's secret key once the program is deployed? If I am correct, subsequent updates don't require the program's secret key. Can anyone do anything to the program ...
2
votes
1
answer
63
views
Necessary ports to talk to a validator (devnet) for deployment
I teach at a university where I plan to introduce students to Solana blockchain development. I can deploy programs normally to devnet when running my laptop at home (anchor deploy), but when connected ...
2
votes
0
answers
91
views
problem with deploying in anchor [closed]
please help me to solve the problem, I am new to solana.
on startup anchor build i get:
There was a problem deploying: Output { status: ExitStatus(unix_wait_status(256)), stdout: "", ...
2
votes
2
answers
2k
views
Error deploying program in localhost network
I have created and written a simple Solana program using anchor & successfully compiled it using anchor build command. I run a local validator node in a terminal using solana-test-validator and ...
1
vote
0
answers
242
views
Issue while executing anchor deploy
I am trying to deploy my solana smart contract and is receiving the error :account already in use or not an upgradeable program.
I tried the possible solution given in google like
npm run clean
npm ...
1
vote
2
answers
608
views
Cannot deploy program with anchor on devnet
I am using anchor to deploy my program on devnet and deployment process got stuck (there is enough sol on my wallet).
anchor new test
anchor build
anchor deploy --provider.cluster devnet
Deploying ...
2
votes
2
answers
2k
views
Blockhash expired. 5 retries remaining
trying to deploy a program to the devnet I keep encountering this issue when my program just tries and retry to deploy with no success, any idea why this may be?:
cargo-build-bpf child: /Users/juan/....
1
vote
1
answer
101
views
Issue building program via Cargo build-bpf
Getting an error during Build process with cargo build-bpf on Hello World program.
error: linker cc not found
|
= note: No such file or directory (os error 2)
1
vote
2
answers
69
views
Mainnet program deployment hygiene
Clearly having a single local keypair control mainnet program deployments is a horrible idea. Are there any well defined workflows to increasing security for deployments? Any handy multisig tools ...
1
vote
2
answers
243
views
deploying the smart contract with hardware wallet
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 ...
2
votes
4
answers
278
views
anchor deploy: Invalid Blockhash
I've been trying to deploy an Anchor program on devnet but it seems to be stuck in the process, and then gives the following error after a while,
$ anchor deploy --provider.cluster d
Error: Custom: ...