A pinocchio-based Associated Token Account Program
This repository contains a proof-of-concept of a reimplementation of the SPL Associated Token Account program, one of the most used programs on Solana, using pinocchio. The purpose is to have an implementation that optimizes the compute units, while being fully compatible with the original implementation — i.e., support the exact same instruction and account layouts as SPL Token, byte for byte.
no_stdcrate- Same instruction and account layout as SPL Token
- Minimal CU usage
To build the programs from the root directory of the repository:
pnpm installto install the required libraries, then:
pnpm programs:buildTo run the tests against both versions of the Token program:
pnpm programs:testThe code is licensed under the Apache License Version 2.0