Steps:
python3 -m venv venv
source venv/bin/activate
pip install -e .
pre-requisite
# register address to keyfile
chained add <choose-acct-name> <private-key>
First scan oracle for your reports:
scanner scan <chain-id> -a <acct-name> --start-block <block-number>
Then, to claim tips:
- one time tips:
scanner claim-one-time-tip <chain-id> <acct-name>
- feed tips:
scanner claim-tip <chain-id> -a <acct-name>
- 137 (polygon)
- 80001 (mumbai)
uvicorn timestamps_tip_scanner.api.main:app --reload
/reports/{chain_id}?address={address}&starting_block={starting_block}
/feed_tips/{chain_id}?address={address}
/tips/{chain_id}?address={address}