Mike MacCana 2c4cb8f527 Fix: all the biome errors and update biome (#86) 1 рік тому
..
anchor a3b87a4948 update: tokens native, formatter, trigger action on project changes (#81) 1 рік тому
native 2c4cb8f527 Fix: all the biome errors and update biome (#86) 1 рік тому
README.md a2831045ac reorg to match readme 3 роки тому

README.md

Recommended Program Layout

This is the typical layout for a Solana program as it grows in size and begins to require multiple Rust files. You'll notice a lot of the programs in the Solana Program Library follow this format.

Note: You can structure your Rust src folder however you wish - provided you follow Cargo's repository structure standards. You don't have to follow this pattern, but it's here so you can recognize other programs, too.

You can see that the structure for a native repository is very similar to that of the anchor repository. The only difference is the inclusion of a processor.rs in the native setup - one of the many things Anchor abstracts away for you!