Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions embedded-wallets/dashboard/advanced/key-export.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ Private key export functionality allows applications to retrieve users' private

**Programmatic Export (Configurable):**

- Access via `eth_private_key` JSON-RPC method
- Access via `private_key` JSON-RPC method
- Requires explicit user consent
- Can be enabled/disabled per project
- Controlled through dashboard settings
Expand Down Expand Up @@ -70,7 +70,7 @@ if ((await web3auth.status) !== 'connected') {
// Request private key (requires user consent)
try {
const privateKey = await web3auth.provider.request({
method: 'eth_private_key',
method: 'private_key',
})

// Handle the private key securely
Expand Down Expand Up @@ -99,7 +99,7 @@ class SecureKeyManager {

// Retrieve private key
const privateKey = await web3auth.provider.request({
method: 'eth_private_key',
method: 'private_key',
})

// Process key securely (encrypt, transmit, etc.)
Expand Down
Loading
Loading