@fuseio/earn-sdk
v1.0.10-alpha.0
Published
Earn SDK is a client and server SDK for building applications that can interact with various earning functionality on the Fuse network.
Downloads
41
Readme
Earn SDK
Earn SDK is a client and server SDK for building applications that can interact with various earning functionality on the Fuse network.
Table of Contents
Getting Started
The steps needed to get started with the Earn SDK with a few examples are provided below.
Requirements
- Node.js 12+
Installation
Earn is available as a package on NPM and it can be installed using either npm or yarn package managers.
npm install -S @fuseio/earn-sdkor
yarn add @fuseio/earn-sdkClasses
The Earn sdk exposes SingleRewardProgram and MultiRewardProgram classes which can be used to interact with the single and multi reward programs.
Development
The steps needed to get started started developing the SDK are provided below
Dependencies
To get set up run the command below to install SDK dependencies:
npm installor
yarnLint
To run the linter run:
npm run lintor
yarn lint