OpenSource GRPC rust client (Keeper) handling staking rounds resolution and auto claims.
See MrSablier for the staking related counterpart.
$> cargo build
$> cargo build --release
$> 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
tail -f -n 100 ~/MrSablierStaking/logfile.log | tspin
daemon --name=mrsablierstaking --stop