Atlantic & Provable ETH Call
Installation
Install HDP using the official installation script:
curl -fsSL https://raw.githubusercontent.com/HerodotusDev/hdp-cairo/main/install-cli.sh | bash
Setup
Navigate to the HDP directory:
cd $(hdp pwd)
Create a .env file:
cat > .env << 'EOF' RPC_URL_ETHEREUM_MAINNET=<your rpc provider> RPC_URL_ETHEREUM_TESTNET=<your rpc provider> RPC_URL_HERODOTUS_INDEXER=https://rs-indexer.api.herodotus.cloud/ EOF
Running the Example
-
Explore the example code:
code ./examples/eth_call -
Execute the ETH call example:
./examples/eth_call/run.sh -
Prove and verify
Get your API key at herodotus.cloud
./examples/eth_call/prove_and_verify.sh <api-key>