Skip to content

LStan/p-stake

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

31 Commits
 
 
 
 

Repository files navigation

p-stake

A pinocchio-based Stake program.

Overview

This repository contains a proof-of-concept of a reimplementation of the Stake program using pinocchio. The purpose is to have an implementation that optimizes the compute units, while being fully compatible with the original implementation - i.e., support the exact same instruction and account layouts as StakeState, byte for byte.

Features

  • no_std crate
  • Same instruction and account layout as StakeState
  • Minimal CU usage

Status

  • Instructions
  • Basic instruction tests
  • Existing Stake tests

Building

cd program
make build

Testing

cd program
make test

About

A pinocchio-based Stake program

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages