89 Commits

Author SHA1 Message Date
jonesmarvin8
eb05957182 ci fixes 2026-05-04 10:03:44 -04:00
jonesmarvin8
574ae746d4 expanded support 2026-05-01 19:35:57 -04:00
jonesmarvin8
a8156b579c adding support to other programs 2026-05-01 02:44:36 -04:00
jonesmarvin8
8d398646ca Merge branch 'marvin/keycard-commands' into marvin/keycard-privacy-commands 2026-04-30 21:04:22 -04:00
jonesmarvin8
1d77446baa fixes from merging main 2026-04-30 20:58:28 -04:00
jonesmarvin8
143c697c4e Merge branch 'marvin/refactor-wallet-pub-acc' into marvin/keycard-commands 2026-04-30 19:05:18 -04:00
jonesmarvin8
5d035d9f8f comment fixes 2026-04-30 19:02:33 -04:00
jonesmarvin8
a4692fc735 Merge branch 'main' into marvin/refactor-wallet-pub-acc 2026-04-30 14:22:43 -04:00
jonesmarvin8
5b159e2668 addressed comments 2026-04-30 11:28:32 -04:00
jonesmarvin8
ab65c4be86 privacy command fixes 2026-04-29 07:52:15 -04:00
jonesmarvin8
20d3c081ae Merge branch 'marvin/keycard-commands' into marvin/keycard-privacy-commands 2026-04-28 21:34:17 -04:00
jonesmarvin8
8312bf6c2a update artifacts 2026-04-28 21:33:12 -04:00
jonesmarvin8
6261c80773 Merge branch 'marvin/keycard-commands' into marvin/keycard-privacy-commands 2026-04-28 20:49:07 -04:00
jonesmarvin8
d22a884b5e Update public.rs 2026-04-28 20:48:02 -04:00
jonesmarvin8
01cc7e24b6 fixed integration tests 2026-04-28 20:45:43 -04:00
jonesmarvin8
d031b10e45 Merge branch 'marvin/keycard-commands' into marvin/keycard-privacy-commands 2026-04-28 18:11:47 -04:00
jonesmarvin8
269a1df390 fixed from earlier merge 2026-04-28 16:32:42 -04:00
jonesmarvin8
dd78314ca0 Merge branch 'marvin/refactor-wallet-pub-acc' into marvin/keycard-commands 2026-04-28 14:17:15 -04:00
jonesmarvin8
27905d94d6 addressed more comments 2026-04-28 14:13:04 -04:00
jonesmarvin8
b12222641b initialize branch 2026-04-27 20:16:39 -04:00
jonesmarvin8
e5eae57a5f fix ci 2026-04-27 20:12:57 -04:00
jonesmarvin8
016d063329 CI fixes 2026-04-27 18:47:02 -04:00
jonesmarvin8
2926c808d3 Removed privacy txs for keycard 2026-04-27 16:37:21 -04:00
jonesmarvin8
8386d3ab17 fixes 2026-04-26 22:50:16 -04:00
jonesmarvin8
24f6f1f8ca fixes 2026-04-26 21:29:54 -04:00
jonesmarvin8
5bcf1a253b Revert "fixes"
This reverts commit 41f34f4ff4145b7abb60fd9bec168ae4b60f23b4.
2026-04-26 21:28:11 -04:00
jonesmarvin8
41f34f4ff4 fixes 2026-04-26 20:27:22 -04:00
jonesmarvin8
7b4f973f96 refactor and add pin support to program facades 2026-04-24 22:10:04 -04:00
jonesmarvin8
fac4e86e40 Updates for signatures with keycard 2026-04-23 17:45:43 -04:00
jonesmarvin8
0390977acf reorganization 2026-04-21 13:40:15 -04:00
Sergio Chouhy
4ab8696d85 update facades to receive identifiers 2026-04-15 17:21:16 -03:00
Sergio Chouhy
8fd25bc4bf add identifier to PrivacyPreservingAccount to allow passing different identifiers 2026-04-15 16:51:20 -03:00
Andrea Franz
7d75eb2d59 chore(programs/amm): rename Swap to SwapExactInput 2026-04-02 16:10:12 +02:00
Andrea Franz
9a6ec0018b feat(programs/amm): add swap exact output functionality 2026-04-02 16:10:12 +02:00
Daniil Polyakov
6780f1c9a4 feat: protect from public pda griefing attacks 2026-03-28 01:23:57 +03:00
r4bbit
0ed91e869e 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-26 13:19:29 +01:00
Daniil Polyakov
7b20a83379 fix: fixes after rebase & address comments 2026-03-20 00:48:04 +03:00
Daniil Polyakov
9d87e3b046 fix: fix lints 2026-03-20 00:41:05 +03:00
Daniil Polyakov
b254ebb185 feat: refactor sequencer RPC client-side 2026-03-20 00:41:05 +03:00
jonesmarvin8
0bcb626adc lint fixes 2026-03-18 10:28:52 -04:00
jonesmarvin8
ba8fdf4f29 fix conflicts from merging main 2026-03-17 19:16:09 -04:00
jonesmarvin8
8dd5037e28 Merge branch 'main' into marvin/nonce 2026-03-17 16:45:08 -04:00
Daniil Polyakov
d79ac3f9a8 fix: formatting 2026-03-17 21:25:30 +03:00
Daniil Polyakov
252848a145 feat: update rust to 1.94.0 2026-03-17 21:25:30 +03:00
Daniil Polyakov
e3b93b6e9a feat: add restriction clippy lints 2026-03-17 21:25:30 +03:00
jonesmarvin8
d863b763d1 Merge branch 'main' into marvin/nonce 2026-03-02 10:49:07 -05:00
danielSanchezQ
78233308cc Include pinata en ffi 2026-02-20 11:20:30 +00:00
jonesmarvin8
fa6a99192e Merge branch 'main' into marvin/nonce 2026-02-17 18:26:48 -05:00
jonesmarvin8
a821f04fb8 Merge branch 'main' into marvin/nonce 2026-02-16 19:56:44 -05:00
jonesmarvin8
f8dfcac17a Merge branch 'main' into marvin/private_keys 2026-02-16 19:55:09 -05:00