Category "anchor-solana"

I can not deploy the program to dev net with anchor

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

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

yarn run error : Command failed with exit code 1

I was trying to follow this tutorial This is a tutorial on Solana program dev using anchor and the error rises from using yarn on ubuntu 20.0 i guess and I got