Skip to main content

Questions tagged [program]

The tag has no usage guidance.

22 questions with no upvoted or accepted answers
2 votes
0 answers
255 views

Cannot deploy program onto solana mainnet

First of all, it's super slow when deploy(anchor deploy) my program to mainnet, I got error: Blockhash expired. 4 retries remaining Blockhash expired. 3 retries remaining Blockhash expired. 2 retries ...
user2873314's user avatar
1 vote
0 answers
107 views

Cannot deploy program on mainnet for two weeks

I use solana command tool to deploy program on mainnet and always got failed. I have try for two weeks. I try 1.14.X, 1.16.X and 1.17.X. But got failed. tangaoyuan@tangaoyuandeMacBook-Pro program % ...
user6717's user avatar
1 vote
0 answers
15 views

Is it possible to check the Solana program `macro` correctness before deployment?

When we want to deploy program to Solana, first we need to generate the program keypair and insert the public key in my declare_id! macro in lib.rs. Because I want to expose an API interface for user ...
johnhckuo's user avatar
  • 137
1 vote
0 answers
18 views

Question about solana programs

Why is it recommended that solana programs check the validity of any account it reads, but does not modify?
Mehmet Ayd's user avatar
0 votes
0 answers
45 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 ...
user2873314's user avatar
0 votes
1 answer
39 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
curious155165's user avatar
0 votes
2 answers
38 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 ...
Effe2's user avatar
  • 1,250
0 votes
0 answers
18 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 ...
SKS's user avatar
  • 21
0 votes
1 answer
24 views

How can I develop to purchase NFT in Solana and anchor

Help me please~~~ Could you send me a sample code or project?
Mullane Benjamin's user avatar
0 votes
0 answers
7 views

want to what's wrong in my contract as i can't able to call my deposit function

use anchor_lang::prelude::*; use anchor_spl::token::{self, Token, TokenAccount, Transfer as SplTransfer}; // use solana_program::system_instruction; use solana_program::{account_info::AccountInfo, ...
SACRED- ESP's user avatar
0 votes
0 answers
18 views

Can anyone help me, they changed the owner of my account and I don't know what to do?

Can anyone help me, they changed the owner of my account and I don't know what to do? my wallet 86tBAuUuyJE8hUj1wBy2WfAKGts8KhJD6skpyUUowzRJ They hacked me and changed the owner, is there a way to ...
tonynhu's user avatar
0 votes
0 answers
33 views

How do i get manual about token-creator-lac.vercel.app

I need manual about "https://token-creator-lac.vercel.app/". do you have any manual about "https://token-creator-lac.vercel.app/"? My email is [email protected] please send me. ...
블루검객's user avatar
0 votes
1 answer
89 views

Validate secp256k1 ethereum signature?

I’m working on an anchor-lang project to validate secp256k1 ethereum signature. I used secp256k1_recover program docs as a reference for this code. The problem is that the public key I get from the ...
Teodor Zafirov's user avatar
0 votes
0 answers
71 views

Deserialize Solana.Transaction Golang

I have a Golang Solana.Transaction object and want to obtain the raw/pre-compiled instruction details. How can I deserialize the Transaction.Message.Instruction?
Ron's user avatar
  • 1
0 votes
0 answers
26 views

My ownership transferred to another program. How can i set it back to systemprogram?

Scammer transferred my program to another program. Now my wallet is assigned to his program. So I it can't pay for transaction fees anymore. How can I set it back to system program to recover ?
Coşkun Kömürcü's user avatar

15 30 50 per page