Messaging dApp for Solana Curriculum in freeCodeCampWeb3.
- Update your Solana CLI, npm package and avm to the latest version
solana-install update
npm install npm@latest -g
avm update
- Clone the repository
git clone https://github.com/ChiefWoods/client-side-app.git
- Install all dependencies
npm install
- Generate a new keypair
solana-keygen-new -o mess-wallet.json
- Set configuration to use devnet and keypair
solana config set -u d -k mess-wallet.json
- Airdrop some SOL to account
solana airdrop 5
- Resync your program id
anchor keys sync
- Build the program
anchor build
- Test the program
anchor test
- Deploy the program to devnet
anchor deploy
- 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>
- Start development server
npm run dev
View the open issues for a full list of proposed features and known bugs.