samkim-crypto
|
2d58bb287d
|
[zk-token-sdk] Add option to create proof context state in the proof verification program (#29996)
* extend verifiable trait
* add PodBool
* implement ZkProofData trait
* add proof context program to zk-token-proof program
* update tests for close account
* add close account instruction
* reorganize tests
* complete tests
* clean up and add docs
* clean up pod
* add proof program state
* update tests
* move proof program tests as separate module
* clippy
* cargo sort
* cargo fmt
* re-organize visibility
* add context state description
* update maintainer reference
* change `VerifyProofData` and `ProofContextState` to pod
* add tests for mixing proof types
* add tests for self owned context state accounts
* cargo fmt
* remove unnecessary scoping and add comments on scopes
* re-organize proof instructions
* clippy
* update zk-token-proof-test to 1.16.0
* upgrade spl-token-2022 to 0.6.1
* reoganize proof type
* cargo lock
* remove ZkProofContext trait
|
2023-03-16 07:35:20 +09:00 |
samkim-crypto
|
bc927097ce
|
[zk-token-sdk] add pubkey proof (#28392)
* add pubkey proof
* add pubkey sigma proof
* add docs for the sigma proof functions
* add pod public key sigma proof
* add public-key validity proof instruction
* add public-key validity proof instruction
* add VerifyPubkeyValidity instruction
* cargo fmt
|
2022-10-14 20:15:20 +09:00 |
Michael Vines
|
f3639b76ce
|
Remove some clippy lints
|
2022-06-22 09:23:22 -07:00 |
Michael Vines
|
b05c7d91ed
|
Fix derive_partial_eq_without_eq clippy lint
|
2022-05-22 22:22:21 -07:00 |
samkim-crypto
|
ba92ba0e06
|
Zk instructions check length (#24103)
* zk-token-sdk: add a length check before decoding proof instruction
* zk-token-sdk: fix minor spelling
* zk-token-sdk: one-liner for length check
* zk-token-sdk: one-liner fix
|
2022-04-05 08:40:45 -04:00 |
samkim-crypto
|
b4100a9b5d
|
Add additional zkp for fee (#23112)
* zk-token-sdk: add equality proof for fee
* zk-token-sdk: tweak some naming conventions for readability
* zk-token-sdk: add verify withdraw withheld instruction
* zk-token-sdk: add test for withdraw withheld verification
* zk-token-sdk: more renaming of variables for readability
* zk-token-sdk: cargo fmt
* zk-token-sdk: minor
* zk-token-sdk: resolve bpf compilation warnings
* zk-token-sdk: minor update to doc
|
2022-02-17 12:45:07 -05:00 |
samkim-crypto
|
a47b76afcc
|
zk-token-sdk: add verify transfer with fee instruction (#22924)
|
2022-02-04 08:52:49 -05:00 |
Michael Vines
|
31737406da
|
Adapt to changes to native program entrypoint
|
2022-01-05 08:51:18 -08:00 |
Michael Vines
|
aba8c2f4af
|
reformat imports
|
2022-01-05 08:51:18 -08:00 |
Sam Kim
|
77e79221a0
|
remove `UpdateAccountPk` instruction
|
2022-01-05 08:51:18 -08:00 |
Michael Vines
|
a8ab615c89
|
Add inner instruction utility functions
|
2022-01-05 08:51:18 -08:00 |
Michael Vines
|
17cda46531
|
Merge transfer instructions
|
2022-01-05 08:51:18 -08:00 |
Michael Vines
|
d01d425e4b
|
Rename crypto crate to sdk
|
2022-01-05 08:51:18 -08:00 |
Michael Vines
|
7da620f0b4
|
Merge sdk/ back into crypto/
|
2022-01-05 08:51:18 -08:00 |
Michael Vines
|
ae5d254e73
|
Move solana-specific parts of crypto/ into sdk/
|
2022-01-05 08:51:18 -08:00 |