The Rust core behind Orvyn: agents, wallets and wallet policy, payments, Vyn and the job worker.
Website · App · Docs · X · Telegram
Orvyn's backend core in Rust (the orvyn-core crate): settings, the database and its migrations,
secrets, auth, wallets and the wallet policy, agents and their saved choices, Vyn,
games, Studio jobs, payments (OrvynPay, x402), RNG and price feeds, OAuth, and the job worker. Used
by orvyn-stack, orvyn-api and orvyn-agent, as a git dependency by tag:
orvyn-core = { git = "https://github.com/OrvynOS/Core", tag = "v0.26.3" }Migrations are in migrations/, with drizzle's journal and bookkeeping (as the TypeScript core
kept them): add one with cargo run -p orvyn-admin -- new-migration <name>; never edit an applied
migration or regenerate 0000_init.sql. The vectors in tests/vectors/ are the retired
TypeScript core's outputs, frozen: the tests check this crate still gives them.
cargo test # starts a throwaway Postgres (postgresql_embedded) on port 55433 and reuses it
cargo run -p orvyn-admin # the operator tool: API clients, holds, wallet checks, Privy
# policies, a preview database, migrations, contract fixturesAlso here: mcp/ (orvyn-mcp), Orvyn's trading tools (PancakeSwap, Uniswap, four.meme, Flap:
quotes and unsigned transactions), served at api.orvyn.cash/mcp and self-hostable per venue
(cargo run -p orvyn-mcp); and admin/, the operator tool.
PORTING.md records how this crate follows the TypeScript core, and where it differs.
MIT. Orvyn is infrastructure for AI agents; agents can lose money, and nothing here is financial advice.