Skip to main content

All Questions

Filter by
Sorted by
Tagged with
1 vote
1 answer
84 views

Defining composite fields using Anchor Accounts structs from other crates

Consider an anchor workspace set up like so: programs/a/lib.rs programs/b/lib.rs programs/c/lib.rs common/lib.rs With accounts struct in the common crate: // common/lib.rs #[derive(Accounts)] pub ...
HelmetFace's user avatar
  • 1,807