Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 12 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -146,3 +146,15 @@ $ forge --help
$ anvil --help
$ cast --help
```
### CLI Resolution Example

You can resolve a Basename directly from the CLI using [Foundry](https://getfoundry.sh/).

**Resolve a Name to an Address (Base Mainnet):**

```bash
# Query the L2 Resolver for 'jesse.base.eth'
cast call 0xC6d566A56A1aFf6508b41f6c90ff131615583BCD \
"addr(bytes32)(address)" \
$(cast namehash "jesse.base.eth") \
--rpc-url [https://mainnet.base.org](https://mainnet.base.org)