Package: dexie-rewards
Auto-Claim dexie rewardsdexie-rewards is a Python CLI helper tool designed to automatically claimdexie liquidity rewardsfor offers created using the official Chia Wallet. The tool communicates locally with the Chia Wallet RPC, requests all created offers, and checks them for claimable rewards.When rewards are claimed, a message from the input (maker) address of the offer is signed to prove ownership of the offer. The signature is then sent to dexie to claim the rewards. dexie distributes claimed rewards to the input (maker) address in batches approximately every 15 minutes.Example Output❯ dexie rewards claim
Found 6 offers with rewards
╭──────────────────────────────────────────────┬─────────┬─────╮
│                   Offer ID                   │ Rewards │ CAT │
├──────────────────────────────────────────────┼─────────┼─────┤
│ 8Ya1mwC7Z8S4RhKhuJjKPH6mQVksz4Hah8JsZ5NjaBYY │   0.494 │ DBX │
│ BZFXcbJM7oSMz9RatJpMBSD1Hmj4JWXHJE7DCBXDV8mJ │  21.854 │ DBX │
│ CbdGX5KUHnHLbX8VSFPKTDcbK87NKUtQTQaFxtYQvnPG │   7.810 │ DBX │
│ 8GpFJ8o6pVthTKmzimKxTTg8vT6sPFm44xz3nXNUMtbG │   4.197 │ DBX │
│ 4mhTGao7SDTCsgZknLDhaboE9xBhkB56ZoWVyMzpA51E │  10.831 │ DBX │
│ 3BWdysASaDMN2sCnB9S9tBtc7nUeC3Ys7ZW3aX6xpEZu │   9.806 │ HOA │
╰──────────────────────────────────────────────┴─────────┴─────╯
Claim all? [y/n]:InstallingIt is recommended to install dexie-rewards using pip.Install via pippipinstalldexie-rewardsNote for macOS: Ifpipis not found, trypip3instead.Install from the repository (optional)Clone the repositorygitclonegit@github.com:dexie-space/dexie-rewards.gitcd./dexie-rewards/Activate Poetry ShellpoetryshellInstall Dexie CLIpoetryinstallConfiguration (optional)In most cases the default configuration should be sufficient. However, if you want to use specific endpoints and paths, you can set the following environment variables:exportCHIA_ROOT="~/.chia/mainnet"exportDEXIE_URL="https://dexie.space"exportDEXIE_API_URL="https://api.dexie.space/v1/"exportDEXIE_DB_PATH="/dexie_db"Available CommandsMake sure that your Chia wallet is running and fully synced before using dexie-rewards. A full node is not required.Run any command with the--helpoption to see all available functionality.List offers with outstanding (claimable) rewards❯ dexie rewards list

  --fingerprint  -f        Set the fingerprint to specify which wallet to use
  --json         -j        Displays offers as JSON
  --verbose      -v        Display verbose output
  --help                   Show help and exitClaim all outstanding (claimable) rewards❯ dexie rewards claim

  --fingerprint     -f        Set the fingerprint to specify which wallet to use
  --verify-only     -vo       Only verify the claim, don't actually claim
  --yes             -y        Skip claim confirmation
  --verbose         -v        Display verbose output
  --target          -t        Specify a target address to claim rewards to
  --completed-only  -co       Only claim rewards for completed and cancelled offers
  --help                      Show help and exitTroubleshootingIf you encounter any issues, follow these steps to help identify and resolve them:Check your Python version: Ensure you are using Python 3.10 or later, as older versions are not supported.Update packages: Update both dexie-rewards and its dependencies by runningpip install --upgrade dexie-rewards.Verify configuration: Double-check the environment variables (if set) to ensure they are correct.Enable verbose output: Use the-vor--verboseoption with the relevant command to get more detailed output, which can help pinpoint the issue.Check for known issues: Review theissue trackerto see if the problem you are experiencing has been reported and if there is a potential solution or workaround.Report a new issue: If you can't find a solution in the issue tracker, create a new issue, providing all relevant information and steps to reproduce the problem. This will help us to address the issue and improve the tool.Seek community support: Visit thedexie Discord communityfor assistance, as other users may have encountered similar issues and can share their solutions or workarounds.AlternativesAdvanced market makers may develop their own tools for claiming liquidity rewards. Refer to thedexie API documentationfor information on how to claim rewards for offers using the API.ContributionsContributions are welcome and encouraged. Please fork the repository and submit a pull request to themainbranch. If you have any questions, feel free to reach out to us onDiscord.