Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/Thirumurugan7/Proof-Of-Whale
This is Proof of Whale using HyperOracle ZKGraph
https://github.com/Thirumurugan7/Proof-Of-Whale
Last synced: 2 months ago
JSON representation
This is Proof of Whale using HyperOracle ZKGraph
- Host: GitHub
- URL: https://github.com/Thirumurugan7/Proof-Of-Whale
- Owner: Thirumurugan7
- Created: 2024-01-13T10:18:37.000Z (almost 1 year ago)
- Default Branch: main
- Last Pushed: 2024-01-15T06:25:01.000Z (12 months ago)
- Last Synced: 2024-08-02T13:29:42.975Z (5 months ago)
- Language: TypeScript
- Size: 48.8 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- awesome-ora - Proof of Whale
README
# zkGraph for Proof of Whale
Powered by zkGraph, it checks for a special "isWhale" event in a block, and if found, returns a clear yes or no. This helps you verify if a wallet is a big player even if your funds or assets are compromised, as the whale status is confirmed by the address that initiated the event, not the recipient. It's a quick and secure way to check whale status on the blockchain!
## Published Tx Hash
`0xceb0032c5edbf034b7d793b12ff8c5230d8bc778e07fa272e0930123c6277779`
## Usage CLI> Note: Only `full` image will be processed by zkOracle node. `local` (generated by commands ending with `--local` option) means the zkGraph is compiled locally and only contains partial computation (so that proving and executing will be faster).
The workflow of local zkGraph development must follow: `Develop` (code in /src) -> `Compile` (get compiled wasm image) -> `Execute` (get expected output) -> `Prove` (generate input and pre-test for actual proving in zkOracle) -> `Verify` (verify proof on-chain).
To upload and publish your zkGraph, you should `Upload` (upload code to IPFS), and then `Publish` (register zkGraph on onchain zkGraph Registry).
## Commonly used commands
- **compile**: `npx zkgraph compile`
- **exec**: `npx zkgraph exec `
- **prove**: ` npx zkgraph prove -i|-t|-p`
- ……Read more: https://github.com/hyperoracle/zkgraph-cli#cli