JSPM

  • Created
  • Published
  • Downloads 2504
  • Score
    100M100P100Q188810F
  • License ISC

Everstake Wallet SDK for Javascript

Package Exports

  • @everstake/wallet-sdk
  • @everstake/wallet-sdk/index.js

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@everstake/wallet-sdk) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

Everstake Wallet SDK

Getting Started

You can use two different options to implement staking for Everstake validator.

Option 1: REST API

You can use REST API to call methods which are described in Swagger with detailed examples

https://wallet-sdk-api.everstake.one

Option 2: JavaScript library

You can install and import Wallet SDK for Javascript.

Step. 1: Installing the Library

Install the npm library by copying the code below.

$ npm install @everstake/wallet-sdk

or you can also use yarn

$ yarn add @everstake/wallet-sdk

Step. 2: Import Wallet SDK

After installing the app, you can import module of needed blockchain (Ethereum, Aptos, Solana, Cosmos, Polygon are available) and use the SDK:

Import ES6

// import module
import { Solana } from '@everstake/wallet-sdk';
// or you can also use
import * as Solana from '@everstake/wallet-sdk/solana';
// import needed function
import { getDelegations } from '@everstake/wallet-sdk/solana';

Import ES5

// import module
const { Solana } = require("@everstake/wallet-sdk");
// or you can also use
const { getDelegations } = require("@everstake/wallet-sdk/solana");

Questions and Feedback

If you have any questions, issues, or feedback, please file an issue on GitHub.