Fernando Otero 51ff971f70 p-token: Add more tests (#84) 1 月之前
..
src 27992e4513 reuse amount validations (#82) 1 月之前
tests 51ff971f70 p-token: Add more tests (#84) 1 月之前
Cargo.toml cf136e7c82 p-token: Add explicitly ownership checks in `batch` (#80) 1 月之前
README.md 5adaa0e687 p-token: Add interface and p-token to workspace (#24) 7 月之前

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