Tip Claiming

Scan timestamps for Autopay tips

git clone https://github.com/SignumOracle/timestamps-tip-scanner.git

Steps:

python3 -m venv venv
source venv/bin/activate
pip install -e .

pre-requisite

# register address to keyfile, if you have already created
# an account with Telliot, you can skip this step.
chained add <choose-acct-name> <private-key>

First scan oracle for your reports, you can update the start-block to a known block after your last claims:

Linux:

scanner scan 369 -a PulsechainAccount --start-block 21610542

Windows:

python /mnt/your/path/to/tenv/bin/scanner scan 369 -a PulsechainAccount --start-block 21610542

Then, to claim tips:

  • one time tips:

Linux:

scanner claim-one-time-tip 369 -a PulsechainAccount

Windows:

python /mnt/your/path/to/tenv/bin/scanner claim-one-time-tip 369 -a PulsechainAccount
  • feed tips:

Linux:

scanner claim-tip 369 -a PulsechainAccount

Windows:

python /mnt/your/path/to/tenv/bin/scanner claim-tip 369 -a PulsechainAccount

Supported Networks:

  • 369 (pulsechain)

API

uvicorn timestamps_tip_scanner.api.main:app --reload

Enpoints

/reports/{chain_id}?address={address}&starting_block={starting_block}
/feed_tips/{chain_id}?address={address}
/tips/{chain_id}?address={address}

⚠️ Disclaimer - Code hasn't been fully tested so use at own risk!

Last updated