| Crates.io | wvm |
| lib.rs | wvm |
| version | 0.0.1 |
| created_at | 2025-07-17 07:11:18.030194+00 |
| updated_at | 2025-07-17 07:11:18.030194+00 |
| description | wvm is a universal, extensible, and high-performance virtual machine designed for the next generation of digital worlds. |
| homepage | https://piucoin.com |
| repository | https://github.com/piucoin/wvm |
| max_upload_size | |
| id | 1757168 |
| size | 6,258 |
wvm (World Virtual Machine) is a universal, extensible, and high-performance virtual machine designed for the next generation of digital worlds.
wvm provides a robust execution environment for decentralized applications, games, simulations, metaverse platforms, and blockchain-based smart contracts. Built for modularity and cross-platform integration, wvm enables seamless interoperability between digital assets, agents, and protocols.
use wvm::{WorldVm, Agent, Script};
fn main() {
let mut vm = WorldVm::default();
let agent = Agent::new("npc_001");
let script = Script::from_code("move_to(10, 20); speak('Hello, world!');");
vm.spawn_agent(agent, script);
vm.run_tick();
}