@vibefi/core
TypeScript icon, indicating that this package has built-in type declarations

0.1.1 • Public • Published

VibeFi Core SDK

NPM NPM Downloads

Install

npm install @vibefi/core --save

If you're using yarn:

yarn add @vibefi/core

If you're using pnpm:

pnpm add @vibefi/core

Use

Import

import Vibefi from "@vibefi/core";

Initiate

const client = new Vibefi({
  apiKey: "YOUR_API_KEY_HERE",
});

Usage

You can use the sdk to do multiple stuff. You will need to connect your wallet before this.

Create a new Quest

New Quest means a new smart contract will get deployed with some custom values.

Join a Quest

Join an existing quest. This would return a unique url which would act as a referral link for you. You can share this url on your social media to attract more audience to your audience. More followers you've, more you can earn.

Join a Quest via Referral

If you are joining the quest via a referral, you're bound to get some additional benefits as well as the person whose referral you've used. Some quests will only have join via referral option available, so this might be the most common way to join a quest. The above rules still applies and you'll get your own referral link as well to share forward. You'll also get any reward associated with the referral.

😁

Readme

Keywords

none

Package Sidebar

Install

npm i @vibefi/core

Weekly Downloads

5

Version

0.1.1

License

GPL-3.0-or-later

Unpacked Size

44.7 kB

Total Files

12

Last publish

Collaborators

  • anistark