Category "solana-transaction-instruction"

Account vs Block in Blockchain Solana

What is the difference between an Account and a Block in Solana Blockchain technology? As per solana docs, Block: A contiguous set of entries on the ledger cove

Calling solana (anchor) program . No Errors, But lamports not transferring between accounts as requested

My code runs fine when using bump + seeds. All tests are passing. But Please see below code of a Crowd funding campaign, created using Anchor. The problem is th

How to add a Pubkey to an account containing a vector of Pubkeys in an anchor program

use anchor_lang::prelude::*; use rand::Rng; use solana_program::{declare_id, pubkey::Pubkey}; declare_id!("Fg6PaFpoGXkYsidMpWTK6W2BeZ7FEfcYkg476zPFsLnS"); #[pr