spl-token-client

Crates.iospl-token-client
lib.rsspl-token-client
version0.14.0
sourcesrc
created_at2022-01-13 22:58:50.85686+00
updated_at2025-01-22 13:24:01.57668+00
descriptionSPL-Token Rust Client
homepagehttps://solana-program.com
repositoryhttps://github.com/solana-program/token-2022
max_upload_size
id513577
size1,126,852
(anza-team)

documentation

https://docs.rs/spl-token-client

README

SPL Token Client

All of the end-to-end tests for spl-token-2022 exist in this package.

Requirements

These tests require other built on-chain programs, including:

  • spl-instruction-padding
  • spl-transfer-hook-example
  • spl-transfer-hook-example-downgrade
  • spl-transfer-hook-example-fail
  • spl-transfer-hook-example-success
  • spl-transfer-hook-example-swap
  • spl-transfer-hook-example-swap-with-fee

Built versions of these programs exist in tests/fixtures, and may be regenerated from the following places in this repo:

  • clients/rust-legacy/transfer-hook-test-programs/downgrade
  • clients/rust-legacy/transfer-hook-test-programs/fail
  • clients/rust-legacy/transfer-hook-test-programs/success
  • clients/rust-legacy/transfer-hook-test-programs/swap
  • clients/rust-legacy/transfer-hook-test-programs/swap-with-fee

Outside of this repo, other built programs are required:

  • spl-instruction-padding
  • spl-transfer-hook-example
Commit count: 2380

cargo fmt