SDK

Overview

Typescript SDK to interact with Memez.gg contracts.

Installation

The sdk is available on the NPM registry.

npm i @interest-protocol/memez-fun-sdk

SDK

How to setup the SDK.

import { MemezPumpSDK } from '@interest-protocol/memez-fun-sdk';

/**
* Initiates the MemezPump SDK.
*
* @param args - An object containing the necessary arguments to initialize the SDK.
* @param args.fullNodeUrl - The full node URL to use for the SDK.
* @param args.packages - The package addresses to use for the SDK.
* @param args.sharedObjects - A record of shared objects to use for the SDK.
* @param args.network - The network to use for the SDK. Either `mainnet` or `testnet`.
*/
const memezPumpSdk = new MemezPumpSDK();

Last updated

Was this helpful?