Activates wallet

CLI Example

Command syntax:

wallet activate 
-w <wallet_name> 
-password <password> 
[-ttl <password_ttl_in_minutes>]

Options:

-w - name of the wallet 
-password - wallet password
-ttl - (time to live) parameter which defines activation time in minutes (optional)

Example:

Command:

cellframe-node-cli wallet activate 
-w personalwallet 
-password 1234

Response:

Wallet personalwallet is activated

JSON-RPC Example

Command:

curl -X POST http://rpc.cellframe.net/connect -d '{"method":"wallet", "params":["wallet;activate;-w;mywallet;-password;12345"], "id":"1"}'

Response:


"type": 0,
"result": "Wallet mywallet is activated\n",
"errors": null,
"id": 1
}