loadWallet
Load and configure Ethereum wallets on the MCP Ethers Wallet server by providing a private key. Optionally save the key to session environment variables for streamlined interactions.
Input Schema
Name | Required | Description | Default |
---|---|---|---|
privateKey | Yes | The private key of the wallet to load. Should start with '0x'. | |
saveToEnv | No | Optional. If true, the private key will be saved to the server's environment variables for this session. Default is true. |
Input Schema (JSON Schema)
{
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"properties": {
"privateKey": {
"description": "The private key of the wallet to load. Should start with '0x'.",
"type": "string"
},
"saveToEnv": {
"description": "Optional. If true, the private key will be saved to the server's environment variables for this session. Default is true.",
"type": "boolean"
}
},
"required": [
"privateKey"
],
"type": "object"
}