Skip to content

This is the NFT 💲💰marketplace's smart contract built with ⚓Rust and the FrontEnd code for this.

Notifications You must be signed in to change notification settings

justshiftjk/NFT-Marketplace-Solana

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 

Repository files navigation

NFT Marketplace with Rust on Solana

Compile and Deploy Contracts

  • make sure you have solana installed
  • make sure you have rust installed
  • install phantom wallet on the browser or any from the list
  • make sure u have a solana wallet with SOL token (devnet)
  • Config to devnet
solana config set --url devnet
  • Create wallet
solana-keygen new
  • Add test token to the wallet
solana airdrop 5

navigate to the rust folder

cd program

build the project

cargo build-bpf
  • After the build step completes, deploy the program to devnet
solana program deploy ./path/to/the_program.so -u devnet
  • Clear client/packages/web/.env variables to create of a fresh new store

  • start the app

cd ../client/packages
yarn && yarn bootstrap
yarn start

Open the site in a browser

http://localhost:3000
  • Now connect wallet
  • Create NFT
  • Sell NFT

About

This is the NFT 💲💰marketplace's smart contract built with ⚓Rust and the FrontEnd code for this.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published