Skip to content

docs: zero to hero tutorial — build your first LEZ program with SPEL #61

@jimmy-claw

Description

@jimmy-claw

Summary

SPEL has no user-facing documentation. New developers have no entry point.

Create a docs/tutorial.md that walks through building a complete LEZ program from scratch using SPEL.

Outline

  1. Prerequisites — Rust, risc0 toolchain, sequencer running locally
  2. Scaffold — create a new program crate, add lez-framework dependency
  3. Write your first instruction#[lez_program], #[instruction], account validation
  4. State accounts — define a PDA, derive it, store/read state
  5. Build and deploymake build, lez-cli deploy
  6. Call itlez-cli run or via generated FFI
  7. Register in SPELbookregistry register --idl-path ...
  8. Next steps — ChainedCall, multisig governance, client-gen

Notes

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions