Commit b3b167c
tilo-14
Add basic-operations examples (Anchor + Native)
Adds comprehensive examples for compressed account operations:
**Structure:**
- basic-operations/anchor/ - Anchor framework examples
- basic-operations/native/ - Native Rust examples
- Both organized as Cargo workspaces
**Programs included:**
- create: Create compressed accounts with derived addresses
- update: Update compressed account data
- close: Close compressed accounts
- reinit: Reinitialize compressed accounts
- burn: Permanently burn compressed accounts
**Features:**
- SHA256 hashing for flat serialization
- light-sdk 0.15.0 compatibility
- Full workspace configuration
- Compiles to deployable .so binaries
- Test files for each operation1 parent d978204 commit b3b167c
55 files changed
Lines changed: 23396 additions & 0 deletions
File tree
- basic-operations
- anchor
- programs
- burn
- src
- tests
- close
- src
- tests
- create
- src
- tests
- reinit
- src
- tests
- update
- src
- tests
- tests
- native
- programs
- burn
- src
- close
- src
- create
- src
- reinit
- src
- update
- src
- tests
- tests
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
0 commit comments