Skip to content

ronitkumar98/Rust_mint

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 

Repository files navigation

Rust_mint

Solana Smart Contract Deployment and Testing Guide

This guide explains how to deploy and test the smart contract on a local Solana testnet.

Prerequisites

Ensure you have the following installed on your system:

  1. Rust and Cargo
  2. Anchor CLI
  3. Solana CLI

Setup

Start a Local Solana Test Validator

Open a terminal and start the Solana test validator: solana-test-validator

In a new terminal window, configure Solana to use the local testnet using the line solana config set --url http://127.0.0.1:8899

Build the smart contract using Anchor: anchor build

Deploy the smart contract to the local testnet: anchor deploy

Run the tests to ensure the smart contract works correctly: anchor test

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages