A simple Rust DApp Calculator in Solana 🦀
This Calculator written Rust using Anchor âš“
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
source $HOME/.cargo/env
rustup component add rustfmt
sh -c "$(curl -sSfL https://release.solana.com/v1.8.0/install)"
Please update your PATH
environment variable to include the solana programs
npm i -g @project-serum/anchor-cli
cargo install --git https://github.com/project-serum/anchor --tag v0.17.0 anchor-cli --locked
solana config get
Configure RPC URL
solana config set --url localhost
Wallet address and airdrop some SOL
solana address
solana account <your address from the last command>
anchor init <your project name>
cd <your project directory>
anchor build
anchor test