Fernando Otero 369b0818ee p-token: Add ui amount precision tests (#98) 1 Minggu lalu
..
src 7511655051 p-token: Improve code generation (#90) 1 bulan lalu
tests 369b0818ee p-token: Add ui amount precision tests (#98) 1 Minggu lalu
Cargo.toml 369b0818ee p-token: Add ui amount precision tests (#98) 1 Minggu lalu
README.md 5adaa0e687 p-token: Add interface and p-token to workspace (#24) 7 bulan lalu

README.md

p-token

A pinocchio-based Token program.

Overview

p-token is a reimplementation of the SPL Token program, one of the most popular 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.

Features

  • no_std crate
  • Same instruction and account layout as SPL Token
  • Minimal CU usage

License

The code is licensed under the Apache License Version 2.0