Skip to main content
The Rust crate is loyal-smart-accounts-rs, imported in code as loyal_smart_accounts_rs.

Scope

This crate is parity-first, but intentionally narrower than the TypeScript SDK today. The stable public flow to rely on right now is:
  • smart_accounts::instructions::create
  • smart_accounts::prepare::create
  • client.smart_accounts().create(...)
Do not assume the Rust crate currently matches the full TS feature surface. Today the documented, trustworthy path is the smart-account create flow.

Create A Client

Build The Request

Two Useful Entry Points

Raw Instruction

Use smart_accounts::instructions::create(...) when you want to assemble and send the transaction yourself.

Prepare First

Use smart_accounts::prepare::create(...) when you want a prepared operation before send.

Send Through The Client

Use client.smart_accounts().create(...) for the direct path.

What This Means In Practice

  • Rust is already useful for creation workflows
  • The TS SDK is still the broader integration surface today
  • If you need the fullest feature coverage right now, start from TypeScript SDK