Reference
This page serves as a reference for Rush and its functions.
🚧 Rush is under heavy development. Expect bugs, crashes, breaking changes, and partial experiences so we can ship fast, break things, and iterate to bring you the best onchain game development experience. This page is Updated Daily.
To interact with the onchain Rush Store Program, Rush has a provided prerelease SDK with the following functions below.
Rush Manifest
[workspace]
name = "my-onchain"
[storage]
repository = "solana"
[solana]
store = "<STORAGE_PROGRAM_ADDRESS>"
rpc = "<HTTPS_RPC_URL>"
keypair = "<KEYPAIR_PATH>"
The Rush Manifest defines the project configurations to be used for your Rush project.
Recommended Values
BARA Devnet
rpc = https://devnet.bara.games
Rush Gaming Blueprint: TOML DSL
Supported Types: i64, f64, bool, and String
The Rush Gaming Blueprint greatly influences how your game interacts with the Onchain World.
In the example above, the Onchain world has a player entity with a name,x, and y component that can be interacted with the Rush SDKs.
Rush Onchain Data Layout
Rush is currently in prerelease, this Onchain Data Layout is bound to change in the future.
World
Instance
Bevy SDK
Last updated