In many cases, the hello-world template provides an adequate structure for developers. The only thing that developers need to care and modify is
src folder, where they develop their own programs and client application.
There are 3 components in
client. A client application that developers provides perhaps function, UI/UX for end users to interact with on-chain program. For example, a function
configs. Because all the communication between client and program is via serialized data, a sequence of bytes, which is very inconvenient for development. To lift this, SoproX has built SoproxABI for an automatic process. All thing you need is provide a schema for SoproxABI to be able to understand the data. The final result is always a JSON object that's so readable.
program. This is the crucial component of yours. This folder contains all relevant Rust file that define how you on-chain program run through data. In next section Solona Rust-based program, we will break this into small, but clear, pieces to have a deep look.
.├── LICENSE├── cluster-devnet.env├── cluster-mainnet-beta.env├── cluster-testnet.env├── lib├── node_modules├── package-lock.json├── package.json├── scripts└── src├── client├── configs└── program