Skip to content

Latest commit

 

History

History
56 lines (39 loc) · 1.38 KB

README.md

File metadata and controls

56 lines (39 loc) · 1.38 KB

Crowdfunding dApp

Creating crowdfunding dApp with Rust, Solana, Anchor framework, ReactJS, Bootstrap and other necessary libraries.

Tutorial: https://www.udemy.com/course/solana-developer/

Running the app

Term 1: cd frontend; yarn dev

Term 2: anchor build

Feature implementation status

  • Creating smart contract for crowdfunding purpose with Rust and Anchor framework.
  • Creating ReactJS project which connects to Phantom wallet.
  • Communicating with our smart contract over Phantom wallet.
  • Getting campaign info from current user's wallet address.
  • Donating campaign.
  • Withdraw funds from a campaign.
  • Staking SOL with Typescript.
  • Building NFT project.

Some Commands

  • Request airdrop: solana airdrop 2 ADDRESSHERE --url https://api.devnet.solana.com solana airdrop 2 ADDRESSHERE --url devnet

  • Check balance: solana balance ADDRESSHERE --url https://api.devnet.solana.com

  • Getting ready solana network in local:

# Install solana
sh -c "$(curl -sSfL https://release.solana.com/v1.18.14/install)"
solana --version

# Install spl-token
cargo install spl-token-cli

# Create new solana wallet
solana-keygen new
# After creating wallet you can get public key:
solana-keygen pubkey
# Check your wallet's balance on specific network:
solana balance --url devnet

# Create a new token
spl-token create-token --url devnet