↧
Answer by Henry E for Passing Data and Accounts to Anchor Program
From @sohrab's useful blogpost on invoking anchor programs in regular solana programs// prepare instruction datastruct DoSomething { x: u8,}let instruction_data: Vec<u8> =...
View ArticlePassing Data and Accounts to Anchor Program
On a low level, solana programs take instructions which only have 3 fields, an account vec, a bytearray of data, and the programID. This makes it easy to invoke programs from other programs by...
View Article
More Pages to Explore .....