You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+21-40Lines changed: 21 additions & 40 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -16,18 +16,18 @@
16
16
17
17
Star Frame is a modern Solana program framework designed to make developing on-chain programs more ergonomic, safe, and performant. Built with a trait-based architecture, it provides:
18
18
19
-
-**Performance**: Optimized for Solana's compute unit constraints by utilizing Pinocchio and our `unsized_type` system (check out the [Compute Units](example_programs/bench/COMPUTE_UNITS.md) benchmark vs Anchor).
20
-
-**Developer Experience**: Intuitive APIs with comprehensive compile-time validation (traits and types all the way down!).
21
-
-**Modularity**: Everything is a trait or a type, so you can use what you need when you need it. For example, the entrypoint is a method on the `StarFrameProgram` trait, and client/cpi account sets are associated types of the `ClientAccountSet` and `CpiAccountSet` traits.
19
+
-**Performance**: Optimized for Solana's compute unit constraints by utilizing Pinocchio and our `unsized_type` system (check out the [Compute Units](/example_programs/bench/COMPUTE_UNITS.md) benchmark vs Anchor).
20
+
-**Developer Experience**: Intuitive APIs with comprehensive compile-time validation (traits and types all the way down!).
21
+
-**Modularity**: Everything is a trait or a type, so you can use what you need when you need it. For example, the entrypoint is a method on the `StarFrameProgram` trait, and client/cpi account sets are associated types of the `ClientAccountSet` and `CpiAccountSet` traits.
22
22
23
23
## Getting Help
24
24
25
25
Star Frame is in active development (and improving our docs is a main priority now!). If you need help:
26
26
27
-
- Check out the [API documentation](https://docs.rs/star_frame)
28
-
- Browse the [examples](example_programs/) in this repository
29
-
- Open an [issue](https://github.com/staratlasmeta/star_frame/issues) for bug reports or feature requests
30
-
- Join our [Star Atlas Discord](https://discord.gg/gahmBHsc) and chat in our `#community-developers` channel
27
+
-Check out the [API documentation](https://docs.rs/star_frame)
28
+
-Browse the [examples](/example_programs/) in this repository
29
+
-Open an [issue](https://github.com/staratlasmeta/star_frame/issues) for bug reports or feature requests
30
+
-Join our [Star Atlas Discord](https://discord.gg/gahmBHsc) and chat in our `#community-developers` channel
31
31
32
32
## Getting Started
33
33
@@ -59,6 +59,7 @@ use star_frame::prelude::*;
59
59
## Example
60
60
61
61
Below is a simple counter program demonstrating the basic features of Star Frame. In this example, only the designated authority can increment the counter.
62
+
See the [full example](/example_programs/simple_counter/src/lib.rs) for additional useful features.
0 commit comments