Skip to content

ChiefWoods/client-side-app

Repository files navigation

Mess

Preview

Messaging dApp for Solana Curriculum in freeCodeCampWeb3.

Live Website

Program on Solana Explorer

Source Repository

Built With

Languages

  • Rust
  • TypeScript
  • React

Libraries

Crates

Test Frameworks

  • Mocha

Getting Started

Prerequisites

  1. Update your Solana CLI, npm package and avm to the latest version
solana-install update
npm install npm@latest -g
avm update

Setup

  1. Clone the repository
git clone https://github.com/ChiefWoods/client-side-app.git
  1. Install all dependencies
npm install
  1. Generate a new keypair
solana-keygen-new -o mess-wallet.json
  1. Set configuration to use devnet and keypair
solana config set -u d -k mess-wallet.json
  1. Airdrop some SOL to account
solana airdrop 5
  1. Resync your program id
anchor keys sync
  1. Build the program
anchor build
  1. Test the program
anchor test
  1. Deploy the program to devnet
anchor deploy
  1. In the app directory, create a .env file and set its contents
VITE_RPC_ENDPOINT=<YOUR_RPC_ENDPOINT>
VITE_MESS_PROGRAM_ID=<YOUR_PROGRAM_ID>
  1. Start development server
npm run dev

Issues

View the open issues for a full list of proposed features and known bugs.

Acknowledgements

Resources

Hosting and API

Contact

[email protected]