@symbioticfi/hooks

Symbiotic Hooks repository contains several basic on-slash hook implementations for different delegator types.


Keywords
solidity, ethereum, smart, contracts, security, hook, smart-contracts
License
MIT
Install
npm install @symbioticfi/hooks@1.0.0-devnet.1

Documentation

⚠️ Disclaimer: This code is NOT intended for a production use.

Symbiotic Protocol is an extremely flexible and permissionless shared security system.

This repository contains default on-slash hooks.

Technical Documentation

Can be found here.

Usage

Env

Create .env file using a template:

ETH_RPC_URL=
ETHERSCAN_API_KEY=

* ETH_RPC_URL is optional.

* ETHERSCAN_API_KEY is optional.

Build

forge build

Test

forge test

Format

forge fmt

Gas Snapshots

forge snapshot