New features in v2:
- CLI
new
command for creating new projectsbuild
command for running cargo buildtest
command for running cargo testclean
command for running cargo clean
- Refined account validation logic
- Renamed
to_
prefix toas_
- Renamed
check
toassert
- Added
assert_err
andassert_msg
variations
- Renamed
- 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 withsol_log
- Add
.log_return()
to any event to return withset_return_data
- Add
- Lamport transfer helpers
collect
function to collect lamports from signers and non-program owned accountssend
function to send lamports from program owned accounts
- More SPL helpers
- Helper functions for
freeze
burn
,mint
,initialize_mint
commands
- Helper functions for