Importwallet
importwallet
Imports keys from a wallet dump file (see dumpwallet). Requires a new wallet backup to include imported keys.
Arguments
| Position | Name | Type | Required | Default | Description |
|---|---|---|---|---|---|
Result
null (json null)
Examples
Dump the wallet
raptoreum-cli dumpwallet "test"
Import the wallet
raptoreum-cli importwallet "test"
Import using the json rpc call
curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "importwallet", "params": ["test"] }' -H 'content-type: text/plain;' http://127.0.0.1:10225/