Abhishek-Mallick / Abhishek-Mallick/universal-box

[TEMPLATE] - Solana DApp | Web3

Aperta
#159 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub
hacktoberfest
Lingua principale
JavaScript
Stelle
47
Fork
41
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

### 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

Guida per i contributori

Apri la guida per i contributori

Direzione di ricerca

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.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Valutazione

Stack tecnologico
javascript, react, rust
Ambito
blockchain, documentation, web-dev
Tipo di issue
Documentazione
Difficoltà
4/5
Tempo stimato
3-5 giorni
Stato di attività
Ferma
Chiarezza
Specificata chiaramente
Idoneità per principianti
45/100

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.