Skip to content

Latest commit

 

History

History
45 lines (29 loc) · 909 Bytes

File metadata and controls

45 lines (29 loc) · 909 Bytes

CWAR Token Staking

Staking pool based on Scalable Reward Distribution On The Ethereum Blockchain

Audit report by SmartState

Build Solana Program (compiled for BPF)

Run the following from the program/ subdirectory:

$ cd program
$ cargo build-bpf
$ cargo test-bpf

Build and use program interface for development

$ cd program/interface
$ npm pack

Copy tarball to your project

$ npm install /path/to/tarball

Run integration tests

Requires that you have solana-test-validator installed

$ ./test.sh

Directory structure

program

Solana staking program in Rust

program/interface

TS interface to interact with staking program