npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2025 – Pkg Stats / Ryan Hefner

@dutchiono/fey-sdk

v1.5.2

Published

Complete TypeScript SDK for interacting with the FEY Protocol on Base (Ethereum L2)

Downloads

32

Readme

@dutchiono/fey-sdk

Complete TypeScript SDK for interacting with the FEY Protocol on Base (Ethereum L2).

Made by: @ionoi (Farcaster) • @dutchiono (X/Twitter)

What is this?

This is a complete npm package providing TypeScript/JavaScript SDK for interacting with the FEY Protocol smart contracts on Base. It includes:

  • All Contract ABIs: Factory, Token, Hook, Fee Locker, LP Locker, and Pool Extension Allowlist
  • Query Functions: Easy-to-use functions for reading contract state
  • Transaction Builders: Build deployment and admin transactions
  • Event Parsers: Parse blockchain events with full type safety
  • TypeScript Types: Complete type definitions for all data structures

Installation

Install the package from npm:

npm install @dutchiono/fey-sdk

Or with yarn:

yarn add @dutchiono/fey-sdk

Or with pnpm:

pnpm add @dutchiono/fey-sdk

Using as an npm Package

Once installed, import and use the SDK in your project:

import { ethers } from 'ethers';
import {
  getTokenDeploymentInfo,
  getTokenData,
  getPoolInfo,
  parseTokenCreatedEvent,
  FEY_FACTORY_ADDRESS,
} from '@dutchiono/fey-sdk';

The package is published to npm and can be used in any Node.js or browser project that supports ES modules.

Quick Start

import { ethers } from 'ethers';
import {
  getTokenDeploymentInfo,
  getTokenData,
  getPoolInfo,
  getAvailableFees,
  FEY_FACTORY_ADDRESS,
  FEY_HOOK_ADDRESS,
} from '@dutchiono/fey-sdk';

const provider = new ethers.JsonRpcProvider('https://mainnet.base.org');

// Get token deployment info
const deploymentInfo = await getTokenDeploymentInfo(
  provider,
  '0xD09cf0982A32DD6856e12d6BF2F08A822eA5D91D' // FEY token
);

// Get complete token data
const tokenData = await getTokenData(provider, deploymentInfo.token);

// Get pool information
const poolInfo = await getPoolInfo(provider, poolId);

// Check available fees
const fees = await getAvailableFees(
  provider,
  feeOwner,
  tokenAddress
);

Features

  • Factory Contract: Deploy tokens, query deployment info, admin functions
  • Token Contract: ERC20 + metadata + governance functions
  • Hook Contract: Pool queries, fee management, MEV protection
  • Fee Locker: Fee queries and claims
  • LP Locker: Reward queries and collection
  • Pool Extension Allowlist: Extension enablement checks

Documentation

Full documentation available at: https://feydocs.lat/guides/sdk

Contract Addresses

  • Factory: 0x8eef0dc80adf57908bb1be0236c2a72a7e379c2d
  • Hook: 0x5B409184204b86f708d3aeBb3cad3F02835f68cC
  • Fee Locker: 0xf739FC4094F3Df0a1Be08E2925b609F3C3Aa13c6
  • LP Locker: 0x975aF6a738f502935AFE64633Ad3EA2A3eb3e7Fa
  • FEY Token: 0xD09cf0982A32DD6856e12d6BF2F08A822eA5D91D

Contributing

Contributions welcome! This SDK is maintained as part of the FEY Protocol ecosystem.

Links

License

MIT