You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Mar 3, 2024. It is now read-only.
import{defineConfig}from'@hyperoracle/zkgraph-cli'exportdefaultdefineConfig({// Update your Etherum JSON RPC provider URL here.// It is recommended to use providers that support debug_getRawReceipts RPC method.JsonRpcProviderUrl: {mainnet: "xxx",// Optionalsepolia: "xxx",// Optionalgoerli: "xxx"// Optional},// Update your private key here to sign zkwasm messages.// Please note that (during testnet phrase) your address balance (in zkwasm server) should > 0;UserPrivateKey: "0x0",ZkwasmProviderUrl: "xxx",CompilerServerEndpoint: "xxx",PinataEndpoint: "xxx",PinataJWT: "xxx.xxx.xxx",WasmBinPath: "build/zkgraph_full.wasm",LocalWasmBinPath: "build/zkgraph_local.wasm",})
3. Plugin
Handle operations that we have not provided but users want to handle.
import{defineConfig}from'@hyperoracle/zkgraph-cli'functioncreateExamplePlugin(unknownArgs){// do someting}exportdefaultdefineConfig({plugins: [createExamplePlugin()]})
4. Other command
zkgraph compile
zkgraph depoly
zkgraph publish <ipfs hash># more ...
Additional context
Add any other context or screenshots about the feature request here.
The text was updated successfully, but these errors were encountered:
Is your feature request related to a problem? Please describe.
Describe the solution you'd like
Extract API functionality, transform to CLI.
I believe that users do not need to pay excessive attention to the code of the API.
Describe alternatives you've considered
1. Create initialize template
Project folder
2. Config payload.
We can use
zkgraph.config.js
expose config.3. Plugin
Handle operations that we have not provided but users want to handle.
4. Other command
Additional context
Add any other context or screenshots about the feature request here.
The text was updated successfully, but these errors were encountered: