Skip to content

bleu/pike-sdks

Repository files navigation

Pike SDK Monorepo

⚠️ WARNING: Work in Progress This project is in active development. Features, APIs, and documentation are subject to rapid and significant changes. Production use is not recommended at this stage.

This repository is a monorepo containing packages designed to facilitate integrations with the Pike lending protocol. It provides essential tools, utilities, and example applications for developers looking to build on top of or interact with Pike Markets.

Overview

The Pike Integration Monorepo is structured to provide a comprehensive suite of tools for interacting with Pike lending protocol:

  • Core Utilities: Base calculation engines and contract interfaces
  • API Clients: Type-safe clients for interacting with Pike's indexer
  • EVM integrators: Integration with EVM packages to connect with Pike contracts

Packages

@pike-sdk/utils

The @pike-sdk/utils package serves as the foundation for Pike protocol interactions, providing essential utilities for calculations and smart contract interactions.

Key Features:

  • Health index calculation utilities
  • APY rate computation tools
  • Interest rate model implementations
  • Smart contract ABIs and interfaces
  • Standalone TypeScript implementation
  • Chain-agnostic design

This package is designed to be integrated into any TypeScript environment. For comprehensive documentation, see the package documentation.

@pike-sdk/api-client

Pike API Client (@pike-sdk/api-client) extends @ponder/client to provide specialized functionality for Pike Finance protocols.

Key Features:

  • Type-safe database queries
  • Live updates and subscriptions
  • Comprehensive DeFi metrics calculations
  • Automatic type generation
  • Built-in caching and optimization

For detailed information about the API client, consult the package documentation.

Upcoming Packages

@pike-sdk/api-react-client (Not Started)

React-specific bindings and hooks for the Pike API client. This package will provide React components and hooks for seamless integration with React applications.

@pike-sdk/viem (Not Started)

Custom viem actions and utilities for reading and write information from Pike smart contracts.

@pike-sdk/wagmi (Not Started)

Wagmi hooks and utilities for Pike protocol integration into React frontend.

License

This project is licensed under the MIT License - see the LICENSE file for details.


Built with ♥ by bleu

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published