Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up

🐺 Simple STARK verifier in cameligo

License

NotificationsYou must be signed in to change notification settings

m-kus/tz-starks

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This is a PoC implementation of a STARK verifier for the Fibonacci-Square sequence calculation proof.
The original proved statement and prover code taken from theSTARK101 repository by StarkWare.

Implementation notes

  • A flat list of byte strings is used for the channel queue (it might be beneficial to use structured data)
  • Merkle proofs are serialized in the reversed order (to simplify verification)
  • Channel state is initialized with an empty byte string0x (a hash of some public input should be used)
  • Single random query is sampled (should be multiple)
  • Some values that do not depend on the channel state are pre-calculated and hardcoded in the contract code

Deployment

The verifier contract is deployed inGhostnet:

  • Allocated storage: 3663 bytes (~1 tez)
  • Verifier gas consumption (single query): 4256 (~0.01 tez)

Videos


[8]ページ先頭

©2009-2025 Movatter.jp