r4bbit
fdd00c1060
feat(programs): add Associated Token Account program with wallet CLI and tutorial
...
Introduce the ATA program, which derives deterministic per-token holding
accounts from (owner, token_definition) via SHA256, eliminating the need
to manually create and track holding account IDs.
Program (programs/associated_token_account/):
- Create, Transfer, and Burn instructions with PDA-based authorization
- Deterministic address derivation: SHA256(owner || definition) → seed → AccountId
- Idempotent Create (no-op if ATA already exists)
Wallet CLI (`wallet ata`):
- `address` — derive ATA address locally (no network call)
- `create` — initialize an ATA on-chain
- `send` — transfer tokens from owner's ATA to a recipient
- `burn` — burn tokens from owner's ATA
- `list` — query ATAs across multiple token definitions
Usage:
wallet deploy-program artifacts/program_methods/associated_token_account.bin
wallet ata address --owner <ID> --token-definition <DEF_ID>
wallet ata create --owner Public/<ID> --token-definition <DEF_ID>
wallet ata send --from Public/<ID> --token-definition <DEF_ID> --to <RECIPIENT> --amount 100
wallet ata burn --holder Public/<ID> --token-definition <DEF_ID> --amount 50
wallet ata list --owner <ID> --token-definition <DEF1> <DEF2>
Includes tutorial: docs/LEZ testnet v0.1 tutorials/associated-token-accounts.md
2026-03-23 13:58:29 +01:00
Daniil Polyakov
b631ef02c6
fix: final fixes & polishing
2026-03-20 00:47:37 +03:00
Daniil Polyakov
b254ebb185
feat: refactor sequencer RPC client-side
2026-03-20 00:41:05 +03:00
Daniil Polyakov
756f2f4135
feat: add workspace lints to every crate
2026-03-17 15:13:44 +03:00
fryorcraken
e20860ea97
fix: use base58 encoding for program_owner instead of hex
...
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-13 14:04:17 +11:00
fryorcraken
546c3d0986
fix: remove unused bytemuck dep and apply nightly fmt
...
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-13 13:46:20 +11:00
Daniil Polyakov
437e5addb4
feat: use human-readable byte sizes and durations
2026-02-26 16:25:24 +03:00
Daniil Polyakov
8b16318c38
fix: use base58 encoding for account in Explorer & some formatting chores
2026-02-14 00:23:34 +03:00
Daniil Polyakov
9bf3edbaad
chore: remove risc0-zkvm dep from wallet
2026-02-12 16:39:23 +03:00
Daniil Polyakov
975cfb9ec6
feat: fully integrate Sequencer, Indexer and Explorer with Bedrock
2026-02-12 16:31:13 +03:00
jonesmarvin8
68254a835d
fix license for amm and machete issue
2026-02-10 20:54:42 -05:00
jonesmarvin8
0930e4dd86
Merge branch 'main' into marvin/refactor-amm-program
2026-02-10 20:28:13 -05:00
jonesmarvin8
2367bf343b
refactor AMM
2026-01-23 16:30:54 -05:00
Daniil Polyakov
652be426ae
refactor: split token program into crates
2026-01-23 00:53:21 +03:00
Sergio Chouhy
8e131713de
add tokio macros feature to wallet deps
2026-01-12 20:12:37 -03:00
Daniil Polyakov
7296088005
feat: introduce parallel integration tests, wallet without global vars and etc
2025-12-31 04:30:22 +03:00
Pravdyvy
0a1bbb9d21
fix: merge fix
2025-12-22 05:12:48 +02:00
Daniil Polyakov
ddf6e707ec
feat: add cargo machete check to CI
2025-12-19 18:30:40 +03:00
Daniil Polyakov
87f45b8215
feat: move all crates into workspace
2025-12-19 18:30:40 +03:00
Daniil Polyakov
80a188e6a3
feat: remove print spam when running wallet account sync-private
2025-12-09 00:07:10 +03:00
Daniil Polyakov
6b26811229
feat: implement multiple blocks polling
2025-12-04 14:55:45 +03:00
Daniil Polyakov
91c898f19c
refactor: split block polling
2025-12-03 18:30:22 +03:00
Daniil Polyakov
df88d8bad6
feat: compute pinata solution in wallet
2025-12-02 01:21:34 +03:00
Daniil Polyakov
d7331455fc
feat: add list account subcommand
2025-11-27 04:22:49 +03:00
Oleksandr Pravdyvyi
4e36ae4679
fix; first refactor
2025-10-23 17:33:25 +03:00
Sergio Chouhy
f3fbae66b5
fmt
2025-10-16 16:20:29 -03:00
Sergio Chouhy
4bb8bc94ff
Merge branch 'main' into schouhy/wallet-minor-improvements
2025-10-06 16:08:06 -03:00
Pravdyvy
468b669c14
Merge branch 'main' into Pravdyvy/serde-json-removal-from-db
2025-10-06 11:43:03 +03:00
Sergio Chouhy
9141fbf06c
use random nonces for private accounts in wallet
2025-10-03 01:30:40 -03:00
Oleksandr Pravdyvyi
c58ef27224
feat: first db update
2025-09-25 11:53:42 +03:00
Oleksandr Pravdyvyi
f1de182ec6
fix: tests fix
2025-09-17 13:57:31 +03:00
Oleksandr Pravdyvyi
9336a6c130
Merge branch 'Pravdyvy/key-protocol-update-private' into Pravdyvy/wallet-privacy-preserving-transactions
2025-09-17 09:04:43 +03:00
Sergio Chouhy
d796d7baf1
add get-account wallet command. Small refactor
2025-09-15 18:13:08 -03:00
Oleksandr Pravdyvyi
eb9c45bbb7
feat: private token transfer
2025-09-12 16:00:57 +03:00
Oleksandr Pravdyvyi
00c76df04b
Merge branch 'main' into Pravdyvy/accounts-dump-fetch
2025-09-04 15:14:28 +03:00
Oleksandr Pravdyvyi
7052bccfbc
fix: try edition 2024
2025-09-04 14:38:41 +03:00
Sergio Chouhy
4f9ee9f19f
remove unused dependencies
2025-09-02 16:29:56 -03:00
Oleksandr Pravdyvyi
4363a16a62
Merge branch 'Pravdyvy/key-protocol-update-public-part' into Pravdyvy/accounts-dump-fetch
2025-09-02 08:25:00 +03:00
Oleksandr Pravdyvyi
9993590d45
fix: comments fix 2
2025-09-02 07:32:39 +03:00
Oleksandr Pravdyvyi
fedf63b759
fix: risk0 bump
2025-08-22 16:36:38 +03:00
Oleksandr Pravdyvyi
914cbfb9dc
fix: complete cli intefaces
2025-08-21 15:58:31 +03:00
Oleksandr Pravdyvyi
80620b6aac
fix: wallet fix
2025-08-19 14:14:09 +03:00
Oleksandr Pravdyvyi
35b636a27d
fix: clearing and renaming
2025-08-15 14:27:36 +03:00
Oleksandr Pravdyvyi
74f0c983d3
fix: comments fix
2025-08-14 14:03:48 +03:00
Oleksandr Pravdyvyi
e589ddae5a
fix: test fix 2
2025-08-13 16:17:52 +03:00
Sergio Chouhy
20a7dad9a0
Merge branch 'Pravdyvy/node-wallet-rewrite' into schouhy/implement-nssa-v0.1-public-state-tmp
2025-08-09 18:00:58 -03:00
Oleksandr Pravdyvyi
17b6851d00
fix: cleanup
2025-08-07 14:07:34 +03:00