motokultivator v0.0.58
Frenfi SDK's
The latest version of the SDK is used in production in the Frenfi Interface.
Tutorial: How to Use the Frenfi SDK
To get started with the Frenfi SDK, follow these steps:
1. Installation
First, install the Frenfi SDK via npm:
npm install frenfi-sdk
2. Import the SDK
Import the SDK into your project:
const { FrenFiSDK } = require('frenfi-sdk');
3. Instantiate the SDK
Create an instance of the Frenfi SDK by calling the create
function. Signer is wallet
instantiated with ethers v6 library:
const frenfi = await FrenFiSDK.create('dev', signer);
4. Create a Post
Once you have an instance of FrenFiSDK
, you can create a post. Use the createPost
method with the appropriate arguments:
const post = await frenfi.createPost(file: File, name: string, symbol: string, description: string);
That's it! You have successfully created a post using the Frenfi SDK.
5 months ago
5 months ago
5 months ago
5 months ago
5 months ago
5 months ago
5 months ago
5 months ago
5 months ago
5 months ago
5 months ago
5 months ago
5 months ago
6 months ago
6 months ago
6 months ago
6 months ago
6 months ago
6 months ago
6 months ago
6 months ago
6 months ago
6 months ago
6 months ago
6 months ago
6 months ago
6 months ago
6 months ago
6 months ago
6 months ago
6 months ago
6 months ago
6 months ago
6 months ago
6 months ago
6 months ago
6 months ago
6 months ago
6 months ago
6 months ago
6 months ago
6 months ago
6 months ago
6 months ago
6 months ago
6 months ago
6 months ago
6 months ago
6 months ago
6 months ago
6 months ago
6 months ago
6 months ago
6 months ago
7 months ago
7 months ago
7 months ago
7 months ago