New answers tagged anchor-program-idl
0
votes
How to fix sb.AnchorUtils.loadEnv() wrong keyfile path?
sb.AnchorUtils.initKeypairFromFile('./sb-randomness/target/deploy/sb_randomness-keypair.json');
Please make sure your project structure.
https://github.com/switchboard-xyz/sb-on-demand-examples/tree/...
0
votes
Error: expected environment variable `ANCHOR_WALLET` is not set
You need to override the default provider.
import { Program, type Provider } from "@coral-xyz/anchor";
const myProgram = new Program<ProgramType>(IDL, programID, {} as Provider);
@...
Top 50 recent answers are included
Related Tags
anchor-program-idl × 54anchor × 37
idl × 18
solana-program × 14
web3.js × 6
anchor-lang × 6
anchor-client × 4
rust × 3
anchor-test × 3
typescript × 3
metadata × 2
devnet × 2
decode × 2
anchor-spl × 2
blink × 2
transactions × 1
spl-token × 1
metaplex × 1
pda × 1
wallet × 1
cpi × 1
python × 1
spl-token-program × 1
solana-wallet-adapter × 1
mint × 1