Skip to content

madfish-solutions/everstake-wallet-sdk

 
 

Repository files navigation

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: TypeScript library

You can install and import Wallet SDK for Javascript/TypeScript.

Step. 1: Installing the Library

Install the npm library by copying the code below.

$ npm install @temple-wallet/everstake-wallet-sdk

or you can also use yarn

$ yarn add @temple-wallet/everstake-wallet-sdk

or you can use pnpm

$ pnpm add @temple-wallet/everstake-wallet-sdk

Step. 2: Import Wallet SDK

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

Import ES6

// import modules
import { Ethereum } from '@temple-wallet/everstake-wallet-sdk';

// import needed functions
import { CreateToken, GetAssets } from '@temple-wallet/everstake-wallet-sdk';

Import ES5

// import modules
const { Ethereum, Solana } = require('@temple-wallet/everstake-wallet-sdk');

// import needed functions
const { CreateToken, GetAssets } = require('@temple-wallet/everstake-wallet-sdk');

Questions and Feedback

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

About

A fork of everstake/wallet-sdk that contains only EVM functionality and uses viem

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 98.9%
  • JavaScript 1.1%