https://github.com/benjaminpla/on_chain_solana_rust
This is an on-chain development project built in Rust that uses solana-program crate. It goes through all the basic regarding programs (smart contracts).
https://github.com/benjaminpla/on_chain_solana_rust
blockchain git on-chain react smart-contracts solana
Last synced: 8 months ago
JSON representation
This is an on-chain development project built in Rust that uses solana-program crate. It goes through all the basic regarding programs (smart contracts).
- Host: GitHub
- URL: https://github.com/benjaminpla/on_chain_solana_rust
- Owner: benjaminPla
- Created: 2025-02-03T15:53:03.000Z (11 months ago)
- Default Branch: master
- Last Pushed: 2025-02-03T16:59:17.000Z (11 months ago)
- Last Synced: 2025-05-07T20:46:51.000Z (8 months ago)
- Topics: blockchain, git, on-chain, react, smart-contracts, solana
- Language: Rust
- Homepage:
- Size: 12.7 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# On-Chain Development
## Overview
This is an on-chain development project built in Rust that uses `solana-program` crate. It goes through all the basic regarding programs (smart contracts).
This project is linked to the [off_chain_solana_typescript](https://github.com/benjaminPla/off_chain_solana_typescript) repository, which provides the off-chain interactions required to interact with these smart contracts.
## Structure
```
.
├── hello_world
│ ├── Cargo.lock
│ ├── Cargo.toml
│ └── src
│ └── lib.rs
├── README.md
└── receive_data
├── Cargo.lock
├── Cargo.toml
└── src
└── lib.rs
```
## Clusters
The project is built to run on any cluster, but I highly recommend to run it locally.
1. `solana-test-validator`
2. `cargo build-sbf`
3. `solana program deloy `
## Images