Questions tagged [program]
The program tag has no usage guidance.
149
questions
0
votes
0
answers
36
views
deploy program and failed at 99% almost every time?
Error: 1 write transactions failed
There was a problem deploying: Output { status: ExitStatus(unix_wait_status(256)), stdout: "", stderr: "" }.
what this means? some one rejected ...
1
vote
1
answer
27
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 ...
0
votes
1
answer
32
views
What happened to this meme coin?
How something like this shown in the chart can happen and how can I possibly find out before it happens.
https://dexscreener.com/solana/2wicz7qpvun1rnuhvusdf8xah22rbkixekgs43rdboj4
0
votes
2
answers
32
views
can not deploy, getting weird error
i'm trying to build and deploy a program, but i get errors while building (althought it still finishes the build), and i can't deploy.
Here is the error while deploying :
ELF error: Failed to parse ...
0
votes
0
answers
17
views
Funding Unfunded Account using Smart Contract
I am searching a way to fund a account using smart conttact, that work fine if the receiver is already done some transactions. This is failing if there is no transactions done on the account.
How can ...
1
vote
1
answer
43
views
Invoking Solana Programs
I was checking different ways to initialize a solana program. I am quiet new to field and expecting some support here.
I am running some VMs on a auto scaling group. I want to invoke a program when ...
2
votes
1
answer
34
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
1
answer
12
views
Is there a reason for usage of C representation of types in some SPL
For example, why is there COption when compared to the Native Rust primitives and the Rust native Option?
What's the advantage of having this?
0
votes
1
answer
23
views
How can I develop to purchase NFT in Solana and anchor
Help me please~~~
Could you send me a sample code or project?
1
vote
1
answer
45
views
Account creation on Solana
Suppose I have a PDA address that hasn't been initialized yet and I send SOL to it,
Am I correct in assuming that this account will exist?
Who will have control over this account? Will it still be by ...
2
votes
1
answer
24
views
How is program size calculated
I would love to know how a Solana program's size is calculated.
Do PDA's size that are owned by the program add up when this calculation is done? What about arguments?
0
votes
1
answer
25
views
Is the stateless-ask program deployed on mainnet somewhere?
Has someone or some organization deployed the stateless ask program on mainnet somewhere?
https://github.com/solana-labs/solana-program-library/tree/master/stateless-asks
0
votes
1
answer
23
views
Best practice design PDA in solana
When developing contract in solana, I had seen some example (include example in solana cook book - https://solanacookbook.com/gaming/store-sol-in-pda.html#tiny-adventure-anchor-program-part-two) had ...
1
vote
1
answer
22
views
Is there anyway to decode program account change that I don’t know the struct?
I’m trying to decode update that I got from the call of “connection.onProgramAcccountChange” but I don’t know the struct of possible outcome, is there anyway to get the struct or decode it somehow ?
...
0
votes
1
answer
36
views
Tx Reverting Even If Internal CPI Fails
Creating a CPI call, since it returns a Result. If the internal call throws an error, err should have an err() field as per the definition. The whole transaction should not revert, but it is reverting....