⚒️Common SDK Interfaces

This section provides a comprehensive overview of the standard interfaces and utility functions that are used across various protocols and networks. The Common SDK Interfaces include token interfaces that define the properties and behaviors of tokens, network interfaces that enable communication with different blockchain networks, and a set of convenient utility functions that simplify common tasks. Whether you are building a dApp or integrating with a protocol, these interfaces and utilities can help streamline your development process and make it easier to work with different networks and tokens.

Prerequisites

  • Node.js v16 or later

  • npm or yarn

Installing the package

To install the @protocolink/common package, run the following command:

npm install @protocolink/common

or

yarn add @protocolink/common

This will add the package to your project and save it to your package.json file.

Importing the package

To use the SDK in your project, import it as follows:

import * as common from '@protocolink/common';

That's it! You can now start using the SDK in your project.

Last updated