Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/issa-me-sush/cross-chain-asset-transfer
https://github.com/issa-me-sush/cross-chain-asset-transfer
Last synced: 3 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/issa-me-sush/cross-chain-asset-transfer
- Owner: issa-me-sush
- Created: 2024-01-19T13:37:03.000Z (10 months ago)
- Default Branch: main
- Last Pushed: 2024-01-19T14:25:07.000Z (10 months ago)
- Last Synced: 2024-04-22T01:21:02.252Z (7 months ago)
- Language: TypeScript
- Size: 39.1 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- awesome-ora - Cross-chain Asset Transfer - chain asset / token / credit transfer system. (🔮 ZK Oracle Ecosystem / DeFi & DEX & MEV)
README
# zkGraph - cross-chain-asset-transfer
Example implementation of cross chain asset/token/credit transfer system based zkgraph that can be extended to gaming/defi/any asset based cross chain use cases
- **Image ID**: `AB09C4A2ACF2CD430F4E123B021C7A18`
- **IPFS Hash**: `QmfNb6KYX5njY3Kp6BN6cfmr5ptfzx2ZtmSc5hvRtFWUZF`
- **Publish Transaction**: `0x5507b36d0698ee3e8865d51796f7c9ccb21626d830c698cba7ba9cc7084ed1cb`
- **Block Number**: `5114533`
## 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