Skip to content

Commit

Permalink
Address PR comments
Browse files Browse the repository at this point in the history
  • Loading branch information
ytham committed Apr 30, 2024
1 parent 62cd59f commit 9780812
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions .env.example
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
# Make a copy of this file and rename to `.env`

# Your provider URI (starting with 'https://...' from Alchemy, Quicknode, Infura, etc)
# **IMPORTANT:** replace `11155111` with your desired chainID if not using Eth Sepolia
# **IMPORTANT:** replace `11155111` with your desired chain ID if not using Sepolia testnet
PROVIDER_URI_11155111=""
ETHERSCAN_API_KEY=""

# (Optional) Private key for sending a transaction to the AxiomV2Query contract if
# you want to actually send the Query on-chain.
# **IMPORTANT:** replace `11155111` with your desired chainID if not using Eth Sepolia
# **IMPORTANT:** replace `11155111` with your desired chain ID if not using Sepolia testnet
PRIVATE_KEY_11155111=<optional>
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,11 +29,11 @@ To run Foundry tests that simulate the Axiom integration flow, run
forge test -vvvv
```

## Send a Query on-chain
## Send a query on-chain

> **IMPORTANT**: Please update the chain ID in the environment variable name to the chain ID that you are running on, if not 11155111 (Eth Sepolia).
> **IMPORTANT**: Please update the chain ID in the environment variable name to the chain ID that you are running on, if not 11155111 (Sepolia testnet).
To send a Query on Sepolia testnet (requires `PRIVATE_KEY_11155111` in `.env` file), run
To send a query on Sepolia testnet (requires `PRIVATE_KEY_11155111` in `.env` file), run

```bash
npx tsx app/index.ts
Expand Down

0 comments on commit 9780812

Please sign in to comment.