Skip to content

Releases: regolith-labs/steel

v2.1.0

23 Oct 16:47
Compare
Choose a tag to compare

New features in v2:

  • CLI
    • new command for creating new projects
    • build command for running cargo build
    • test command for running cargo test
    • clean command for running cargo clean
  • Refined account validation logic
    • Renamed to_ prefix to as_
    • Renamed check to assert
    • Added assert_err and assert_msg variations
  • Hidden PDA bumps
    • All helpers implicitly calculate bumps
    • _with_bump helpers provided for devs who want to manually manage bumps
  • Event loggers
    • Add .log() to any event to log with sol_log
    • Add .log_return() to any event to return with set_return_data
  • Lamport transfer helpers
    • collect function to collect lamports from signers and non-program owned accounts
    • send function to send lamports from program owned accounts
  • More SPL helpers
    • Helper functions for freeze burn, mint, initialize_mint commands

v1.2.0

27 Sep 06:34
39c3f3e
Compare
Choose a tag to compare
  • Support for new composable account validation functions.
  • Added program_id ownership check to is_type, to_account, and to_account_mut functions.
  • Simplified CPIs for create_account and allocate_account.
  • New account parser for to_associated_token_account.