Commit 23e0778
chore(token-minter): rename from spl-token-minter
The 'spl-' prefix is redundant. Everything onchain is an SPL token (per
Solana's terminology page) — the prefix adds nothing and clutters paths
and crate names. The directory, crates, and prose mentions are now just
'token-minter' / 'Token Minter'.
Renamed:
Directories:
tokens/spl-token-minter/ -> tokens/token-minter/
tokens/token-minter/anchor/programs/spl-token-minter/ -> tokens/token-minter/anchor/programs/token-minter/
Crate / package names:
spl-token-minter (anchor) -> token-minter
spl_token_minter (anchor lib) -> token_minter
quasar-spl-token-minter -> quasar-token-minter
quasar_spl_token_minter (Quasar.toml) -> quasar_token_minter
spl-token-minter-native-program -> token-minter-native-program
Source identifiers:
Anchor #[program] mod name -> token_minter
Anchor.toml [programs.localnet] key -> token_minter
Anchor test file: test_spl_token_minter.rs -> test_token_minter.rs
Anchor test internal refs (spl_token_minter::*) -> token_minter::*
Quasar #[program] mod name -> quasar_token_minter
Quasar test .so path -> quasar_token_minter.so
Native processor enum SplMinterIntstruction (sic) -> MinterInstruction
Native TS enum SplMinterInstruction -> MinterInstruction
Native TS describe('SPL Token Minter') -> describe('Token Minter')
Native TS it('Create an SPL Token!') -> it('Create a token')
Cross-repo path references updated:
README.md (root)
tokens/nft-minter/README.md
tokens/transfer-tokens/README.md
tokens/create-token/quasar/src/lib.rs (prose path)
.github/.ghaignore (two entries)
Verified:
- cargo check inside tokens/token-minter/anchor compiles cleanly
- git grep 'spl[-_]token[-_]minter' returns zero matches
- rename is behaviour-preserving (no program logic changed)
Out of scope (pre-existing on this branch, unrelated to rename):
- tokens/token-minter/quasar fails cargo check because quasar-spl on
branch=master has the zeropod 0.3.0 regression; fix lands when PR #24
is rebased into this branch's base.
- tokens/token-minter/native/program does not standalone-compile because
it is inside the repo's [workspace] but not listed as a member; same
state as tokens/nft-minter/native/program. CI ignores it via .ghaignore.1 parent e5b7d7c commit 23e0778
36 files changed
Lines changed: 34 additions & 34 deletions
File tree
- .github
- tokens
- create-token/quasar/src
- nft-minter
- token-minter
- anchor
- programs/token-minter
- src
- instructions
- tests
- tests/fixtures
- native
- program
- src
- instructions
- tests
- quasar
- src
- instructions
- transfer-tokens
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
12 | | - | |
| 12 | + | |
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
| |||
68 | 68 | | |
69 | 69 | | |
70 | 70 | | |
71 | | - | |
| 71 | + | |
72 | 72 | | |
73 | 73 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
157 | 157 | | |
158 | 158 | | |
159 | 159 | | |
160 | | - | |
| 160 | + | |
161 | 161 | | |
162 | 162 | | |
163 | 163 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
14 | | - | |
| 14 | + | |
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| |||
File renamed without changes.
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
9 | | - | |
| 9 | + | |
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
| |||
File renamed without changes.
File renamed without changes.
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | | - | |
| 2 | + | |
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
9 | | - | |
| 9 | + | |
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
| |||
0 commit comments