You can use two different options to implement staking for Everstake validator.
You can use REST API to call methods which are described in Swagger with detailed examples
https://wallet-sdk-api.everstake.one
You can install and import Wallet SDK for Javascript.
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
After installing the app, you can import module of needed blockchain (Ethereum, Aptos, Solana, Cosmos, Polygon are available) and use the SDK:
// 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 module
const { Solana } = require("@everstake/wallet-sdk");
// or you can also use
const { getDelegations } = require("@everstake/wallet-sdk/solana");
If you have any questions, issues, or feedback, please file an issue on GitHub.