Commit 71b97a7
tilo-14
feat: add c-token client examples
Add compressed token (cToken) client examples:
- client-create-cmint.rs - Create compressed mint with metadata
- client-create-ctoken.rs - Create compressed token account
- client-create-cata.rs - Create compressed ATA
- client-mint-to-ctoken.rs - Mint tokens to cToken
- client-transfer-interface.rs - SPL to cToken transfers
- client-close-ctoken.rs - Close cToken account
Rename ctoken/ to c-token/ and add proper Cargo.toml with
git dependencies pinned to commit 3b811efce.1 parent 6b53faa commit 71b97a7
11 files changed
Lines changed: 10219 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
42 | 42 | | |
43 | 43 | | |
44 | 44 | | |
45 | | - | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
46 | 55 | | |
47 | 56 | | |
48 | 57 | | |
| |||
0 commit comments