Saipher is an adaptive governance framework that adjusts a protocol's governance policy on-the-fly based on real-time conditions of a protocol under its care. The goal is to build a modular, extensible, and upgradeable governance to make it easier for a protocol to scale its governance to its growing needs.
The project is being developed as a Proof-of-Concept by extending the Solana Program Library (SPL) Governance program through a plugin program that showcases the feasibility of the concept.
A special test runner is provided to run the tests for the Saipher SPL Governance Plugin. This is needed to work around
a bug in solana-test-validator
for upgradeable genesis programs.
Important
tmux is needed to run the test runner.
Warning
Make sure your Solana CLI is connected to the local cluster (localhost) before running the test runner.
./tests/run-tests.sh
The SPL Governance Plugin Proof-of-Concept is in saipher/programs/conditional-plugin.
Devnet Deployment: 7uRFnRte9TRyEdB2wzStZeA4ZrWei1tGrCNF7zcvwC1Z
blake2b-solidity is a high-performance Solidity implementation of the BLAKE2b hash function for the Ethereum Virtual Machine (EVM). It is currently the cheapest and fastest implementation of BLAKE2b for the EVM, using only 14% more gas than the native Keccak-256 hash function. It is also the only blake2b-solidity implementation that implements all the commonly used extensions of the BLAKE2b hash function, including the ability to specify personalization hash, salting, and keying.
L2X is a high performance, trustless exchange protocol that enables the creation of decentralized exchanges (DEXs) with the same performance as centralized exchanges (CEXs). It is a very early app-specific, optimistic rollup design.