| counter | Create PDA with sponsored rent-exemption |
| create-associated-token-account | Create associated light-token account |
| create-mint | Create light-token mint |
| create-token-account | Create light-token account |
create-and-transfer shows the pattern for instructions that both create accounts and execute logic. The #[light_account] macro on destination creates the recipient associated token account. The handler body calls TransferInterfaceCpi to execute the transfer.
For existing programs, you can replace spl_token with light_token instructions as you need. The API is a superset of SPL-token so switching is straightforward.
# for localnet
npm i -g @lightprotocol/zk-compression-cli@betaanchor buildcargo test-sbfLearn more about Light-Token here.