{"id":29027603,"url":"https://github.com/defi0x1/spl-token-cli","last_synced_at":"2025-06-26T06:37:24.324Z","repository":{"id":38595186,"uuid":"481119763","full_name":"defi0x1/spl-token-cli","owner":"defi0x1","description":"SPL token CLI (NFT, Fungible Asset, Fungible Token)","archived":false,"fork":false,"pushed_at":"2023-08-15T23:06:59.000Z","size":456,"stargazers_count":1,"open_issues_count":3,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-06-13T04:45:42.215Z","etag":null,"topics":["cli","crytpocurrency","fungible-tokens","metaplex","spl-token"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/defi0x1.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-04-13T07:42:05.000Z","updated_at":"2023-02-13T18:19:00.000Z","dependencies_parsed_at":"2025-02-18T21:43:10.678Z","dependency_job_id":null,"html_url":"https://github.com/defi0x1/spl-token-cli","commit_stats":null,"previous_names":["defi0x1/spl-token-cli"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/defi0x1/spl-token-cli","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/defi0x1%2Fspl-token-cli","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/defi0x1%2Fspl-token-cli/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/defi0x1%2Fspl-token-cli/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/defi0x1%2Fspl-token-cli/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/defi0x1","download_url":"https://codeload.github.com/defi0x1/spl-token-cli/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/defi0x1%2Fspl-token-cli/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":262017152,"owners_count":23245579,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["cli","crytpocurrency","fungible-tokens","metaplex","spl-token"],"created_at":"2025-06-26T06:37:14.198Z","updated_at":"2025-06-26T06:37:24.302Z","avatar_url":"https://github.com/defi0x1.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# spl-token-cli\nSPL token CLI (NFT, Fungible Asset, Fungible Token)\n\n## Work flow create metadata (currently for Fungible Token)\n\n  - Step 1: Create metadata based on [`Token Standard`](https://docs.metaplex.com/token-metadata/specification#token-standards)\n    \n    Example metdata\n    ```json\n      {\n        \"name\": \"NEKO Coin\",\n        \"symbol\": \"NKC\",\n        \"description\": \"Test build neko token\",\n        \"image\": \"https://cdn.discordapp.com/attachments/953573404395585596/960393815208914964/Group_7996_1.png\",\n        \"external_url\": \"https://github.com/docongminh\",\n        \"seller_fee_basis_points\": 0,\n        \"properties\": {\n          \"creators\": []\n         }\n      }\n    ```\n  - Step 2: Upload metadata to storage (currently `nft-storage`)\n    \n    ```bash\n      ts-node ./src/upload-cli.ts upload-metadata-to-storage --help\n    ```\n    ```\n      Usage: upload-cli upload-metadata-to-storage [options]\n\n      Options:\n        -e, --env \u003cstring\u003e           Solana cluster env name (default: \"devnet\")\n        -k, --keypair \u003cpath\u003e         Solana wallet location\n        -l, --log-level \u003cstring\u003e     log level\n        -f, --file \u003cstring\u003e          metadata json file\n        -s, --storage \u003cstring\u003e       storage type\n        -r, --rpc-url \u003cstring\u003e       Optional: Custom RPC url\n        --nft-storage-key \u003cstring\u003e   Optional: NFT storage key\n        --ipfs-credentials \u003cstring\u003e  Optional: IPFS credentials\n        --pinata-jwt \u003cstring\u003e        Optional: Pinata JWT\n        --pinata-gateway \u003cstring\u003e    Optional: Pinata Gateway\n        --aws-s3-bucket \u003cstring\u003e     Optional: AWS S3 Bucket\n        -h, --help                   display help for command\n    ```\n    Command: \n    ```bash\n      ts-node ./src/upload-cli.ts upload-metadata-to-storage -f ./path/to/metadata.json -k /path/to/keypair -e devnet -s nft-storage\n    ```\n    \n    Output:\n    ```json\n      {\n        \"link\": \"https://bafkreig2txa2sx7eg5vb4mixnfuyjdsttt4spxdo3emcrptgjztrjxtdxu.ipfs.dweb.link\",\n        \"imageLink\": \"https://cdn.discordapp.com/attachments/953573404395585596/960393815208914964/Group_7996_1.png\",\n        \"animationLink\": \"undefined\"\n      }\n    ```\n  - Step 3: Create metdata for specify token\n    ```bash\n      ts-node ./src/create-cli.ts create-metadata --help\n    ```\n    ```\n      Usage: create-cli create-metadata [options]\n\n      Options:\n        -e, --env \u003cstring\u003e          Solana cluster env name (default: \"devnet\")\n        -k, --keypair \u003cpath\u003e        Solana wallet location (default: \"--keypair not provided\")\n        -l, --log-level \u003cstring\u003e    log level\n        -m, --mint \u003cstring\u003e         base58 mint key\n        -u, --uri \u003cstring\u003e          metadata uri\n        -f, --file \u003cstring\u003e         local file\n        -nvc, --no-verify-creators  Optional: Disable Verification of Creators\n        -h, --help                  display help for command\n    ```   \n    \n    Command: \n    ```bash\n      ts-node ./src/create-cli.ts create-metadata -u /link/metadata/step 2 -e devnet -k /path/to/keypair -m /mint/address\n    ```\n    Output: \n    ```json\n      {\n        \"txid\": \"5J7j8U6PdX2VUNsAAeYyvj9Ck1WoLsEEgUcDWYCMmv29vTkjiNzAhXLD5Zperz7B7JnRnRCqoSoMC5zJuCTCru2j\",\n        \"slot\": 127916616\n      }\n    ```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdefi0x1%2Fspl-token-cli","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdefi0x1%2Fspl-token-cli","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdefi0x1%2Fspl-token-cli/lists"}