use anchor_lang::prelude::*; declare_id!("Fg6PaFpoGXkYsidMpWTK6W2BeZ7FEfcYkg476zPFsLnS"); #[program] pub mod myepicproject { use super::*; pub fn start_st
I need to use a Phantom Wallet through the Solana CLI, but I'm unable to configure it. For example, to check balance using solana balance --keypair fileexported
Is it possible to code a solana program (smart contract) where the transaction fees that you should pay, i.e., for minting / stacking / swapping tokens within t
I am very new to blockchain programming and programming in general. I want to generate my SOL address using the mnemonic seed phrase with the derivation path "m
My token sending program has met an issue about sending transaction, throwing an error below. Error: failed to send transaction: Transaction simulation failed:
I am trying to call the mintNft function on the front end but it throws an error and I can't fix it the error is: "Program log: AnchorError occurred. Error Code
I am very new to web3 etc but as far as I know, every account is represented by a public/private key. The public key can be accessed anytime and the private key
I would like to airdrop sols into a specific account to get my smart contract to fire an anchor test. Whenever I run my test I come across the error Error: Acco
Trying to deploy a program to solana devnet. I was using solana program deploy ./path/xxxx.so -u devnet And I got multiple lines of msg 21AbKBwMcsDR4DciR6Z69X6v
I'm following this article as a practice. And stuck with cat .config/solana/devnet.json I realize that windows OS doesn't have cat so I tried type ~/.config/so
I'm learning Solana API on ReactJS. After generating a keypair you can recreate the same keypair with the secretKey. How can I save this keypair? I'm using reac
In Solana you can get your own balance with the CLI $ spl-token accounts But how do I get the token balance of a foreign account if I have the account ID or hi
I am trying to deploy the demo smart contract on solana for chainlink price feed but getting an error. I followed all the steps from https://docs.chain.link/doc
I am looking to grab historical data from our Solana Devnet feeds. Can you let me know if get_submissions is the function that should be called for historical d
I am trying to listen for transactions for an account, I need to know when a transaction is received and get the hash of that transaction. I am using Solana's j
I get this error where I run anchor deploy: Deploying workspace: http://127.0.0.1:8899 Upgrade authority: /home/<user>/.config/solana/id.json Deploying pr
I have deployed my token to solana network. Because of some change in metaplex metadata so I have to revamp my token. I have to keep token name and symbo, then
I'm using the following repository of rust: https://github.com/SmartCodeBlockchainDev/Nelson-NFT-stacking when I try to do an anchor build I get the following e
The problem I'm working on is my team wants me to setup my own cluster with an initial supply of 400M sol. I have gone through the genesis module and found some
Am looking to create an onboard process for Solana NFTs. Want to embed dapps in the site to create a hands on user experience as they go through content. So for