https://github.com/bokkypoobah/onlyfens
Only for ENS. A portfolio management and search tool for ENS names
https://github.com/bokkypoobah/onlyfens
ens erc-1155 erc-721 ethereum ethereum-name-service name-service portfolio-manager search wrapped
Last synced: 8 months ago
JSON representation
Only for ENS. A portfolio management and search tool for ENS names
- Host: GitHub
- URL: https://github.com/bokkypoobah/onlyfens
- Owner: bokkypoobah
- License: mit
- Created: 2024-06-12T05:05:03.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2024-07-02T02:39:29.000Z (almost 2 years ago)
- Last Synced: 2025-01-13T19:32:01.203Z (over 1 year ago)
- Topics: ens, erc-1155, erc-721, ethereum, ethereum-name-service, name-service, portfolio-manager, search, wrapped
- Homepage: https://bokkypoobah.github.io/onlyfens/
- Size: 47.5 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README

# Only for ENS
https://bokkypoobah.github.io/onlyfens/
**WIP** - If this dapp is not working as expected, please clear your LocalStorage and IndexedDB entries for this dapp and try again.
Notes:
* Jun 25 2024 - Infura seems to have changed their event log scraping server's responses so that errors are returned when there are more than a few hundred events in the `getLog()` calls. This limit used to be 10k.
* Jun 25 2024 - Infura now returning results with 10k max as normal.
* Only .eth names are supported in this dapp
## Algorithm - Addresses and Names
* Enter one or more of your Ethereum addresses
* Scrape all ERC-721 and ERC-1155 transfer events to and from your list of addresses
* Scrape all ERC-721 ENS `NameRegistered` and `NameRenewed` events for all the tokenIds of your transferred ERC-721 events
* Scrape all ERC-1155 ENS `NameWrapped` events for all the tokenIds of your transferred ERC-1155 events
* Scrape last, listing and best offer prices from the Reservoir API for each of the ERC-721 and ERC-1155 ENS tokenIds
* Scrape the block timestamps for each event above
* Merge all the data together
## Algorithm - Search (WIP)
* Retrieve all ERC-721 ENS `NameRegistered` and `NameRenewed` and ERC-1155 ENS `NameWrapped` events
* Retrieving 4.3 million events takes ~ 40 minutes @ Jun 23 2024
* Collating 4.3 million events takes ~ 4 minutes @ Jun 23 2024
* Use information above for initial search query results
* Retrieve transfers and prices for search query results when requested
## Screenshots
### Addresses - Empty

Click on the [+] button to add a new address.
### Add New Address

Add the new address.
### Addresses - Single Address

Click on the [sync] button.
### Sync Options

Click on the [Do It] button.
### Sync Progress

This will take a few minutes.
### ENS Names - List View

### ENS Names - Icon View

### View Names

### Search - Registration And Renewal Event Retrieval
Note: Retrieving 4.3 million events takes ~ 40 minutes @ Jun 23 2024

### Search - Collation In Progress
Note: Collating 4.3 million events takes ~ 4 minutes @ Jun 23 2024

### Search

### Search - With Details
Click on the [Cloud-Download] icon to retrieve ownership, metadata and price details from the Reservoir API

## ./scripts/01_scrapeData.js
Execute `node 01_scrapeData.js` to in the [./scripts/](./scripts/) folder to create [./scripts/labels.json](./scripts/labels.json)
Execution processing:

Execution output:

Note: Tested loading labels.json in the web browser and it took too long to load, so not using this at the moment.
Enjoy!
onlyfens.eth, Only for ENS © Bok Consulting Pty Ltd 2024, MIT license