Overview
This guide shows you how to work with imported EVM wallets for common operations. Once you’ve imported a private key, you’ll need to retrieve key shares and perform various wallet operations.Prerequisites
Step 1: Retrieve Your Wallet Information
After importing a wallet, you’ll need to get the external server key shares for signing operations:Step 2: Check Wallet Balance
Check the balance of your imported wallet:Step 3: Sign Transactions with Imported Wallet
Use your imported wallet to sign transactions:Step 4: Sign Messages with Imported Wallet
Sign messages for authentication or data integrity:Step 5: Verify Wallet Operations
Verify that your imported wallet can perform operations:Complete Example: Send ETH from Imported Wallet
Best Practices
- Key Share Management: Always retrieve fresh key shares before operations
- Balance Checking: Verify sufficient balance before sending transactions
- Password Handling: Check if password is required and handle accordingly
- Error Handling: Implement proper error handling for all wallet operations
- Security: Never expose key shares in client-side code
- If your imported wallet was created without a password, omit the
password
parameter - If your imported wallet was created with a password, you must provide it for all operations
- The password parameter is always optional in the API, but required if the wallet is password-protected