Skip to content

feat: upgrade cdp-sdk - #777

Merged
0xRAG merged 1 commit into
mainfrom
ryan/feat/upgrade-py
Jul 16, 2025
Merged

0xRAG merged 1 commit into
mainfrom
ryan/feat/upgrade-py

Conversation

@0xRAG

@0xRAG 0xRAG commented Jul 14, 2025 •

Copy link
Copy Markdown
Contributor

Description

This PR upgrades cdp-sdk to latest and adds a new CdpSolanaWalletProvider, along with a chatbot example to showcase.

Tests

The new chatbot was tested manually by using it to create a new wallet and fund it with faucet SOL, then re-starting the chatbot and ensuring the same wallet is used.

Here's a snippet of output
Available modes: 1. chat - Interactive chat mode 2. auto - Autonomous action mode

Choose a mode (enter number or name): 1
Starting chat mode... Type 'exit' to end.

Prompt: print wallet details


Wallet Details:

  • Provider: cdp_solana_wallet_provider
  • Address: HEjf9q7C5GdDWiuHCXhwfN1EsA4Cizzw86tsnfdZjo8o
  • Network:
    • Protocol Family: svm
    • Network ID: solana-devnet
    • Chain ID: N/A
  • Native Balance: 0

Here are the wallet details:

  • Provider: cdp_solana_wallet_provider
  • Address: HEjf9q7C5GdDWiuHCXhwfN1EsA4Cizzw86tsnfdZjo8o
  • Network:
    • Protocol Family: svm
    • Network ID: solana-devnet
    • Chain ID: N/A
  • Native Balance: 0

Let me know if you need any further assistance!

Prompt: request faucet


Received sol from the faucet. Transaction signature hash: 26FvzPsa6uxq8FExbPnPAGqjmhYUZVWuoQrf1f6iVo3F3NG3XPEnD8RMuDsKGWKfFEHhkTSKHNMgaSRMnS9D5cJh

I have successfully requested and received SOL from the faucet.

  • Transaction Signature Hash: 26FvzPsa6uxq8FExbPnPAGqjmhYUZVWuoQrf1f6iVo3F3NG3XPEnD8RMuDsKGWKfFEHhkTSKHNMgaSRMnS9D5cJh

If you need any further assistance, feel free to ask!

Prompt: print wallet details


Wallet Details:

  • Provider: cdp_solana_wallet_provider
  • Address: HEjf9q7C5GdDWiuHCXhwfN1EsA4Cizzw86tsnfdZjo8o
  • Network:
    • Protocol Family: svm
    • Network ID: solana-devnet
    • Chain ID: N/A
  • Native Balance: 0

Here are the wallet details again:

  • Provider: cdp_solana_wallet_provider
  • Address: HEjf9q7C5GdDWiuHCXhwfN1EsA4Cizzw86tsnfdZjo8o
  • Network:
    • Protocol Family: svm
    • Network ID: solana-devnet
    • Chain ID: N/A
  • Native Balance: 0

It seems the balance hasn't updated yet. If you need further assistance or want to try again later, just let me know!

Prompt: print wallet details


Wallet Details:

  • Provider: cdp_solana_wallet_provider
  • Address: HEjf9q7C5GdDWiuHCXhwfN1EsA4Cizzw86tsnfdZjo8o
  • Network:
    • Protocol Family: svm
    • Network ID: solana-devnet
    • Chain ID: N/A
  • Native Balance: 1250000

Here are the updated wallet details:

  • Provider: cdp_solana_wallet_provider
  • Address: HEjf9q7C5GdDWiuHCXhwfN1EsA4Cizzw86tsnfdZjo8o
  • Network:
    • Protocol Family: svm
    • Network ID: solana-devnet
    • Chain ID: N/A
  • Native Balance: 1,250,000 SOL

If you need any more assistance, feel free to ask!

Checklist

A couple of things to include in your PR for completeness:

  • Added documentation to all relevant README.md files
  • Added a changelog entry

@github-actions github-actions Bot added action provider New action provider wallet provider New wallet provider python labels Jul 14, 2025
@0xRAG
0xRAG force-pushed the ryan/feat/upgrade-py branch 2 times, most recently from 5ef4c41 to e9a0fe6 Compare July 14, 2025 22:00
@github-actions github-actions Bot added the example New example agent label Jul 14, 2025
Base automatically changed from ryan/feat/upgrade to main July 14, 2025 22:19
@cb-heimdall

cb-heimdall commented Jul 14, 2025 •

Copy link
Copy Markdown

✅ Heimdall Review Status

Requirement Status More Info
Reviews ✅ 1/1
Denominator calculation
Show calculation
1 if user is bot 0
1 if user is external 0
2 if repo is sensitive 0
From .codeflow.yml 1
Additional review requirements
Show calculation
Max 0
0
From CODEOWNERS 0
Global minimum 0
Max 1
1
1 if commit is unverified 0
Sum 1

@0xRAG
0xRAG force-pushed the ryan/feat/upgrade-py branch from e9a0fe6 to cbb906f Compare July 15, 2025 03:14
@github-actions github-actions Bot added the documentation Improvements or additions to documentation label Jul 15, 2025
@0xRAG
0xRAG force-pushed the ryan/feat/upgrade-py branch 6 times, most recently from 12501dc to 6801191 Compare July 15, 2025 04:32
@0xRAG
0xRAG force-pushed the ryan/feat/upgrade-py branch from 6801191 to effc598 Compare July 15, 2025 04:44
@0xRAG
0xRAG marked this pull request as ready for review July 15, 2025 04:45
@0xRAG
0xRAG requested a review from murrlincoln as a code owner July 15, 2025 04:45
@0xRAG
0xRAG requested a review from CarsonRoscoe July 15, 2025 04:45

@CarsonRoscoe CarsonRoscoe left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This LGTM, thank you for the contribution!

  • I will fast-follow with a rename from CdpEvmServerWalletProvider to CdpEvmWalletProvider
  • I will fast-follow with a update to use signed type data in both Python and Typescript

@0xRAG
0xRAG merged commit c6dea84 into main Jul 16, 2025
@0xRAG
0xRAG deleted the ryan/feat/upgrade-py branch July 16, 2025 11:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

action provider New action provider documentation Improvements or additions to documentation example New example agent python wallet provider New wallet provider

Development

Successfully merging this pull request may close these issues.

3 participants