Category "solana-web3js"

metaplex and solana web3 dependency conflict (react.js)

I am developing a react app and I have code from 2 different applications I wrote Application A uses metaplex to find all the NFT's owned by a user (wallet addr

Uncaught (in promise) Error: Transaction fee payer required

I get this error when I try to execute this using phantom wallet and react app const transferTransaction = new Transaction() .add(SystemProgram.transfer({

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