Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/riteshpuvvada/simple-message-app-on-solana

A messaging app built on top of Solana blockchain where you can store and view your messages.
https://github.com/riteshpuvvada/simple-message-app-on-solana

anchor blockchain-technology decentralized rust-lang solana solana-program time-capsule wallet

Last synced: 3 months ago
JSON representation

A messaging app built on top of Solana blockchain where you can store and view your messages.

Awesome Lists containing this project

README

        


Message App on Solana 💬




This Message application written Rust using [Anchor âš“](https://project-serum.github.io/anchor/getting-started/introduction.html)

## Setting up the Environment:

* Rust Installation

```bash
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
source $HOME/.cargo/env
rustup component add rustfmt
```

* Solana Installation

```bash
sh -c "$(curl -sSfL https://release.solana.com/v1.8.0/install)"
```
**Please update your `PATH` environment variable to include the solana programs**

* Installation of mocha

```bash
npm install -g mocha
```

* [Anchor âš“](https://project-serum.github.io/anchor/getting-started/introduction.html) Installation

```bash
npm i -g @project-serum/anchor-cli
```

* And we can use Cargo to install CLI

```bash
cargo install --git https://github.com/project-serum/anchor --tag v0.17.0 anchor-cli --locked
```
---

## Configurations on Solana CLI

```bash
solana config get
```

Configure `RPC URL`

```bash
solana config set --url localhost
```

Wallet address and airdrop some **SOL**

```bash
solana address
```

* For more comprehensive details of your account

```
solana account
```
---

## Getting Started

* Clone this repository

```bash
git clone https://github.com/RiteshPuvvada/Simple-message-app-on-solana.git

cd Simple-message-app-on-solana
```

* Compile this project

```bash
anchor build
```

* Run tests

```bash
anchor test
```