@project-serum/anchor
Advanced tools
Changelog
[0.4.3] - 2021-04-13
#[account(owner = <program>)]
constraint (#178).#[account(associated = <target>)]
and #[associated]
attributes for creating associated program accounts within programs. The TypeScript package can fetch these accounts with a new <program>.account.<account-name>.associated
(and associatedAddress
) method (#186).#[account]
s are now parsed into the IDL correctly (#177).Changelog
[0.4.0] - 2021-04-04
#[state]
account's size (#121).#[account(executable)]
attribute (#140).Cluster
struct when constructing clients (#89).IdlAccount
to be namespaced by "internal"
(#128).-#![feature(proc_macro_hygiene)]
. (#139).