Skip to content

POC- dev program #137

Open
santy311 wants to merge 11 commits intosanthosh/poc-dev-progfrom
main
Open

POC- dev program #137
santy311 wants to merge 11 commits intosanthosh/poc-dev-progfrom
main

Conversation

@santy311
Copy link
Collaborator

No description provided.

santy311 and others added 11 commits December 19, 2025 06:30
* Adds Program Exec

* Lint

* fix lints and tests

* change runner

* chore: cargo fmt

* test: fix 8-byte alignment in teat buffers

* fix pr comments

* fix pr comments and tests

* fix tests

* fix program exec identity and add session idenity match

* update interface

* update key bytes

* update key bytes

* lint

* fix: workflow step 7 issue

* fix: final workflow fix

* fix: final final CI fix

* fix: keep using 1.84.0 rust toolchain

---------

Co-authored-by: Tracy <31976538+tracy-codes@users.noreply.github.com>
* close swig/token-account

* close with discriminator

* close multiple token accounts

* bump cu +1 in sign performance test

* feat: CloseSwigAuthority specific action

* chore: bump CUs for perf tests with new actions & instructions

---------

Co-authored-by: tracy-codes <31976538+tracy-codes@users.noreply.github.com>
* add ix index

* fix tests

* lint
* docs: update architecture diagrams to reflect v1.4.0 program state

The existing architecture doc was significantly outdated, missing major
features added since its creation. Updated to cover the current program:

- 4 auth schemes (added Secp256r1/Passkey and ProgramExec)
- 21 permission types (was 6), including destination limits, staking,
  program scope, and close authority
- V2 account model with swig_wallet_address PDA as asset holder
- Sub-account system
- Compact instruction wire format
- Post-execution SHA256 integrity verification model
- Workspace crate structure and dependency hierarchy
- Complete instruction set (16 variants)
- Security model details (replay protection, CPI safety, zero-copy)
- Error code ranges

* docs: refresh program diagrams for current v1.4.0 behavior
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants