pubkey

Crates.iopubkey
lib.rspubkey
version0.1.1
sourcesrc
created_at2022-02-05 02:08:24.053448
updated_at2022-03-22 19:43:20.160107
descriptionSerde Solana Pubkey serializer/deserializer.
homepagehttps://clb.exchange
repositoryhttps://github.com/CLBExchange/certified-token-liist
max_upload_size
id527220
size3,410
(aptos-crates)

documentation

README

pubkey

Serde Solana Pubkey serializer/deserializer.

Installation

Add pubkey to your Cargo.toml.

Usage

use solana_program::pubkey::Pubkey;

#[derive(serde::Serialize, serde::Deserialize)]
pub struct MyStruct {
    /// Token pubkey.
    #[serde(with = "pubkey")]
    pub address: Pubkey,
}

License

The pubkey crate is licensed under the Apache 2.0 License.

License: Apache-2.0

Commit count: 0

cargo fmt