Skip to content

cawfree/log-in-as-a-lobster

Repository files navigation

lobsterdao

🦞 log-in-as-a-lobster 🦞

A TypeScript implementation of Log In as a Lobster, which can be used to verify if a given wallet address is the holder of an asset from the lobsterdao collection.

🚀 Getting Started

yarn add log-in-as-a-lobster
import {checkAddressIsLobster} from 'log-in-as-a-lobster';

(async () => {
  const isUserALobster = !!(await checkAddressIsLobster({
    address: '0x13880821e1d2453E77bccE113700765C65A0dF90',
  }));
  if (isUserALobster) {
    // wagmi
    return;
  }
  //ngmi
})();

✌️ License

MIT