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 repository, which provides the off-chain interactions required to interact with these smart contracts.
.
├── hello_world
│ ├── Cargo.lock
│ ├── Cargo.toml
│ └── src
│ └── lib.rs
├── README.md
└── receive_data
├── Cargo.lock
├── Cargo.toml
└── src
└── lib.rs
The project is built to run on any cluster, but I highly recommend to run it locally.
solana-test-validator
cargo build-sbf
solana program deloy <path-to-file.so>