Installation
Rust
Go here to install Rust.
Solana
Go here to install Solana and then run solana-keygen new
to create a keypair at the default location. Anchor uses this keypair to run your program tests.
Yarn
Go here to install Yarn.
Bolt
Installing Bolt
Install Bolt
using npm or yarn.
With npm:
npm install -g @magicblock-labs/bolt-cli
With yarn:
yarn global add @magicblock-labs/bolt-cli
Install Bolt
using Cargo.
cargo install --git https://github.com/magicblock-labs/bolt --locked --force
On Linux systems you may need to install additional dependencies if cargo install fails. E.g. on Ubuntu:
sudo apt-get update && sudo apt-get upgrade && sudo apt-get install -y pkg-config build-essential libudev-dev
Verify the installation.
bolt -h