Abhishek-Mallick / Abhishek-Mallick/universal-box

[TEMPLATE] - Solana DApp | Web3

Ouverte
#159 0 commentaires 0 réactions 0 personnes assignées Voir sur GitHub
hacktoberfest
Langage dominant
JavaScript
Étoiles
47
Forks
41
Métriques de merge des PR
Aucune PR mergée en 30 j

Description

### What domain will the project template be based on?

Web3

### If 'Others', please specify the preferred domain.

_No response_

### Particular directory path for the template.

`templates/Web3/Solana-DApp/`

### What tech stacks do you want to include?

React, Solana Web3.js, Rust, Solana CLI, Phantom Wallet

### Brief Description

This template serves as a starting point for building decentralized applications on the Solana blockchain. It includes a sample program written in Rust and a React frontend that interacts with the program. The template demonstrates how to connect to the Solana network, send transactions, and interact with accounts.

**Key Features:**

1. Solana Program: Provide a simple Rust-based smart contract with comments explaining each part.
2. Build and Deployment: Include scripts for building the program and deploying it to the devnet.
3. Frontend Integration: Implement connection to the Phantom Wallet and interaction with the program.
4. Transaction Handling: Show how to construct and send transactions, and handle confirmations.
5. Account Management: Demonstrate reading and writing to Solana accounts.
6. Error Handling: Include comprehensive error management for network and transaction issues.

**Idea Workflow:**

- Write the Rust program with clear documentation.
- Set up the Solana CLI and include instructions for environment setup.
- Develop React components that interact with the Solana Web3.js API.
- Implement wallet integration and ensure secure handling of private keys.
- Provide a step-by-step guide in the README for setting up and running the DApp.
- Optionally, include unit tests for the Rust program and frontend code.
- Create a corresponding markdown for populating [docs](https://universal-box.dev/) in `website/content/Templates/Web3/Solana-DApp.md` .. refer to [this one](https://github.com/Abhishek-Mallick/universal-box/blob/main/website/content/Templates/FullStack/EJS(SSR)%2BNodejs(Backend).md) for getting an idea on the format to follow

### 👀 Have you spent some time checking if this issue has been raised before?

- [X] Yes
- [ ] No

### 🏢 Have you read the Code of Conduct?

- [X] I have read the [Code of Conduct](https://github.com/Abhishek-Mallick/universal-box/blob/main/.github/CODE_OF_CONDUCT.md)

### Would you like to work on this issue?

No

Guide de contribution

Ouvrir le guide de contribution

Piste de recherche

The template should be created in the directory `templates/Web3/Solana-DApp/`. Start by writing a Rust smart contract with clear comments, then build a React frontend that uses Solana Web3.js to connect to Phantom Wallet. Include build scripts and a comprehensive README. Finally, create a markdown file at `website/content/Templates/Web3/Solana-DApp.md` following the format of the linked example.

Rédigé par le modèle d'indexation à partir du texte de l'issue.

Évaluation

Stack technique
javascript, react, rust
Domaine
blockchain, documentation, web-dev
Type d'issue
Documentation
Difficulté
4/5
Temps estimé
3-5 jours
Activité
À l'abandon
Clarté
Clairement spécifiée
Accessibilité débutants
45/100

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.