Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@solana/spl-stake-pool

Package Overview
Dependencies
Maintainers
15
Versions
15
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@solana/spl-stake-pool

SPL Stake Pool Program JS API

  • 1.1.5
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
1.2K
increased by66.95%
Maintainers
15
Weekly downloads
 
Created
Source

TypeScript bindings for stake-pool program

For use with both node.js and in-browser.

Installation

npm install

Build and run

In the js folder:

npm run build

The build is available at dist/index.js (or dist.browser/index.iife.js in the browser).

Browser bundle

<!-- Development (un-minified) -->
<script src="https://unpkg.com/@solana/spl-stake-pool@latest/dist.browser/index.iife.js"></script>

<!-- Production (minified) -->
<script src="https://unpkg.com/@solana/spl-stake-pool@latest/dist.browser/index.iife.min.js"></script>

Test

npm test

Usage

JavaScript

const solanaStakePool = require('@solana/spl-stake-pool');
console.log(solanaStakePool);

ES6

import * as solanaStakePool from '@solana/spl-stake-pool';
console.log(solanaStakePool);

Browser bundle

// `solanaStakePool` is provided in the global namespace by the script bundle.
console.log(solanaStakePool);

FAQs

Package last updated on 04 Jun 2024

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc