Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

solana: add witnessed-trie #362

Merged
merged 15 commits into from
Aug 19, 2024
Merged

solana: add witnessed-trie #362

merged 15 commits into from
Aug 19, 2024

Conversation

mina86
Copy link
Collaborator

@mina86 mina86 commented Aug 9, 2024

Introduce a simple smart contract which maintains a sealable trie
while keeping the trie’s root hash in a witness account. Thanks to
account delta hashes, the value of the witness account can be proven
from Solana bank hash¹ which can then be used to generate state
proofs.

See https://research.composable.finance/t/state-proofs-on-solana/332
for more detailed description.

@mina86 mina86 requested review from vmarkushin and dhruvja August 9, 2024 03:16
@mina86 mina86 changed the title Add witnessed-trie solana: add witnessed-trie Aug 9, 2024
solana/witnessed-trie-cli/src/args.rs Show resolved Hide resolved
solana/witnessed-trie-cli/src/args.rs Outdated Show resolved Hide resolved
solana/witnessed-trie-cli/src/args.rs Outdated Show resolved Hide resolved
solana/witnessed-trie-cli/src/main.rs Outdated Show resolved Hide resolved
solana/witnessed-trie/src/accounts.rs Show resolved Hide resolved
@mina86 mina86 enabled auto-merge (squash) August 19, 2024 00:26
@mina86 mina86 disabled auto-merge August 19, 2024 00:43
@mina86 mina86 merged commit 2de6216 into master Aug 19, 2024
4 checks passed
@mina86 mina86 deleted the mpn/c branch August 19, 2024 02:27
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.

2 participants