Skip to content

feat(typescript): Export EVM and Solana accounts #189

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 18 commits into from
Jun 12, 2025
Merged

Conversation

sddioulde
Copy link
Contributor

@sddioulde sddioulde commented Jun 10, 2025

Description

This PR adds the ability to export EVM and Solana accounts.

EVM export by name:

await cdp.evm.exportAccount({
  name: 'MyAccount'
});

EVM export by address:

await cdp.evm.exportAccount({
  address: '0x123'
});

Solana export by name:

await cdp.solana.exportAccount({
  name: 'MyAccount'
});

Solana export by address:

await cdp.solana.exportAccount({
  address: 'Abc'
});

Tests

Added unit and e2e tests and examples.

Checklist

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

@cb-heimdall
Copy link

cb-heimdall commented Jun 10, 2025

✅ 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

@sddioulde sddioulde force-pushed the feat/ts/export branch 3 times, most recently from a7a5e2e to e252576 Compare June 10, 2025 16:11
@sddioulde sddioulde marked this pull request as ready for review June 10, 2025 22:23
@sddioulde sddioulde requested review from 0xRAG and jazz-cb June 10, 2025 22:48
@sddioulde sddioulde requested a review from jazz-cb June 11, 2025 16:24
@sddioulde sddioulde force-pushed the feat/ts/export branch 2 times, most recently from 8dd2ed2 to 9e8b3b7 Compare June 11, 2025 22:47
@sddioulde sddioulde requested a review from jazz-cb June 12, 2025 15:27
@sddioulde sddioulde requested review from 0xRAG and jazz-cb June 12, 2025 20:26
@sddioulde sddioulde merged commit 8f829cd into main Jun 12, 2025
28 of 31 checks passed
@sddioulde sddioulde deleted the feat/ts/export branch June 12, 2025 21:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

4 participants