Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: ojo-network/turbine-py-client
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v0.1.15
Choose a base ref
...
head repository: ojo-network/turbine-py-client
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v0.1.16
Choose a head ref
  • 1 commit
  • 9 files changed
  • 1 contributor

Commits on Feb 22, 2026

  1. feat: remove all direct RPC calls, route through Turbine API (#30)

    * feat: remove all direct RPC calls, route through Turbine API
    
    Eliminates the SDK's dependency on direct blockchain RPC connections.
    All on-chain queries now route through the Turbine API.
    
    Changes:
    - _get_contract_nonce() → GET /contracts/nonce/:contract/:owner
    - get_usdc_balance() → GET /users/:address/balances
    - get_usdc_allowance() → GET /users/:address/balances
    - approve_usdc() → gasless permit via POST /relayer/usdc-permit
    - claim_winnings() → GET /users/:address/claim-data + sign + POST /relayer/ctf-redemption
    - batch_claim_winnings() → same pattern, batched
    - discover_positions() → GET /users/:address/claimable (replaces Multicall3)
    - Removed hardcoded Ankr RPC key from discovery.py
    - Removed web3 from required dependencies
    
    All method signatures remain backward compatible. The SDK no longer
    requires any RPC URL or web3 connection.
    
    Requires: ojo-network/turbine-clob#241 (new API endpoints)
    
    * docs: update all docs to reflect API-only SDK (no RPC/web3)
    
    - CLAUDE.md: added API-only description, updated approve_usdc to return dict,
      updated Gasless concept, added API routing details under the hood
    - create-bot/SKILL.md: updated gasless approval pattern
    - create-liquidity-bot/SKILL.md: updated gasless approval pattern
    - setup/SKILL.md: noted API-only in env var description
    - README.md: added API-only overview, no RPC note in credentials
    - docs/onboarding.md: reinforced no RPC/web3 needed
    ten-nex authored Feb 22, 2026
    Configuration menu
    Copy the full SHA
    bc0bbf1 View commit details
    Browse the repository at this point in the history
Loading