| Crates.io | solarti-token-cli |
| lib.rs | solarti-token-cli |
| version | 3.0.0 |
| created_at | 2023-05-05 00:51:09.003923+00 |
| updated_at | 2023-11-24 05:45:58.667006+00 |
| description | Solarti Token Command-line Utility |
| homepage | https://spl.miraland.top/token |
| repository | https://github.com/miraland-labs/solarti-program-library |
| max_upload_size | |
| id | 857214 |
| size | 641,560 |
A basic command-line for creating and using SPL Tokens. See https://spl.solana.com/token for more details
To build the CLI locally, simply run:
cargo build
The tests require locally built programs for Token, Token-2022, and Associated Token Account. To build these, you can run:
BUILD_DEPENDENT_PROGRAMS=1 cargo build
This method uses the local build.rs file, which can be error-prone, so alternatively,
you can build the programs by running the following commands from this directory:
cargo build-sbf --manifest-path ../program/Cargo.toml
cargo build-sbf --manifest-path ../program-2022/Cargo.toml
cargo build-sbf --manifest-path ../../associated-token-account/program/Cargo.toml
After that, you can run the tests as any other Rust project:
cargo test