Set up a Solana development environment
The Solana docs keep a one-line installer that sets up Rust, the Solana CLI, Anchor (through AVM), Node.js and Yarn. Follow the current comm…
The Solana docs keep a one-line installer that sets up Rust, the Solana CLI, Anchor (through AVM), Node.js and Yarn. Follow the current comm…
anchor init scaffolds a workspace with programs/, tests/ and an Anchor.toml that names the cluster and wallet.…
anchor test starts a local validator, deploys your program and runs the tests in tests/.…
Set the cluster in Anchor.toml (or pass the provider flag), fund the deploy wallet with a devnet airdrop, and deploy.…
For every account, ask who owns it, whether it should be a signer, whether it's the PDA you think it is, and whether it's initialised. In An…