Thanks to visit codestin.com
Credit goes to github.com

Skip to content

ChiefWoods/mess

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

Runtime and Test Runner

  • Bun

Getting Started

Prerequisites

  1. Update your Solana CLI, avm and Bun toolkit to the latest version
agave-install init 2.1.0
avm use 0.31.1
bun upgrade

Setup

  1. Clone the repository
git clone https://github.com/ChiefWoods/mess.git
  1. Install all dependencies
bun i
  1. Resync your program id
anchor keys sync
  1. Build the program
anchor build

Testing

Run all .test.ts files under /tests.

bun test

Deployment

  1. Configure to use localnet
solana config set -ul
  1. Deploy the program
anchor deploy
  1. Optionally initialize IDL
anchor idl init -f target/idl/mess.json <PROGRAM_ID>
  1. In the app directory, set up .env values
cp .env.example .env.development
  1. Start development server
bun run dev

Using LazorKit

LazorKit is a passkey-based smart wallet with gas abstraction built in.

Setting up your smart wallet:

Choose LazorKit when selected a wallet to connect with.

Connect Wallet

Create a new account or sign in if you've registered your passkey on another device.

Portal

Authenticate using your passkey.

Sign In

You should now be connected to your smart wallet, without needing to enter any password or store any secret keys.

Connected

Issues

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

Acknowledgements

Resources

Hosting and API

Contact

[email protected]

About

Messaging dApp for Solana Curriculum

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published