Skip to content

AdrenaFoundation/MrSablierStaking

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

35 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MrSablierStaking

OpenSource GRPC rust client (Keeper) handling staking rounds resolution and auto claims.

See MrSablier for the staking related counterpart.

Build

$> cargo build $> cargo build --release

Run

$> RUST_LOG=debug ./target/debug/mrsablierstaking --endpoint https://adrena-solanam-6f0c.mainnet.rpcpool.com/ --x-token <> --commitment processed $> RUST_LOG=info ./target/debug/mrsablierstaking --endpoint https://adrena-solanam-6f0c.mainnet.rpcpool.com/ --x-token <> --commitment processed

Run as a service using Daemon

daemon --name=mrsablierstaking --output=/home/ubuntu/MrSablierStaking/logfile.log -- /home/ubuntu/MrSablierStaking/target/release/mrsablierstaking --payer-keypair /home/ubuntu/MrSablierStaking/mr_sablier.json --endpoint https://adrena-solanam-6f0c.mainnet.rpcpool.com/<> --x-token <> --commitment processed

Monitor Daemon logs

tail -f -n 100 ~/MrSablierStaking/logfile.log | tspin

Stop Daemon

daemon --name=mrsablierstaking --stop

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages