https://github.com/mizukisonoko/wise
cli tool for ENS like whois command
https://github.com/mizukisonoko/wise
cli ens ethereum
Last synced: 8 months ago
JSON representation
cli tool for ENS like whois command
- Host: GitHub
- URL: https://github.com/mizukisonoko/wise
- Owner: MizukiSonoko
- Created: 2021-07-03T09:29:36.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2021-07-06T16:27:07.000Z (over 4 years ago)
- Last Synced: 2025-01-15T06:53:10.359Z (about 1 year ago)
- Topics: cli, ens, ethereum
- Language: Rust
- Homepage:
- Size: 229 KB
- Stars: 4
- Watchers: 4
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README

# Wise (WhoIS of ENS)
[](https://crates.io/crates/wise)
Whois command for ENS.


https://user-images.githubusercontent.com/6281583/124363506-917be680-dc76-11eb-8e14-7e4160be83ea.mov
```
$ wise mizuki.eth
owner: 0xdb10e4a083b87e803594c12c679422dce5fcccb9
resolver: 0x4976fb03c32e5b8cfe2b6ccb31c09ba78ebaba41
-------
content_hash: Not set
-------
vnd.twitter : mizuki_sonoko
vnd.github : MizukiSonoko
url : https://mizuki.io
```
## How to use
1) Add provider url to environment variables
```sh
export WEB3_PROVIDER=https://mainnet.infura.io/v3/****
```
2) Install
```
cargo install wise
```
## How to make contract abi files
```
git clone https://github.com/ensdomains/ens-contracts
cd ens-contracts/
yarn
yarn build
cat artifacts/contracts/registry/ENS.sol/ENS.json | jq .abi > ENS.abi
cat artifacts/contracts/resolvers/PublicResolver.sol/PublicResolver.json | jq .abi > PublicResolver.abi
mv ENS.abi PublicResolver.abi ../contracts
```