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

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).

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