Skip to content

chimera-defi/sharedstake-oracle

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 

Repository files navigation

sharedstake-oracle

Simple oracle for sharedstake v1 & v2

This is a simplified oracle written in JS using external APIs

It relies on a local file containing validator indices
Retrieved using ./prysm.sh validator accounts list --list-validator-indices on the eth2 server based on prysmaticlabs/prysm#8520 And the beacon chain api
Potentially usable for a dashboard on the site as well with minor modifications

Idea is to use this to calculate and verify the virtual price for eth rewards when the merge happens
You can run it locally and check the data using: node oracleScript.js

About

Simple oracle for sharedstake v1 & v2

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published