Skip to content

Instantly share code, notes, and snippets.

View justlstn's full-sized avatar
👨‍💻
Write some code. Sometimes it works

Slava justlstn

👨‍💻
Write some code. Sometimes it works
View GitHub Profile
@justlstn
justlstn / dashboard.sh
Created September 7, 2022 21:12
[AIT] Check Aptos successful/failed proposals & rewards for each epoch
#/bin/sh
MAIN_ADDR="<main_account_addr>"
DATA_SOURCE="https://aptos-analytics-data-it3.s3.us-west-2.amazonaws.com/validator_epoch_history.json"
echo "Awaiting response... \n"
curl -s $DATA_SOURCE \
| jq -c "map ( select ( .validator_addr == \"$MAIN_ADDR\" ) )" \
| jq -r '"EPOCH\tFAILED\tSUCCESS\tEARNED_REWARDS\tMAX_REWARDS", "-----\t------\t-------\t--------------\t-----------", (.[] | "\(.epoch)\t\(.failed_proposal_count)\t\(.successful_proposal_count)\t\(.rewards_earned)\t\(.max_potential_reward)")'
@justlstn
justlstn / aptos-oidb-zk-ceremony_attestation.log
Created February 22, 2024 17:11
Attestation for aptos-oidb-zk-ceremony MPC Phase 2 Trusted Setup ceremony
Hey, I'm justlstn-10776006 and I have contributed to the aptos-oidb-zk-ceremony.
The following are my contribution signatures:
Circuit # 1 (main)
Contributor # 20
Contribution Hash: 6c3ab584 a1f6d8f8 b54b8706 60a82691
1bf1f6d6 cb58815c 1362e23b cbd208ea
9f0f11e7 02f61791 90db3bc9 2d4a8ea2
81eebd19 c30e0eb2 1a9930bf 42c53cfc