This script will run over OpenSea's API to retrieve all assets from the contract, splitting 50 assets per request. Once all the assets are retrieved, we'll use the _.countBy
function of lodash to write a file with all the holder addresses and their assets count.
Copy and rename .env.example
to .env
and put your environment variables.
yarn install
node .
MIT