This repository is for PoC of Lorem ipsum cli.It is intended to be used by applications & developers (dApps) who wish to use data in trust-less manner from one cluster (ex MINA) into another (ex ETH). It provides a set of utilities & scripts to compile circuits, serialize inputs and validate proofs on blockchain VMs. Users are recommended to check the proof market toolchain to outsource proof generation.
- python >= 3.7
git clone git@github.com:NilFoundation/lorem-ipsum-cli.git
cd lorem-ipsum-cli
pip install -r requirements.txt
Mina's ledger state can be retrieved as follows:
python3 scripts/protocol/mina/get_mina_state.py ledger --url=<rpc_endpoint> --output=<file_location>
Parameters:
- url (optional) : GraphQL endpoint of the node
- output (optional) : Location to store the state
ex:
python3 scripts/protocol/mina/get_mina_state.py ledger
Account state in MINA (user account or zkApp state) can be retrieved as follows:
python scripts/protocol/mina/get_mina_state.py account --url=<rpc_endpoint> --address=<user/zkapp public key> --output=<file_location>
- address (req) : Public key of MINA zkApp or user.
- url (optional): GraphQL endpoint of the node
- output (optional): Location to store the state
ex:
python3 scripts/protocol/mina/get_mina_state.py account --address B62qqDDQbUCSnmneB2HCefKVAqJuuoy7AcKHy8tLUvnP9cZww8AFCMS
Documentation portal for proof market is located here. Users are encouraged to check zkLLVM project which is tightly coupled to the proof market.
Additional support can be obtained by contacting the team at Telegram and Discord.