@solana/spl-stake-pool
TypeScript icon, indicating that this package has built-in type declarations

1.1.2 • Public • Published

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);

Readme

Keywords

none

Package Sidebar

Install

npm i @solana/spl-stake-pool

Homepage

solana.com

Weekly Downloads

677

Version

1.1.2

License

ISC

Unpacked Size

7.02 MB

Total Files

33

Last publish

Collaborators

  • mcintyre94
  • 2501babe
  • lorisleiva
  • buffalojoec
  • ngundotra
  • _chido
  • steveluscher
  • sebastianbor
  • seanyoung
  • mvines
  • tyera
  • joncinque
  • ryoqun
  • trent-solana
  • jordansexton