| Crates.io | bevy-stylus-plugin |
| lib.rs | bevy-stylus-plugin |
| version | 0.1.1 |
| created_at | 2025-09-01 17:09:00.38427+00 |
| updated_at | 2025-09-01 17:11:26.318688+00 |
| description | A Bevy plugin for integrating with Stylus blockchain contracts |
| homepage | |
| repository | https://github.com/yourusername/bevy-stylus-plugin |
| max_upload_size | |
| id | 1819917 |
| size | 188,158 |
A Bevy plugin for integrating with Stylus blockchain contracts.
Add to your Cargo.toml:
[dependencies]
bevy-stylus-plugin = { git = "https://github.com/yourusername/bevy-stylus-plugin" }
Then in your game:
use bevy::prelude::*;
use bevy_stylus_plugin::{BlockchainPlugin, BlockchainClient};
fn main() {
App::new()
.add_plugins(DefaultPlugins)
.add_plugins(BlockchainPlugin)
.run();
}
fn my_system(blockchain_client: Res<BlockchainClient>) {
// Use the blockchain client
}
Create a Stylus.toml file in your project root and set the PRIVATE_KEY environment variable.