@pythnetwork/staking
TypeScript icon, indicating that this package has built-in type declarations

2.3.1 • Public • Published

Staking Program

This repository contains the Staking Program.

Prerequisites

Before you begin, ensure you have met the following requirements:

  • Node.js v16.13
  • Solana CLI v1.14.20
  • Anchor v0.27.0
  • Docker

Building the Project

You can create a verifiable build of the project by running the following command:

./scripts/build_verifiable_staking_program.sh

If you want to create a verifiable build for testing, use the -t option:

./scripts/build_verifiable_staking_program.sh -t

The result of the build will be target folder.

Clone the required programs

To clone the governance and chat programs from the Devnet environment, execute the following command:

npm run dump_governance

Run tests

To run the tests locally use the following command:

npm run test

To run the tests with verifiable builds:

npm run test:ci

Readme

Keywords

none

Package Sidebar

Install

npm i @pythnetwork/staking

Weekly Downloads

5

Version

2.3.1

License

MIT

Unpacked Size

481 kB

Total Files

34

Last publish

Collaborators

  • marc.pyth
  • jayantk2
  • pythrelease
  • cprussin