Solana Rust Token ?

This application written Rust using Anchor ⚓

Setting up the Environment:

  • Rust Installation

curl --proto '=https' --tlsv1.2 -sSf | sh
source $HOME/.cargo/env
rustup component add rustfmt
  • Solana Installation
sh -c "$(curl -sSfL"

Please update your PATH environment variable to include the solana programs

  • Installation of mocha
npm install -g mocha
npm i -g @project-serum/anchor-cli
  • And we can use Cargo to install CLI
cargo install --git --tag v0.17.0 anchor-cli --locked

Configurations on Solana CLI

solana config get

Configure RPC URL

solana config set --url localhost

Wallet address and airdrop some SOL

solana address
  • For more comprehensive details of your account
solana account <your address from the last command>

Getting Started

  • Clone this repository

git clone

cd Personal-Token-With-Rust-Smart-Contracts
  • Install the dependencies
npm install
  • Compile this project
anchor build
  • Run tests
anchor test


View Github