Category "solana-web3js"

anchor test command error - Error: Cannot find module '[@project-serum/anchor] ' Please verify that the package.json has a valid "main" entry

I was following an introduction tutorial using anchor (solana framework), it is based in the official github. In the testing part, I used anchor test command an

Solana program to send multiple lamport transfers and emit event

I’m building a program intended to manage multiple payments with one call. The program needs to complete the following steps: Accept a certain amount of l

Solana: Get Candy Machine info from a NFT token using Js

I am trying to find out what is the candy machine id or address for a specific nft. So far I have tried looping through wallet accounts using @solana/web3.js co

Update Hidden Settings After Initial Upload

I'd like to change my Candy Machine from having hidden settings to no longer be hidden. Initially, the Candy Machine is created with hidden settings like these:

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