Crates.io | lpl-token-metadata |
lib.rs | lpl-token-metadata |
version | 1.8.5 |
source | src |
created_at | 2022-07-23 08:00:55.78346 |
updated_at | 2023-03-05 13:46:42.270157 |
description | ledamint Metadata |
homepage | |
repository | https://github.com/ledamint-IO/ledamint-program-library |
max_upload_size | |
id | 631318 |
size | 619,722 |
The Token Metadata program is one of the most important programs when dealing with NFTs on the Solana blockchain. Its main goal is to attach additional data to Fungible or Non-Fungible Tokens on Solana.
From the root directory of the repository:
cargo build-bpf --bpf-out-dir ../../test-programs/
From the root directory of the repository:
cargo test-bpf --bpf-out-dir ../../test-programs/
Integration tests are available using Amman.
After building the program, go to the folder ../js
and run:
yarn install
On a separate terminal, start Amman from the ../js
folder:
yarn amman:start
Back to your main terminal on the ../js
folder, run:
yarn build && yarn test
The Token Metadata Program's source is available on github
The on-chain Token Metadata program is written in Rust and available on crates.io as lpl-token-metadata and docs.rs.
Full docs for this program can be found here.